Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index e0ae0066552125a938aa1ef1253ffad967339d6b..b3d054ee9b14ccdbea1e1584894b5dac9fcedebb 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -1771,12 +1771,24 @@ void Assembler::fadd(int i) { |
} |
+void Assembler::fadd_i(int i) { |
+ EnsureSpace ensure_space(this); |
+ emit_farith(0xD8, 0xC0, i); |
+} |
+ |
+ |
void Assembler::fsub(int i) { |
EnsureSpace ensure_space(this); |
emit_farith(0xDC, 0xE8, i); |
} |
+void Assembler::fsub_i(int i) { |
+ EnsureSpace ensure_space(this); |
+ emit_farith(0xD8, 0xE0, i); |
+} |
+ |
+ |
void Assembler::fisub_s(const Operand& adr) { |
EnsureSpace ensure_space(this); |
EMIT(0xDA); |
@@ -1802,6 +1814,12 @@ void Assembler::fdiv(int i) { |
} |
+void Assembler::fdiv_i(int i) { |
+ EnsureSpace ensure_space(this); |
+ emit_farith(0xD8, 0xF0, i); |
+} |
+ |
+ |
void Assembler::faddp(int i) { |
EnsureSpace ensure_space(this); |
emit_farith(0xDE, 0xC0, i); |