Index: src/compiler/machine-operator-reducer.cc |
diff --git a/src/compiler/machine-operator-reducer.cc b/src/compiler/machine-operator-reducer.cc |
index b5748b2a1a1a551e8e572badffa502f6eb29a750..a93713824dc2bf387aefc22f1eaaebffeff1b080 100644 |
--- a/src/compiler/machine-operator-reducer.cc |
+++ b/src/compiler/machine-operator-reducer.cc |
@@ -367,11 +367,36 @@ Reduction MachineOperatorReducer::Reduce(Node* node) { |
} |
break; |
} |
+ case IrOpcode::kFloat64Acos: { |
+ Float64Matcher m(node->InputAt(0)); |
+ if (m.HasValue()) return ReplaceFloat64(base::ieee754::acos(m.Value())); |
+ break; |
+ } |
+ case IrOpcode::kFloat64Acosh: { |
+ Float64Matcher m(node->InputAt(0)); |
+ if (m.HasValue()) return ReplaceFloat64(base::ieee754::acosh(m.Value())); |
+ break; |
+ } |
+ case IrOpcode::kFloat64Asin: { |
+ Float64Matcher m(node->InputAt(0)); |
+ if (m.HasValue()) return ReplaceFloat64(base::ieee754::asin(m.Value())); |
+ break; |
+ } |
+ case IrOpcode::kFloat64Asinh: { |
+ Float64Matcher m(node->InputAt(0)); |
+ if (m.HasValue()) return ReplaceFloat64(base::ieee754::asinh(m.Value())); |
+ break; |
+ } |
case IrOpcode::kFloat64Atan: { |
Float64Matcher m(node->InputAt(0)); |
if (m.HasValue()) return ReplaceFloat64(base::ieee754::atan(m.Value())); |
break; |
} |
+ case IrOpcode::kFloat64Atanh: { |
+ Float64Matcher m(node->InputAt(0)); |
+ if (m.HasValue()) return ReplaceFloat64(base::ieee754::atanh(m.Value())); |
+ break; |
+ } |
case IrOpcode::kFloat64Atan2: { |
Float64BinopMatcher m(node); |
if (m.right().IsNaN()) { |
@@ -386,11 +411,6 @@ Reduction MachineOperatorReducer::Reduce(Node* node) { |
} |
break; |
} |
- case IrOpcode::kFloat64Atanh: { |
- Float64Matcher m(node->InputAt(0)); |
- if (m.HasValue()) return ReplaceFloat64(base::ieee754::atanh(m.Value())); |
- break; |
- } |
case IrOpcode::kFloat64Cbrt: { |
Float64Matcher m(node->InputAt(0)); |
if (m.HasValue()) return ReplaceFloat64(base::ieee754::cbrt(m.Value())); |