Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Side by Side Diff: src/compiler/instruction-selector.cc

Issue 2594683002: [Turbofan] Add native ARM support for Simd Float32x4 operations. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/arm/instruction-selector-arm.cc ('k') | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1430 matching lines...) Expand 10 before | Expand all | Expand 10 after
1441 case IrOpcode::kCreateFloat32x4: 1441 case IrOpcode::kCreateFloat32x4:
1442 return MarkAsSimd128(node), VisitCreateFloat32x4(node); 1442 return MarkAsSimd128(node), VisitCreateFloat32x4(node);
1443 case IrOpcode::kFloat32x4ExtractLane: 1443 case IrOpcode::kFloat32x4ExtractLane:
1444 return MarkAsFloat32(node), VisitFloat32x4ExtractLane(node); 1444 return MarkAsFloat32(node), VisitFloat32x4ExtractLane(node);
1445 case IrOpcode::kFloat32x4ReplaceLane: 1445 case IrOpcode::kFloat32x4ReplaceLane:
1446 return MarkAsSimd128(node), VisitFloat32x4ReplaceLane(node); 1446 return MarkAsSimd128(node), VisitFloat32x4ReplaceLane(node);
1447 case IrOpcode::kFloat32x4FromInt32x4: 1447 case IrOpcode::kFloat32x4FromInt32x4:
1448 return MarkAsSimd128(node), VisitFloat32x4FromInt32x4(node); 1448 return MarkAsSimd128(node), VisitFloat32x4FromInt32x4(node);
1449 case IrOpcode::kFloat32x4FromUint32x4: 1449 case IrOpcode::kFloat32x4FromUint32x4:
1450 return MarkAsSimd128(node), VisitFloat32x4FromUint32x4(node); 1450 return MarkAsSimd128(node), VisitFloat32x4FromUint32x4(node);
1451 case IrOpcode::kFloat32x4Abs:
1452 return MarkAsSimd128(node), VisitFloat32x4Abs(node);
1453 case IrOpcode::kFloat32x4Neg:
1454 return MarkAsSimd128(node), VisitFloat32x4Neg(node);
1451 case IrOpcode::kFloat32x4Add: 1455 case IrOpcode::kFloat32x4Add:
1452 return MarkAsSimd128(node), VisitFloat32x4Add(node); 1456 return MarkAsSimd128(node), VisitFloat32x4Add(node);
1453 case IrOpcode::kFloat32x4Sub: 1457 case IrOpcode::kFloat32x4Sub:
1454 return MarkAsSimd128(node), VisitFloat32x4Sub(node); 1458 return MarkAsSimd128(node), VisitFloat32x4Sub(node);
1459 case IrOpcode::kFloat32x4Equal:
1460 return MarkAsSimd128(node), VisitFloat32x4Equal(node);
1461 case IrOpcode::kFloat32x4NotEqual:
1462 return MarkAsSimd128(node), VisitFloat32x4NotEqual(node);
1455 case IrOpcode::kCreateInt32x4: 1463 case IrOpcode::kCreateInt32x4:
1456 return MarkAsSimd128(node), VisitCreateInt32x4(node); 1464 return MarkAsSimd128(node), VisitCreateInt32x4(node);
1457 case IrOpcode::kInt32x4ExtractLane: 1465 case IrOpcode::kInt32x4ExtractLane:
1458 return MarkAsWord32(node), VisitInt32x4ExtractLane(node); 1466 return MarkAsWord32(node), VisitInt32x4ExtractLane(node);
1459 case IrOpcode::kInt32x4ReplaceLane: 1467 case IrOpcode::kInt32x4ReplaceLane:
1460 return MarkAsSimd128(node), VisitInt32x4ReplaceLane(node); 1468 return MarkAsSimd128(node), VisitInt32x4ReplaceLane(node);
1461 case IrOpcode::kInt32x4FromFloat32x4: 1469 case IrOpcode::kInt32x4FromFloat32x4:
1462 return MarkAsSimd128(node), VisitInt32x4FromFloat32x4(node); 1470 return MarkAsSimd128(node), VisitInt32x4FromFloat32x4(node);
1463 case IrOpcode::kUint32x4FromFloat32x4: 1471 case IrOpcode::kUint32x4FromFloat32x4:
1464 return MarkAsSimd128(node), VisitUint32x4FromFloat32x4(node); 1472 return MarkAsSimd128(node), VisitUint32x4FromFloat32x4(node);
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
1828 } 1836 }
1829 1837
1830 void InstructionSelector::VisitFloat32x4FromInt32x4(Node* node) { 1838 void InstructionSelector::VisitFloat32x4FromInt32x4(Node* node) {
1831 UNIMPLEMENTED(); 1839 UNIMPLEMENTED();
1832 } 1840 }
1833 1841
1834 void InstructionSelector::VisitFloat32x4FromUint32x4(Node* node) { 1842 void InstructionSelector::VisitFloat32x4FromUint32x4(Node* node) {
1835 UNIMPLEMENTED(); 1843 UNIMPLEMENTED();
1836 } 1844 }
1837 1845
1846 void InstructionSelector::VisitFloat32x4Abs(Node* node) { UNIMPLEMENTED(); }
1847
1848 void InstructionSelector::VisitFloat32x4Neg(Node* node) { UNIMPLEMENTED(); }
1849
1838 void InstructionSelector::VisitFloat32x4Add(Node* node) { UNIMPLEMENTED(); } 1850 void InstructionSelector::VisitFloat32x4Add(Node* node) { UNIMPLEMENTED(); }
1839 1851
1840 void InstructionSelector::VisitFloat32x4Sub(Node* node) { UNIMPLEMENTED(); } 1852 void InstructionSelector::VisitFloat32x4Sub(Node* node) { UNIMPLEMENTED(); }
1841 1853
1854 void InstructionSelector::VisitFloat32x4Equal(Node* node) { UNIMPLEMENTED(); }
1855
1856 void InstructionSelector::VisitFloat32x4NotEqual(Node* node) {
1857 UNIMPLEMENTED();
1858 }
1859
1842 void InstructionSelector::VisitInt32x4FromFloat32x4(Node* node) { 1860 void InstructionSelector::VisitInt32x4FromFloat32x4(Node* node) {
1843 UNIMPLEMENTED(); 1861 UNIMPLEMENTED();
1844 } 1862 }
1845 1863
1846 void InstructionSelector::VisitUint32x4FromFloat32x4(Node* node) { 1864 void InstructionSelector::VisitUint32x4FromFloat32x4(Node* node) {
1847 UNIMPLEMENTED(); 1865 UNIMPLEMENTED();
1848 } 1866 }
1849 1867
1850 void InstructionSelector::VisitInt32x4Equal(Node* node) { UNIMPLEMENTED(); } 1868 void InstructionSelector::VisitInt32x4Equal(Node* node) { UNIMPLEMENTED(); }
1851 1869
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
2234 return new (instruction_zone()) FrameStateDescriptor( 2252 return new (instruction_zone()) FrameStateDescriptor(
2235 instruction_zone(), state_info.type(), state_info.bailout_id(), 2253 instruction_zone(), state_info.type(), state_info.bailout_id(),
2236 state_info.state_combine(), parameters, locals, stack, 2254 state_info.state_combine(), parameters, locals, stack,
2237 state_info.shared_info(), outer_state); 2255 state_info.shared_info(), outer_state);
2238 } 2256 }
2239 2257
2240 2258
2241 } // namespace compiler 2259 } // namespace compiler
2242 } // namespace internal 2260 } // namespace internal
2243 } // namespace v8 2261 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm/instruction-selector-arm.cc ('k') | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698