Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index 60b525f1c8ff9e38a35b5ba9c2236e406efc2728..e0ae0066552125a938aa1ef1253ffad967339d6b 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -65,7 +65,7 @@ int IntelDoubleRegister::NumAllocatableRegisters() { |
if (CpuFeatures::IsSupported(SSE2)) { |
return XMMRegister::kNumAllocatableRegisters; |
} else { |
- return X87TopOfStackRegister::kNumAllocatableRegisters; |
+ return X87Register::kNumAllocatableRegisters; |
} |
} |
@@ -74,7 +74,7 @@ int IntelDoubleRegister::NumRegisters() { |
if (CpuFeatures::IsSupported(SSE2)) { |
return XMMRegister::kNumRegisters; |
} else { |
- return X87TopOfStackRegister::kNumRegisters; |
+ return X87Register::kNumRegisters; |
} |
} |
@@ -83,7 +83,7 @@ const char* IntelDoubleRegister::AllocationIndexToString(int index) { |
if (CpuFeatures::IsSupported(SSE2)) { |
return XMMRegister::AllocationIndexToString(index); |
} else { |
- return X87TopOfStackRegister::AllocationIndexToString(index); |
+ return X87Register::AllocationIndexToString(index); |
} |
} |
@@ -1784,6 +1784,12 @@ void Assembler::fisub_s(const Operand& adr) { |
} |
+void Assembler::fmul_i(int i) { |
+ EnsureSpace ensure_space(this); |
+ emit_farith(0xD8, 0xC8, i); |
+} |
+ |
+ |
void Assembler::fmul(int i) { |
EnsureSpace ensure_space(this); |
emit_farith(0xDC, 0xC8, i); |