Index: test/cctest/compiler/test-run-machops.cc |
diff --git a/test/cctest/compiler/test-run-machops.cc b/test/cctest/compiler/test-run-machops.cc |
index 147bc85418f409fc3b6a04ae1cf46b9089520919..6b8d22c5545bcccff697b87c3041bfa99984f77d 100644 |
--- a/test/cctest/compiler/test-run-machops.cc |
+++ b/test/cctest/compiler/test-run-machops.cc |
@@ -4950,7 +4950,7 @@ TEST(RunFloat32Abs) { |
float input = -1.0; |
float result = 0.0; |
RawMachineAssemblerTester<int32_t> m; |
- if (!m.machine()->HasFloat32Abs()) return; |
+ if (!m.machine()->Float32Abs().supported()) return; |
m.StoreToPointer(&result, kMachFloat32, |
m.Float32Abs(m.LoadFromPointer(&input, kMachFloat32))); |
m.Return(m.Int32Constant(0)); |
@@ -4967,7 +4967,7 @@ TEST(RunFloat64Abs) { |
double input = -1.0; |
double result = 0.0; |
RawMachineAssemblerTester<int32_t> m; |
- if (!m.machine()->HasFloat64Abs()) return; |
+ if (!m.machine()->Float64Abs().supported()) return; |
m.StoreToPointer(&result, kMachFloat64, |
m.Float64Abs(m.LoadFromPointer(&input, kMachFloat64))); |
m.Return(m.Int32Constant(0)); |
@@ -5082,7 +5082,7 @@ TEST(RunFloat64RoundDown1) { |
double input = -1.0; |
double result = 0.0; |
RawMachineAssemblerTester<int32_t> m; |
- if (!m.machine()->HasFloat64RoundDown()) return; |
+ if (!m.machine()->Float64RoundDown().supported()) return; |
m.StoreToPointer(&result, kMachFloat64, |
m.Float64RoundDown(m.LoadFromPointer(&input, kMachFloat64))); |
m.Return(m.Int32Constant(0)); |
@@ -5099,7 +5099,7 @@ TEST(RunFloat64RoundDown2) { |
double input = -1.0; |
double result = 0.0; |
RawMachineAssemblerTester<int32_t> m; |
- if (!m.machine()->HasFloat64RoundDown()) return; |
+ if (!m.machine()->Float64RoundDown().supported()) return; |
m.StoreToPointer(&result, kMachFloat64, |
m.Float64Sub(m.Float64Constant(-0.0), |
m.Float64RoundDown(m.Float64Sub( |
@@ -5119,7 +5119,7 @@ TEST(RunFloat64RoundTruncate) { |
double input = -1.0; |
double result = 0.0; |
RawMachineAssemblerTester<int32_t> m; |
- if (!m.machine()->HasFloat64RoundTruncate()) return; |
+ if (!m.machine()->Float64RoundTruncate().supported()) return; |
m.StoreToPointer( |
&result, kMachFloat64, |
m.Float64RoundTruncate(m.LoadFromPointer(&input, kMachFloat64))); |
@@ -5137,7 +5137,7 @@ TEST(RunFloat64RoundTiesAway) { |
double input = -1.0; |
double result = 0.0; |
RawMachineAssemblerTester<int32_t> m; |
- if (!m.machine()->HasFloat64RoundTiesAway()) return; |
+ if (!m.machine()->Float64RoundTiesAway().supported()) return; |
m.StoreToPointer( |
&result, kMachFloat64, |
m.Float64RoundTiesAway(m.LoadFromPointer(&input, kMachFloat64))); |