Index: src/x64/assembler-x64.cc |
=================================================================== |
--- src/x64/assembler-x64.cc (revision 3112) |
+++ src/x64/assembler-x64.cc (working copy) |
@@ -574,11 +574,11 @@ |
emit(src.value_); |
} else if (dst.is(rax)) { |
emit(0x05 | (subcode << 3)); |
- emitl(src.value_); |
+ emitw(src.value_); |
} else { |
emit(0x81); |
emit_modrm(subcode, dst); |
- emitl(src.value_); |
+ emitw(src.value_); |
} |
} |
@@ -597,7 +597,7 @@ |
} else { |
emit(0x81); |
emit_operand(subcode, dst); |
- emitl(src.value_); |
+ emitw(src.value_); |
} |
} |
@@ -2229,6 +2229,14 @@ |
} |
+void Assembler::fucomi(int i) { |
+ EnsureSpace ensure_space(this); |
+ last_pc_ = pc_; |
+ emit(0xDB); |
+ emit(0xE8 + i); |
+} |
+ |
+ |
void Assembler::fucomip() { |
EnsureSpace ensure_space(this); |
last_pc_ = pc_; |