| Index: src/ia32/assembler-ia32.cc
|
| diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc
|
| index 7bb643a16d59eeea0192f53183709f69a3b6fd9b..f053acadc3dd186cda95f4842d859dc6d9c60486 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);
|
| }
|
| }
|
|
|
| @@ -1782,6 +1782,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);
|
|
|