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_MACHINE_OPERATOR_H_ | 5 #ifndef V8_COMPILER_MACHINE_OPERATOR_H_ |
6 #define V8_COMPILER_MACHINE_OPERATOR_H_ | 6 #define V8_COMPILER_MACHINE_OPERATOR_H_ |
7 | 7 |
8 #include "src/base/compiler-specific.h" | 8 #include "src/base/compiler-specific.h" |
9 #include "src/base/flags.h" | 9 #include "src/base/flags.h" |
10 #include "src/globals.h" | 10 #include "src/globals.h" |
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 | 471 |
472 const Operator* Uint32x4Min(); | 472 const Operator* Uint32x4Min(); |
473 const Operator* Uint32x4Max(); | 473 const Operator* Uint32x4Max(); |
474 const Operator* Uint32x4ShiftRightByScalar(int32_t); | 474 const Operator* Uint32x4ShiftRightByScalar(int32_t); |
475 const Operator* Uint32x4LessThan(); | 475 const Operator* Uint32x4LessThan(); |
476 const Operator* Uint32x4LessThanOrEqual(); | 476 const Operator* Uint32x4LessThanOrEqual(); |
477 const Operator* Uint32x4GreaterThan(); | 477 const Operator* Uint32x4GreaterThan(); |
478 const Operator* Uint32x4GreaterThanOrEqual(); | 478 const Operator* Uint32x4GreaterThanOrEqual(); |
479 const Operator* Uint32x4FromFloat32x4(); | 479 const Operator* Uint32x4FromFloat32x4(); |
480 | 480 |
481 const Operator* Bool32x4And(); | |
482 const Operator* Bool32x4Or(); | |
483 const Operator* Bool32x4Xor(); | |
484 const Operator* Bool32x4Not(); | |
485 const Operator* Bool32x4AnyTrue(); | |
486 const Operator* Bool32x4AllTrue(); | |
487 | |
488 const Operator* Int16x8Splat(); | 481 const Operator* Int16x8Splat(); |
489 const Operator* Int16x8ExtractLane(int32_t); | 482 const Operator* Int16x8ExtractLane(int32_t); |
490 const Operator* Int16x8ReplaceLane(int32_t); | 483 const Operator* Int16x8ReplaceLane(int32_t); |
491 const Operator* Int16x8Neg(); | 484 const Operator* Int16x8Neg(); |
492 const Operator* Int16x8Add(); | 485 const Operator* Int16x8Add(); |
493 const Operator* Int16x8AddSaturate(); | 486 const Operator* Int16x8AddSaturate(); |
494 const Operator* Int16x8Sub(); | 487 const Operator* Int16x8Sub(); |
495 const Operator* Int16x8SubSaturate(); | 488 const Operator* Int16x8SubSaturate(); |
496 const Operator* Int16x8Mul(); | 489 const Operator* Int16x8Mul(); |
497 const Operator* Int16x8Min(); | 490 const Operator* Int16x8Min(); |
(...skipping 10 matching lines...) Expand all Loading... |
508 const Operator* Uint16x8AddSaturate(); | 501 const Operator* Uint16x8AddSaturate(); |
509 const Operator* Uint16x8SubSaturate(); | 502 const Operator* Uint16x8SubSaturate(); |
510 const Operator* Uint16x8Min(); | 503 const Operator* Uint16x8Min(); |
511 const Operator* Uint16x8Max(); | 504 const Operator* Uint16x8Max(); |
512 const Operator* Uint16x8ShiftRightByScalar(int32_t); | 505 const Operator* Uint16x8ShiftRightByScalar(int32_t); |
513 const Operator* Uint16x8LessThan(); | 506 const Operator* Uint16x8LessThan(); |
514 const Operator* Uint16x8LessThanOrEqual(); | 507 const Operator* Uint16x8LessThanOrEqual(); |
515 const Operator* Uint16x8GreaterThan(); | 508 const Operator* Uint16x8GreaterThan(); |
516 const Operator* Uint16x8GreaterThanOrEqual(); | 509 const Operator* Uint16x8GreaterThanOrEqual(); |
517 | 510 |
518 const Operator* Bool16x8And(); | |
519 const Operator* Bool16x8Or(); | |
520 const Operator* Bool16x8Xor(); | |
521 const Operator* Bool16x8Not(); | |
522 const Operator* Bool16x8AnyTrue(); | |
523 const Operator* Bool16x8AllTrue(); | |
524 | |
525 const Operator* Int8x16Splat(); | 511 const Operator* Int8x16Splat(); |
526 const Operator* Int8x16ExtractLane(int32_t); | 512 const Operator* Int8x16ExtractLane(int32_t); |
527 const Operator* Int8x16ReplaceLane(int32_t); | 513 const Operator* Int8x16ReplaceLane(int32_t); |
528 const Operator* Int8x16Neg(); | 514 const Operator* Int8x16Neg(); |
529 const Operator* Int8x16Add(); | 515 const Operator* Int8x16Add(); |
530 const Operator* Int8x16AddSaturate(); | 516 const Operator* Int8x16AddSaturate(); |
531 const Operator* Int8x16Sub(); | 517 const Operator* Int8x16Sub(); |
532 const Operator* Int8x16SubSaturate(); | 518 const Operator* Int8x16SubSaturate(); |
533 const Operator* Int8x16Mul(); | 519 const Operator* Int8x16Mul(); |
534 const Operator* Int8x16Min(); | 520 const Operator* Int8x16Min(); |
(...skipping 10 matching lines...) Expand all Loading... |
545 const Operator* Uint8x16AddSaturate(); | 531 const Operator* Uint8x16AddSaturate(); |
546 const Operator* Uint8x16SubSaturate(); | 532 const Operator* Uint8x16SubSaturate(); |
547 const Operator* Uint8x16Min(); | 533 const Operator* Uint8x16Min(); |
548 const Operator* Uint8x16Max(); | 534 const Operator* Uint8x16Max(); |
549 const Operator* Uint8x16ShiftRightByScalar(int32_t); | 535 const Operator* Uint8x16ShiftRightByScalar(int32_t); |
550 const Operator* Uint8x16LessThan(); | 536 const Operator* Uint8x16LessThan(); |
551 const Operator* Uint8x16LessThanOrEqual(); | 537 const Operator* Uint8x16LessThanOrEqual(); |
552 const Operator* Uint8x16GreaterThan(); | 538 const Operator* Uint8x16GreaterThan(); |
553 const Operator* Uint8x16GreaterThanOrEqual(); | 539 const Operator* Uint8x16GreaterThanOrEqual(); |
554 | 540 |
555 const Operator* Bool8x16And(); | |
556 const Operator* Bool8x16Or(); | |
557 const Operator* Bool8x16Xor(); | |
558 const Operator* Bool8x16Not(); | |
559 const Operator* Bool8x16AnyTrue(); | |
560 const Operator* Bool8x16AllTrue(); | |
561 | |
562 const Operator* Simd128Load(); | 541 const Operator* Simd128Load(); |
563 const Operator* Simd128Load1(); | 542 const Operator* Simd128Load1(); |
564 const Operator* Simd128Load2(); | 543 const Operator* Simd128Load2(); |
565 const Operator* Simd128Load3(); | 544 const Operator* Simd128Load3(); |
566 const Operator* Simd128Store(); | 545 const Operator* Simd128Store(); |
567 const Operator* Simd128Store1(); | 546 const Operator* Simd128Store1(); |
568 const Operator* Simd128Store2(); | 547 const Operator* Simd128Store2(); |
569 const Operator* Simd128Store3(); | 548 const Operator* Simd128Store3(); |
570 | 549 |
571 const Operator* Simd128Zero(); | 550 const Operator* Simd128Zero(); |
572 const Operator* Simd128And(); | 551 const Operator* Simd128And(); |
573 const Operator* Simd128Or(); | 552 const Operator* Simd128Or(); |
574 const Operator* Simd128Xor(); | 553 const Operator* Simd128Xor(); |
575 const Operator* Simd128Not(); | 554 const Operator* Simd128Not(); |
576 | 555 |
577 const Operator* Simd32x4Select(); | 556 const Operator* Simd32x4Select(); |
578 const Operator* Simd32x4Swizzle(uint32_t); | 557 const Operator* Simd32x4Swizzle(uint32_t); |
579 const Operator* Simd32x4Shuffle(); | 558 const Operator* Simd32x4Shuffle(); |
580 const Operator* Simd16x8Select(); | 559 const Operator* Simd16x8Select(); |
581 const Operator* Simd16x8Swizzle(uint32_t); | 560 const Operator* Simd16x8Swizzle(uint32_t); |
582 const Operator* Simd16x8Shuffle(); | 561 const Operator* Simd16x8Shuffle(); |
583 const Operator* Simd8x16Select(); | 562 const Operator* Simd8x16Select(); |
584 const Operator* Simd8x16Swizzle(uint32_t); | 563 const Operator* Simd8x16Swizzle(uint32_t); |
585 const Operator* Simd8x16Shuffle(); | 564 const Operator* Simd8x16Shuffle(); |
586 | 565 |
587 const Operator* Simd1x4Zero(); | 566 const Operator* Simd1x4Zero(); |
| 567 const Operator* Simd1x4And(); |
| 568 const Operator* Simd1x4Or(); |
| 569 const Operator* Simd1x4Xor(); |
| 570 const Operator* Simd1x4Not(); |
| 571 const Operator* Simd1x4AnyTrue(); |
| 572 const Operator* Simd1x4AllTrue(); |
| 573 |
588 const Operator* Simd1x8Zero(); | 574 const Operator* Simd1x8Zero(); |
| 575 const Operator* Simd1x8And(); |
| 576 const Operator* Simd1x8Or(); |
| 577 const Operator* Simd1x8Xor(); |
| 578 const Operator* Simd1x8Not(); |
| 579 const Operator* Simd1x8AnyTrue(); |
| 580 const Operator* Simd1x8AllTrue(); |
| 581 |
589 const Operator* Simd1x16Zero(); | 582 const Operator* Simd1x16Zero(); |
| 583 const Operator* Simd1x16And(); |
| 584 const Operator* Simd1x16Or(); |
| 585 const Operator* Simd1x16Xor(); |
| 586 const Operator* Simd1x16Not(); |
| 587 const Operator* Simd1x16AnyTrue(); |
| 588 const Operator* Simd1x16AllTrue(); |
590 | 589 |
591 // load [base + index] | 590 // load [base + index] |
592 const Operator* Load(LoadRepresentation rep); | 591 const Operator* Load(LoadRepresentation rep); |
593 const Operator* ProtectedLoad(LoadRepresentation rep); | 592 const Operator* ProtectedLoad(LoadRepresentation rep); |
594 | 593 |
595 // store [base + index], value | 594 // store [base + index], value |
596 const Operator* Store(StoreRepresentation rep); | 595 const Operator* Store(StoreRepresentation rep); |
597 const Operator* ProtectedStore(MachineRepresentation rep); | 596 const Operator* ProtectedStore(MachineRepresentation rep); |
598 | 597 |
599 // unaligned load [base + index] | 598 // unaligned load [base + index] |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
678 }; | 677 }; |
679 | 678 |
680 | 679 |
681 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) | 680 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) |
682 | 681 |
683 } // namespace compiler | 682 } // namespace compiler |
684 } // namespace internal | 683 } // namespace internal |
685 } // namespace v8 | 684 } // namespace v8 |
686 | 685 |
687 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ | 686 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ |
OLD | NEW |