OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/compiler/instruction-selector.h" | 5 #include "src/compiler/instruction-selector.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "src/base/adapters.h" | 9 #include "src/base/adapters.h" |
10 #include "src/compiler/instruction-selector-impl.h" | 10 #include "src/compiler/instruction-selector-impl.h" |
(...skipping 1120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1131 case IrOpcode::kFloat64Min: | 1131 case IrOpcode::kFloat64Min: |
1132 return MarkAsFloat64(node), VisitFloat64Min(node); | 1132 return MarkAsFloat64(node), VisitFloat64Min(node); |
1133 case IrOpcode::kFloat64Max: | 1133 case IrOpcode::kFloat64Max: |
1134 return MarkAsFloat64(node), VisitFloat64Max(node); | 1134 return MarkAsFloat64(node), VisitFloat64Max(node); |
1135 case IrOpcode::kFloat64Abs: | 1135 case IrOpcode::kFloat64Abs: |
1136 return MarkAsFloat64(node), VisitFloat64Abs(node); | 1136 return MarkAsFloat64(node), VisitFloat64Abs(node); |
1137 case IrOpcode::kFloat64Atan: | 1137 case IrOpcode::kFloat64Atan: |
1138 return MarkAsFloat64(node), VisitFloat64Atan(node); | 1138 return MarkAsFloat64(node), VisitFloat64Atan(node); |
1139 case IrOpcode::kFloat64Atan2: | 1139 case IrOpcode::kFloat64Atan2: |
1140 return MarkAsFloat64(node), VisitFloat64Atan2(node); | 1140 return MarkAsFloat64(node), VisitFloat64Atan2(node); |
| 1141 case IrOpcode::kFloat64Exp: |
| 1142 return MarkAsFloat64(node), VisitFloat64Exp(node); |
1141 case IrOpcode::kFloat64Log: | 1143 case IrOpcode::kFloat64Log: |
1142 return MarkAsFloat64(node), VisitFloat64Log(node); | 1144 return MarkAsFloat64(node), VisitFloat64Log(node); |
1143 case IrOpcode::kFloat64Log1p: | 1145 case IrOpcode::kFloat64Log1p: |
1144 return MarkAsFloat64(node), VisitFloat64Log1p(node); | 1146 return MarkAsFloat64(node), VisitFloat64Log1p(node); |
1145 case IrOpcode::kFloat64Log2: | 1147 case IrOpcode::kFloat64Log2: |
1146 return MarkAsFloat64(node), VisitFloat64Log2(node); | 1148 return MarkAsFloat64(node), VisitFloat64Log2(node); |
1147 case IrOpcode::kFloat64Log10: | 1149 case IrOpcode::kFloat64Log10: |
1148 return MarkAsFloat64(node), VisitFloat64Log10(node); | 1150 return MarkAsFloat64(node), VisitFloat64Log10(node); |
1149 case IrOpcode::kFloat64Sqrt: | 1151 case IrOpcode::kFloat64Sqrt: |
1150 return MarkAsFloat64(node), VisitFloat64Sqrt(node); | 1152 return MarkAsFloat64(node), VisitFloat64Sqrt(node); |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1252 } | 1254 } |
1253 | 1255 |
1254 void InstructionSelector::VisitFloat64Atan(Node* node) { | 1256 void InstructionSelector::VisitFloat64Atan(Node* node) { |
1255 VisitFloat64Ieee754Unop(node, kIeee754Float64Atan); | 1257 VisitFloat64Ieee754Unop(node, kIeee754Float64Atan); |
1256 } | 1258 } |
1257 | 1259 |
1258 void InstructionSelector::VisitFloat64Atan2(Node* node) { | 1260 void InstructionSelector::VisitFloat64Atan2(Node* node) { |
1259 VisitFloat64Ieee754Binop(node, kIeee754Float64Atan2); | 1261 VisitFloat64Ieee754Binop(node, kIeee754Float64Atan2); |
1260 } | 1262 } |
1261 | 1263 |
| 1264 void InstructionSelector::VisitFloat64Exp(Node* node) { |
| 1265 VisitFloat64Ieee754Unop(node, kIeee754Float64Exp); |
| 1266 } |
| 1267 |
1262 void InstructionSelector::VisitFloat64Log(Node* node) { | 1268 void InstructionSelector::VisitFloat64Log(Node* node) { |
1263 VisitFloat64Ieee754Unop(node, kIeee754Float64Log); | 1269 VisitFloat64Ieee754Unop(node, kIeee754Float64Log); |
1264 } | 1270 } |
1265 | 1271 |
1266 void InstructionSelector::VisitFloat64Log1p(Node* node) { | 1272 void InstructionSelector::VisitFloat64Log1p(Node* node) { |
1267 VisitFloat64Ieee754Unop(node, kIeee754Float64Log1p); | 1273 VisitFloat64Ieee754Unop(node, kIeee754Float64Log1p); |
1268 } | 1274 } |
1269 | 1275 |
1270 void InstructionSelector::VisitFloat64Log2(Node* node) { | 1276 void InstructionSelector::VisitFloat64Log2(Node* node) { |
1271 VisitFloat64Ieee754Unop(node, kIeee754Float64Log2); | 1277 VisitFloat64Ieee754Unop(node, kIeee754Float64Log2); |
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1889 return new (instruction_zone()) FrameStateDescriptor( | 1895 return new (instruction_zone()) FrameStateDescriptor( |
1890 instruction_zone(), state_info.type(), state_info.bailout_id(), | 1896 instruction_zone(), state_info.type(), state_info.bailout_id(), |
1891 state_info.state_combine(), parameters, locals, stack, | 1897 state_info.state_combine(), parameters, locals, stack, |
1892 state_info.shared_info(), outer_state); | 1898 state_info.shared_info(), outer_state); |
1893 } | 1899 } |
1894 | 1900 |
1895 | 1901 |
1896 } // namespace compiler | 1902 } // namespace compiler |
1897 } // namespace internal | 1903 } // namespace internal |
1898 } // namespace v8 | 1904 } // namespace v8 |
OLD | NEW |