Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index 733432028af7d1fec81f39186e3d106f22ef044e..48f0f13550df372d5c18a95e928d57460ce6996a 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -1259,6 +1259,14 @@ void Assembler::bts(const Operand& dst, Register src) { |
} |
+void Assembler::bsr(Register dst, const Operand& src) { |
+ EnsureSpace ensure_space(this); |
+ EMIT(0x0F); |
+ EMIT(0xBD); |
+ emit_operand(dst, src); |
+} |
+ |
+ |
void Assembler::hlt() { |
EnsureSpace ensure_space(this); |
EMIT(0xF4); |