| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef V8_COMPILER_OPCODES_H_ | 5 #ifndef V8_COMPILER_OPCODES_H_ |
| 6 #define V8_COMPILER_OPCODES_H_ | 6 #define V8_COMPILER_OPCODES_H_ |
| 7 | 7 |
| 8 #include <iosfwd> | 8 #include <iosfwd> |
| 9 | 9 |
| 10 // Opcodes for control operators. | 10 // Opcodes for control operators. |
| (...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 506 V(Uint8x16GreaterThanOrEqual) \ | 506 V(Uint8x16GreaterThanOrEqual) \ |
| 507 V(CreateBool8x16) \ | 507 V(CreateBool8x16) \ |
| 508 V(Bool8x16ReplaceLane) \ | 508 V(Bool8x16ReplaceLane) \ |
| 509 V(Bool8x16And) \ | 509 V(Bool8x16And) \ |
| 510 V(Bool8x16Or) \ | 510 V(Bool8x16Or) \ |
| 511 V(Bool8x16Xor) \ | 511 V(Bool8x16Xor) \ |
| 512 V(Bool8x16Not) \ | 512 V(Bool8x16Not) \ |
| 513 V(Bool8x16Swizzle) \ | 513 V(Bool8x16Swizzle) \ |
| 514 V(Bool8x16Shuffle) \ | 514 V(Bool8x16Shuffle) \ |
| 515 V(Bool8x16Equal) \ | 515 V(Bool8x16Equal) \ |
| 516 V(Bool8x16NotEqual) \ | 516 V(Bool8x16NotEqual) |
| 517 V(Simd128Load) \ | |
| 518 V(Simd128Load1) \ | |
| 519 V(Simd128Load2) \ | |
| 520 V(Simd128Load3) \ | |
| 521 V(Simd128Store) \ | |
| 522 V(Simd128Store1) \ | |
| 523 V(Simd128Store2) \ | |
| 524 V(Simd128Store3) \ | |
| 525 V(Simd128And) \ | |
| 526 V(Simd128Or) \ | |
| 527 V(Simd128Xor) \ | |
| 528 V(Simd128Not) | |
| 529 | 517 |
| 530 #define MACHINE_SIMD_RETURN_NUM_OP_LIST(V) \ | 518 #define MACHINE_SIMD_RETURN_NUM_OP_LIST(V) \ |
| 531 V(Float32x4ExtractLane) \ | 519 V(Float32x4ExtractLane) \ |
| 532 V(Int32x4ExtractLane) \ | 520 V(Int32x4ExtractLane) \ |
| 533 V(Int16x8ExtractLane) \ | 521 V(Int16x8ExtractLane) \ |
| 534 V(Int8x16ExtractLane) | 522 V(Int8x16ExtractLane) |
| 535 | 523 |
| 536 #define MACHINE_SIMD_RETURN_BOOL_OP_LIST(V) \ | 524 #define MACHINE_SIMD_RETURN_BOOL_OP_LIST(V) \ |
| 537 V(Bool32x4ExtractLane) \ | 525 V(Bool32x4ExtractLane) \ |
| 538 V(Bool32x4AnyTrue) \ | 526 V(Bool32x4AnyTrue) \ |
| 539 V(Bool32x4AllTrue) \ | 527 V(Bool32x4AllTrue) \ |
| 540 V(Bool16x8ExtractLane) \ | 528 V(Bool16x8ExtractLane) \ |
| 541 V(Bool16x8AnyTrue) \ | 529 V(Bool16x8AnyTrue) \ |
| 542 V(Bool16x8AllTrue) \ | 530 V(Bool16x8AllTrue) \ |
| 543 V(Bool8x16ExtractLane) \ | 531 V(Bool8x16ExtractLane) \ |
| 544 V(Bool8x16AnyTrue) \ | 532 V(Bool8x16AnyTrue) \ |
| 545 V(Bool8x16AllTrue) | 533 V(Bool8x16AllTrue) |
| 546 | 534 |
| 535 #define MACHINE_SIMD_GENERIC_OP_LIST(V) \ |
| 536 V(Simd128Load) \ |
| 537 V(Simd128Load1) \ |
| 538 V(Simd128Load2) \ |
| 539 V(Simd128Load3) \ |
| 540 V(Simd128Store) \ |
| 541 V(Simd128Store1) \ |
| 542 V(Simd128Store2) \ |
| 543 V(Simd128Store3) \ |
| 544 V(Simd128And) \ |
| 545 V(Simd128Or) \ |
| 546 V(Simd128Xor) \ |
| 547 V(Simd128Not) |
| 548 |
| 547 #define MACHINE_SIMD_OP_LIST(V) \ | 549 #define MACHINE_SIMD_OP_LIST(V) \ |
| 548 MACHINE_SIMD_RETURN_SIMD_OP_LIST(V) \ | 550 MACHINE_SIMD_RETURN_SIMD_OP_LIST(V) \ |
| 549 MACHINE_SIMD_RETURN_NUM_OP_LIST(V) \ | 551 MACHINE_SIMD_RETURN_NUM_OP_LIST(V) \ |
| 550 MACHINE_SIMD_RETURN_BOOL_OP_LIST(V) | 552 MACHINE_SIMD_RETURN_BOOL_OP_LIST(V) \ |
| 553 MACHINE_SIMD_GENERIC_OP_LIST(V) |
| 551 | 554 |
| 552 #define VALUE_OP_LIST(V) \ | 555 #define VALUE_OP_LIST(V) \ |
| 553 COMMON_OP_LIST(V) \ | 556 COMMON_OP_LIST(V) \ |
| 554 SIMPLIFIED_OP_LIST(V) \ | 557 SIMPLIFIED_OP_LIST(V) \ |
| 555 MACHINE_OP_LIST(V) \ | 558 MACHINE_OP_LIST(V) \ |
| 556 MACHINE_SIMD_OP_LIST(V) \ | 559 MACHINE_SIMD_OP_LIST(V) \ |
| 557 JS_OP_LIST(V) | 560 JS_OP_LIST(V) |
| 558 | 561 |
| 559 // The combination of all operators at all levels and the common operators. | 562 // The combination of all operators at all levels and the common operators. |
| 560 #define ALL_OP_LIST(V) \ | 563 #define ALL_OP_LIST(V) \ |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 627 } | 630 } |
| 628 }; | 631 }; |
| 629 | 632 |
| 630 std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 633 std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
| 631 | 634 |
| 632 } // namespace compiler | 635 } // namespace compiler |
| 633 } // namespace internal | 636 } // namespace internal |
| 634 } // namespace v8 | 637 } // namespace v8 |
| 635 | 638 |
| 636 #endif // V8_COMPILER_OPCODES_H_ | 639 #endif // V8_COMPILER_OPCODES_H_ |
| OLD | NEW |