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/compiler-source-position-table.h" | 10 #include "src/compiler/compiler-source-position-table.h" |
(...skipping 1419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1430 case IrOpcode::kCreateFloat32x4: | 1430 case IrOpcode::kCreateFloat32x4: |
1431 return MarkAsSimd128(node), VisitCreateFloat32x4(node); | 1431 return MarkAsSimd128(node), VisitCreateFloat32x4(node); |
1432 case IrOpcode::kFloat32x4ExtractLane: | 1432 case IrOpcode::kFloat32x4ExtractLane: |
1433 return MarkAsFloat32(node), VisitFloat32x4ExtractLane(node); | 1433 return MarkAsFloat32(node), VisitFloat32x4ExtractLane(node); |
1434 case IrOpcode::kFloat32x4ReplaceLane: | 1434 case IrOpcode::kFloat32x4ReplaceLane: |
1435 return MarkAsSimd128(node), VisitFloat32x4ReplaceLane(node); | 1435 return MarkAsSimd128(node), VisitFloat32x4ReplaceLane(node); |
1436 case IrOpcode::kFloat32x4FromInt32x4: | 1436 case IrOpcode::kFloat32x4FromInt32x4: |
1437 return MarkAsSimd128(node), VisitFloat32x4FromInt32x4(node); | 1437 return MarkAsSimd128(node), VisitFloat32x4FromInt32x4(node); |
1438 case IrOpcode::kFloat32x4FromUint32x4: | 1438 case IrOpcode::kFloat32x4FromUint32x4: |
1439 return MarkAsSimd128(node), VisitFloat32x4FromUint32x4(node); | 1439 return MarkAsSimd128(node), VisitFloat32x4FromUint32x4(node); |
| 1440 case IrOpcode::kFloat32x4Abs: |
| 1441 return MarkAsSimd128(node), VisitFloat32x4Abs(node); |
| 1442 case IrOpcode::kFloat32x4Neg: |
| 1443 return MarkAsSimd128(node), VisitFloat32x4Neg(node); |
1440 case IrOpcode::kFloat32x4Add: | 1444 case IrOpcode::kFloat32x4Add: |
1441 return MarkAsSimd128(node), VisitFloat32x4Add(node); | 1445 return MarkAsSimd128(node), VisitFloat32x4Add(node); |
1442 case IrOpcode::kFloat32x4Sub: | 1446 case IrOpcode::kFloat32x4Sub: |
1443 return MarkAsSimd128(node), VisitFloat32x4Sub(node); | 1447 return MarkAsSimd128(node), VisitFloat32x4Sub(node); |
| 1448 case IrOpcode::kFloat32x4Equal: |
| 1449 return MarkAsSimd128(node), VisitFloat32x4Equal(node); |
| 1450 case IrOpcode::kFloat32x4NotEqual: |
| 1451 return MarkAsSimd128(node), VisitFloat32x4NotEqual(node); |
1444 case IrOpcode::kCreateInt32x4: | 1452 case IrOpcode::kCreateInt32x4: |
1445 return MarkAsSimd128(node), VisitCreateInt32x4(node); | 1453 return MarkAsSimd128(node), VisitCreateInt32x4(node); |
1446 case IrOpcode::kInt32x4ExtractLane: | 1454 case IrOpcode::kInt32x4ExtractLane: |
1447 return MarkAsWord32(node), VisitInt32x4ExtractLane(node); | 1455 return MarkAsWord32(node), VisitInt32x4ExtractLane(node); |
1448 case IrOpcode::kInt32x4ReplaceLane: | 1456 case IrOpcode::kInt32x4ReplaceLane: |
1449 return MarkAsSimd128(node), VisitInt32x4ReplaceLane(node); | 1457 return MarkAsSimd128(node), VisitInt32x4ReplaceLane(node); |
1450 case IrOpcode::kInt32x4FromFloat32x4: | 1458 case IrOpcode::kInt32x4FromFloat32x4: |
1451 return MarkAsSimd128(node), VisitInt32x4FromFloat32x4(node); | 1459 return MarkAsSimd128(node), VisitInt32x4FromFloat32x4(node); |
1452 case IrOpcode::kUint32x4FromFloat32x4: | 1460 case IrOpcode::kUint32x4FromFloat32x4: |
1453 return MarkAsSimd128(node), VisitUint32x4FromFloat32x4(node); | 1461 return MarkAsSimd128(node), VisitUint32x4FromFloat32x4(node); |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1817 } | 1825 } |
1818 | 1826 |
1819 void InstructionSelector::VisitFloat32x4FromInt32x4(Node* node) { | 1827 void InstructionSelector::VisitFloat32x4FromInt32x4(Node* node) { |
1820 UNIMPLEMENTED(); | 1828 UNIMPLEMENTED(); |
1821 } | 1829 } |
1822 | 1830 |
1823 void InstructionSelector::VisitFloat32x4FromUint32x4(Node* node) { | 1831 void InstructionSelector::VisitFloat32x4FromUint32x4(Node* node) { |
1824 UNIMPLEMENTED(); | 1832 UNIMPLEMENTED(); |
1825 } | 1833 } |
1826 | 1834 |
| 1835 void InstructionSelector::VisitFloat32x4Abs(Node* node) { UNIMPLEMENTED(); } |
| 1836 |
| 1837 void InstructionSelector::VisitFloat32x4Neg(Node* node) { UNIMPLEMENTED(); } |
| 1838 |
1827 void InstructionSelector::VisitFloat32x4Add(Node* node) { UNIMPLEMENTED(); } | 1839 void InstructionSelector::VisitFloat32x4Add(Node* node) { UNIMPLEMENTED(); } |
1828 | 1840 |
1829 void InstructionSelector::VisitFloat32x4Sub(Node* node) { UNIMPLEMENTED(); } | 1841 void InstructionSelector::VisitFloat32x4Sub(Node* node) { UNIMPLEMENTED(); } |
1830 | 1842 |
| 1843 void InstructionSelector::VisitFloat32x4Equal(Node* node) { UNIMPLEMENTED(); } |
| 1844 |
| 1845 void InstructionSelector::VisitFloat32x4NotEqual(Node* node) { |
| 1846 UNIMPLEMENTED(); |
| 1847 } |
| 1848 |
1831 void InstructionSelector::VisitInt32x4FromFloat32x4(Node* node) { | 1849 void InstructionSelector::VisitInt32x4FromFloat32x4(Node* node) { |
1832 UNIMPLEMENTED(); | 1850 UNIMPLEMENTED(); |
1833 } | 1851 } |
1834 | 1852 |
1835 void InstructionSelector::VisitUint32x4FromFloat32x4(Node* node) { | 1853 void InstructionSelector::VisitUint32x4FromFloat32x4(Node* node) { |
1836 UNIMPLEMENTED(); | 1854 UNIMPLEMENTED(); |
1837 } | 1855 } |
1838 | 1856 |
1839 void InstructionSelector::VisitInt32x4Equal(Node* node) { UNIMPLEMENTED(); } | 1857 void InstructionSelector::VisitInt32x4Equal(Node* node) { UNIMPLEMENTED(); } |
1840 | 1858 |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2223 return new (instruction_zone()) FrameStateDescriptor( | 2241 return new (instruction_zone()) FrameStateDescriptor( |
2224 instruction_zone(), state_info.type(), state_info.bailout_id(), | 2242 instruction_zone(), state_info.type(), state_info.bailout_id(), |
2225 state_info.state_combine(), parameters, locals, stack, | 2243 state_info.state_combine(), parameters, locals, stack, |
2226 state_info.shared_info(), outer_state); | 2244 state_info.shared_info(), outer_state); |
2227 } | 2245 } |
2228 | 2246 |
2229 | 2247 |
2230 } // namespace compiler | 2248 } // namespace compiler |
2231 } // namespace internal | 2249 } // namespace internal |
2232 } // namespace v8 | 2250 } // namespace v8 |
OLD | NEW |