OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_RUNTIME_RUNTIME_H_ | 5 #ifndef V8_RUNTIME_RUNTIME_H_ |
6 #define V8_RUNTIME_RUNTIME_H_ | 6 #define V8_RUNTIME_RUNTIME_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/objects.h" | 9 #include "src/objects.h" |
10 #include "src/unicode.h" | 10 #include "src/unicode.h" |
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
567 F(PushBlockContext, 2, 1) \ | 567 F(PushBlockContext, 2, 1) \ |
568 F(IsJSModule, 1, 1) \ | 568 F(IsJSModule, 1, 1) \ |
569 F(PushModuleContext, 2, 1) \ | 569 F(PushModuleContext, 2, 1) \ |
570 F(DeclareModules, 1, 1) \ | 570 F(DeclareModules, 1, 1) \ |
571 F(DeleteLookupSlot, 2, 1) \ | 571 F(DeleteLookupSlot, 2, 1) \ |
572 F(StoreLookupSlot, 4, 1) \ | 572 F(StoreLookupSlot, 4, 1) \ |
573 F(ArgumentsLength, 0, 1) \ | 573 F(ArgumentsLength, 0, 1) \ |
574 F(Arguments, 1, 1) | 574 F(Arguments, 1, 1) |
575 | 575 |
576 | 576 |
577 #define FOR_EACH_INTRINSIC_SIMD(F) \ | 577 #define FOR_EACH_INTRINSIC_SIMD(F) \ |
578 F(IsSimdValue, 1, 1) \ | 578 F(IsSimdValue, 1, 1) \ |
579 F(SimdSameValue, 2, 1) \ | 579 F(SimdSameValue, 2, 1) \ |
580 F(SimdSameValueZero, 2, 1) \ | 580 F(SimdSameValueZero, 2, 1) \ |
581 F(CreateFloat32x4, 4, 1) \ | 581 F(CreateFloat32x4, 4, 1) \ |
582 F(CreateInt32x4, 4, 1) \ | 582 F(CreateInt32x4, 4, 1) \ |
583 F(CreateUint32x4, 4, 1) \ | 583 F(CreateUint32x4, 4, 1) \ |
584 F(CreateBool32x4, 4, 1) \ | 584 F(CreateBool32x4, 4, 1) \ |
585 F(CreateInt16x8, 8, 1) \ | 585 F(CreateInt16x8, 8, 1) \ |
586 F(CreateUint16x8, 8, 1) \ | 586 F(CreateUint16x8, 8, 1) \ |
587 F(CreateBool16x8, 8, 1) \ | 587 F(CreateBool16x8, 8, 1) \ |
588 F(CreateInt8x16, 16, 1) \ | 588 F(CreateInt8x16, 16, 1) \ |
589 F(CreateUint8x16, 16, 1) \ | 589 F(CreateUint8x16, 16, 1) \ |
590 F(CreateBool8x16, 16, 1) \ | 590 F(CreateBool8x16, 16, 1) \ |
591 F(Float32x4Check, 1, 1) \ | 591 F(Float32x4Check, 1, 1) \ |
592 F(Float32x4ExtractLane, 2, 1) \ | 592 F(Float32x4ExtractLane, 2, 1) \ |
593 F(Float32x4ReplaceLane, 3, 1) \ | 593 F(Float32x4ReplaceLane, 3, 1) \ |
594 F(Float32x4Abs, 1, 1) \ | 594 F(Float32x4Abs, 1, 1) \ |
595 F(Float32x4Neg, 1, 1) \ | 595 F(Float32x4Neg, 1, 1) \ |
596 F(Float32x4Sqrt, 1, 1) \ | 596 F(Float32x4Sqrt, 1, 1) \ |
597 F(Float32x4RecipApprox, 1, 1) \ | 597 F(Float32x4RecipApprox, 1, 1) \ |
598 F(Float32x4RecipSqrtApprox, 1, 1) \ | 598 F(Float32x4RecipSqrtApprox, 1, 1) \ |
599 F(Float32x4Add, 2, 1) \ | 599 F(Float32x4Add, 2, 1) \ |
600 F(Float32x4Sub, 2, 1) \ | 600 F(Float32x4Sub, 2, 1) \ |
601 F(Float32x4Mul, 2, 1) \ | 601 F(Float32x4Mul, 2, 1) \ |
602 F(Float32x4Div, 2, 1) \ | 602 F(Float32x4Div, 2, 1) \ |
603 F(Float32x4Min, 2, 1) \ | 603 F(Float32x4Min, 2, 1) \ |
604 F(Float32x4Max, 2, 1) \ | 604 F(Float32x4Max, 2, 1) \ |
605 F(Float32x4MinNum, 2, 1) \ | 605 F(Float32x4MinNum, 2, 1) \ |
606 F(Float32x4MaxNum, 2, 1) \ | 606 F(Float32x4MaxNum, 2, 1) \ |
607 F(Float32x4Equal, 2, 1) \ | 607 F(Float32x4Equal, 2, 1) \ |
608 F(Float32x4NotEqual, 2, 1) \ | 608 F(Float32x4NotEqual, 2, 1) \ |
609 F(Float32x4LessThan, 2, 1) \ | 609 F(Float32x4LessThan, 2, 1) \ |
610 F(Float32x4LessThanOrEqual, 2, 1) \ | 610 F(Float32x4LessThanOrEqual, 2, 1) \ |
611 F(Float32x4GreaterThan, 2, 1) \ | 611 F(Float32x4GreaterThan, 2, 1) \ |
612 F(Float32x4GreaterThanOrEqual, 2, 1) \ | 612 F(Float32x4GreaterThanOrEqual, 2, 1) \ |
613 F(Float32x4Select, 3, 1) \ | 613 F(Float32x4Select, 3, 1) \ |
614 F(Float32x4Swizzle, 5, 1) \ | 614 F(Float32x4Swizzle, 5, 1) \ |
615 F(Float32x4Shuffle, 6, 1) \ | 615 F(Float32x4Shuffle, 6, 1) \ |
616 F(Float32x4FromInt32x4, 1, 1) \ | 616 F(Float32x4FromInt32x4, 1, 1) \ |
617 F(Float32x4FromUint32x4, 1, 1) \ | 617 F(Float32x4FromUint32x4, 1, 1) \ |
618 F(Float32x4FromInt32x4Bits, 1, 1) \ | 618 F(Float32x4FromInt32x4Bits, 1, 1) \ |
619 F(Float32x4FromUint32x4Bits, 1, 1) \ | 619 F(Float32x4FromUint32x4Bits, 1, 1) \ |
620 F(Float32x4FromInt16x8Bits, 1, 1) \ | 620 F(Float32x4FromInt16x8Bits, 1, 1) \ |
621 F(Float32x4FromUint16x8Bits, 1, 1) \ | 621 F(Float32x4FromUint16x8Bits, 1, 1) \ |
622 F(Float32x4FromInt8x16Bits, 1, 1) \ | 622 F(Float32x4FromInt8x16Bits, 1, 1) \ |
623 F(Float32x4FromUint8x16Bits, 1, 1) \ | 623 F(Float32x4FromUint8x16Bits, 1, 1) \ |
624 F(Float32x4Load, 2, 1) \ | 624 F(Float32x4Load, 2, 1) \ |
625 F(Float32x4Load1, 2, 1) \ | 625 F(Float32x4Load1, 2, 1) \ |
626 F(Float32x4Load2, 2, 1) \ | 626 F(Float32x4Load2, 2, 1) \ |
627 F(Float32x4Load3, 2, 1) \ | 627 F(Float32x4Load3, 2, 1) \ |
628 F(Float32x4Store, 3, 1) \ | 628 F(Float32x4Store, 3, 1) \ |
629 F(Float32x4Store1, 3, 1) \ | 629 F(Float32x4Store1, 3, 1) \ |
630 F(Float32x4Store2, 3, 1) \ | 630 F(Float32x4Store2, 3, 1) \ |
631 F(Float32x4Store3, 3, 1) \ | 631 F(Float32x4Store3, 3, 1) \ |
632 F(Int32x4Check, 1, 1) \ | 632 F(Int32x4Check, 1, 1) \ |
633 F(Int32x4ExtractLane, 2, 1) \ | 633 F(Int32x4ExtractLane, 2, 1) \ |
634 F(Int32x4ReplaceLane, 3, 1) \ | 634 F(Int32x4ReplaceLane, 3, 1) \ |
635 F(Int32x4Neg, 1, 1) \ | 635 F(Int32x4Neg, 1, 1) \ |
636 F(Int32x4Add, 2, 1) \ | 636 F(Int32x4Add, 2, 1) \ |
637 F(Int32x4Sub, 2, 1) \ | 637 F(Int32x4Sub, 2, 1) \ |
638 F(Int32x4Mul, 2, 1) \ | 638 F(Int32x4Mul, 2, 1) \ |
639 F(Int32x4Min, 2, 1) \ | 639 F(Int32x4Min, 2, 1) \ |
640 F(Int32x4Max, 2, 1) \ | 640 F(Int32x4Max, 2, 1) \ |
641 F(Int32x4And, 2, 1) \ | 641 F(Int32x4And, 2, 1) \ |
642 F(Int32x4Or, 2, 1) \ | 642 F(Int32x4Or, 2, 1) \ |
643 F(Int32x4Xor, 2, 1) \ | 643 F(Int32x4Xor, 2, 1) \ |
644 F(Int32x4Not, 1, 1) \ | 644 F(Int32x4Not, 1, 1) \ |
645 F(Int32x4ShiftLeftByScalar, 2, 1) \ | 645 F(Int32x4ShiftLeftByScalar, 2, 1) \ |
646 F(Int32x4ShiftRightArithmeticByScalar, 2, 1) \ | 646 F(Int32x4ShiftRightByScalar, 2, 1) \ |
647 F(Int32x4Equal, 2, 1) \ | 647 F(Int32x4Equal, 2, 1) \ |
648 F(Int32x4NotEqual, 2, 1) \ | 648 F(Int32x4NotEqual, 2, 1) \ |
649 F(Int32x4LessThan, 2, 1) \ | 649 F(Int32x4LessThan, 2, 1) \ |
650 F(Int32x4LessThanOrEqual, 2, 1) \ | 650 F(Int32x4LessThanOrEqual, 2, 1) \ |
651 F(Int32x4GreaterThan, 2, 1) \ | 651 F(Int32x4GreaterThan, 2, 1) \ |
652 F(Int32x4GreaterThanOrEqual, 2, 1) \ | 652 F(Int32x4GreaterThanOrEqual, 2, 1) \ |
653 F(Int32x4Select, 3, 1) \ | 653 F(Int32x4Select, 3, 1) \ |
654 F(Int32x4Swizzle, 5, 1) \ | 654 F(Int32x4Swizzle, 5, 1) \ |
655 F(Int32x4Shuffle, 6, 1) \ | 655 F(Int32x4Shuffle, 6, 1) \ |
656 F(Int32x4FromFloat32x4, 1, 1) \ | 656 F(Int32x4FromFloat32x4, 1, 1) \ |
657 F(Int32x4FromUint32x4, 1, 1) \ | 657 F(Int32x4FromUint32x4, 1, 1) \ |
658 F(Int32x4FromFloat32x4Bits, 1, 1) \ | 658 F(Int32x4FromFloat32x4Bits, 1, 1) \ |
659 F(Int32x4FromUint32x4Bits, 1, 1) \ | 659 F(Int32x4FromUint32x4Bits, 1, 1) \ |
660 F(Int32x4FromInt16x8Bits, 1, 1) \ | 660 F(Int32x4FromInt16x8Bits, 1, 1) \ |
661 F(Int32x4FromUint16x8Bits, 1, 1) \ | 661 F(Int32x4FromUint16x8Bits, 1, 1) \ |
662 F(Int32x4FromInt8x16Bits, 1, 1) \ | 662 F(Int32x4FromInt8x16Bits, 1, 1) \ |
663 F(Int32x4FromUint8x16Bits, 1, 1) \ | 663 F(Int32x4FromUint8x16Bits, 1, 1) \ |
664 F(Int32x4Load, 2, 1) \ | 664 F(Int32x4Load, 2, 1) \ |
665 F(Int32x4Load1, 2, 1) \ | 665 F(Int32x4Load1, 2, 1) \ |
666 F(Int32x4Load2, 2, 1) \ | 666 F(Int32x4Load2, 2, 1) \ |
667 F(Int32x4Load3, 2, 1) \ | 667 F(Int32x4Load3, 2, 1) \ |
668 F(Int32x4Store, 3, 1) \ | 668 F(Int32x4Store, 3, 1) \ |
669 F(Int32x4Store1, 3, 1) \ | 669 F(Int32x4Store1, 3, 1) \ |
670 F(Int32x4Store2, 3, 1) \ | 670 F(Int32x4Store2, 3, 1) \ |
671 F(Int32x4Store3, 3, 1) \ | 671 F(Int32x4Store3, 3, 1) \ |
672 F(Uint32x4Check, 1, 1) \ | 672 F(Uint32x4Check, 1, 1) \ |
673 F(Uint32x4ExtractLane, 2, 1) \ | 673 F(Uint32x4ExtractLane, 2, 1) \ |
674 F(Uint32x4ReplaceLane, 3, 1) \ | 674 F(Uint32x4ReplaceLane, 3, 1) \ |
675 F(Uint32x4Add, 2, 1) \ | 675 F(Uint32x4Add, 2, 1) \ |
676 F(Uint32x4Sub, 2, 1) \ | 676 F(Uint32x4Sub, 2, 1) \ |
677 F(Uint32x4Mul, 2, 1) \ | 677 F(Uint32x4Mul, 2, 1) \ |
678 F(Uint32x4Min, 2, 1) \ | 678 F(Uint32x4Min, 2, 1) \ |
679 F(Uint32x4Max, 2, 1) \ | 679 F(Uint32x4Max, 2, 1) \ |
680 F(Uint32x4And, 2, 1) \ | 680 F(Uint32x4And, 2, 1) \ |
681 F(Uint32x4Or, 2, 1) \ | 681 F(Uint32x4Or, 2, 1) \ |
682 F(Uint32x4Xor, 2, 1) \ | 682 F(Uint32x4Xor, 2, 1) \ |
683 F(Uint32x4Not, 1, 1) \ | 683 F(Uint32x4Not, 1, 1) \ |
684 F(Uint32x4ShiftLeftByScalar, 2, 1) \ | 684 F(Uint32x4ShiftLeftByScalar, 2, 1) \ |
685 F(Uint32x4ShiftRightLogicalByScalar, 2, 1) \ | 685 F(Uint32x4ShiftRightByScalar, 2, 1) \ |
686 F(Uint32x4HorizontalSum, 1, 1) \ | 686 F(Uint32x4HorizontalSum, 1, 1) \ |
687 F(Uint32x4Equal, 2, 1) \ | 687 F(Uint32x4Equal, 2, 1) \ |
688 F(Uint32x4NotEqual, 2, 1) \ | 688 F(Uint32x4NotEqual, 2, 1) \ |
689 F(Uint32x4LessThan, 2, 1) \ | 689 F(Uint32x4LessThan, 2, 1) \ |
690 F(Uint32x4LessThanOrEqual, 2, 1) \ | 690 F(Uint32x4LessThanOrEqual, 2, 1) \ |
691 F(Uint32x4GreaterThan, 2, 1) \ | 691 F(Uint32x4GreaterThan, 2, 1) \ |
692 F(Uint32x4GreaterThanOrEqual, 2, 1) \ | 692 F(Uint32x4GreaterThanOrEqual, 2, 1) \ |
693 F(Uint32x4Select, 3, 1) \ | 693 F(Uint32x4Select, 3, 1) \ |
694 F(Uint32x4Swizzle, 5, 1) \ | 694 F(Uint32x4Swizzle, 5, 1) \ |
695 F(Uint32x4Shuffle, 6, 1) \ | 695 F(Uint32x4Shuffle, 6, 1) \ |
696 F(Uint32x4FromFloat32x4, 1, 1) \ | 696 F(Uint32x4FromFloat32x4, 1, 1) \ |
697 F(Uint32x4FromInt32x4, 1, 1) \ | 697 F(Uint32x4FromInt32x4, 1, 1) \ |
698 F(Uint32x4FromFloat32x4Bits, 1, 1) \ | 698 F(Uint32x4FromFloat32x4Bits, 1, 1) \ |
699 F(Uint32x4FromInt32x4Bits, 1, 1) \ | 699 F(Uint32x4FromInt32x4Bits, 1, 1) \ |
700 F(Uint32x4FromInt16x8Bits, 1, 1) \ | 700 F(Uint32x4FromInt16x8Bits, 1, 1) \ |
701 F(Uint32x4FromUint16x8Bits, 1, 1) \ | 701 F(Uint32x4FromUint16x8Bits, 1, 1) \ |
702 F(Uint32x4FromInt8x16Bits, 1, 1) \ | 702 F(Uint32x4FromInt8x16Bits, 1, 1) \ |
703 F(Uint32x4FromUint8x16Bits, 1, 1) \ | 703 F(Uint32x4FromUint8x16Bits, 1, 1) \ |
704 F(Uint32x4Load, 2, 1) \ | 704 F(Uint32x4Load, 2, 1) \ |
705 F(Uint32x4Load1, 2, 1) \ | 705 F(Uint32x4Load1, 2, 1) \ |
706 F(Uint32x4Load2, 2, 1) \ | 706 F(Uint32x4Load2, 2, 1) \ |
707 F(Uint32x4Load3, 2, 1) \ | 707 F(Uint32x4Load3, 2, 1) \ |
708 F(Uint32x4Store, 3, 1) \ | 708 F(Uint32x4Store, 3, 1) \ |
709 F(Uint32x4Store1, 3, 1) \ | 709 F(Uint32x4Store1, 3, 1) \ |
710 F(Uint32x4Store2, 3, 1) \ | 710 F(Uint32x4Store2, 3, 1) \ |
711 F(Uint32x4Store3, 3, 1) \ | 711 F(Uint32x4Store3, 3, 1) \ |
712 F(Bool32x4Check, 1, 1) \ | 712 F(Bool32x4Check, 1, 1) \ |
713 F(Bool32x4ExtractLane, 2, 1) \ | 713 F(Bool32x4ExtractLane, 2, 1) \ |
714 F(Bool32x4ReplaceLane, 3, 1) \ | 714 F(Bool32x4ReplaceLane, 3, 1) \ |
715 F(Bool32x4And, 2, 1) \ | 715 F(Bool32x4And, 2, 1) \ |
716 F(Bool32x4Or, 2, 1) \ | 716 F(Bool32x4Or, 2, 1) \ |
717 F(Bool32x4Xor, 2, 1) \ | 717 F(Bool32x4Xor, 2, 1) \ |
718 F(Bool32x4Not, 1, 1) \ | 718 F(Bool32x4Not, 1, 1) \ |
719 F(Bool32x4AnyTrue, 1, 1) \ | 719 F(Bool32x4AnyTrue, 1, 1) \ |
720 F(Bool32x4AllTrue, 1, 1) \ | 720 F(Bool32x4AllTrue, 1, 1) \ |
721 F(Bool32x4Swizzle, 5, 1) \ | 721 F(Bool32x4Swizzle, 5, 1) \ |
722 F(Bool32x4Shuffle, 6, 1) \ | 722 F(Bool32x4Shuffle, 6, 1) \ |
723 F(Int16x8Check, 1, 1) \ | 723 F(Int16x8Check, 1, 1) \ |
724 F(Int16x8ExtractLane, 2, 1) \ | 724 F(Int16x8ExtractLane, 2, 1) \ |
725 F(Int16x8ReplaceLane, 3, 1) \ | 725 F(Int16x8ReplaceLane, 3, 1) \ |
726 F(Int16x8Neg, 1, 1) \ | 726 F(Int16x8Neg, 1, 1) \ |
727 F(Int16x8Add, 2, 1) \ | 727 F(Int16x8Add, 2, 1) \ |
728 F(Int16x8AddSaturate, 2, 1) \ | 728 F(Int16x8AddSaturate, 2, 1) \ |
729 F(Int16x8Sub, 2, 1) \ | 729 F(Int16x8Sub, 2, 1) \ |
730 F(Int16x8SubSaturate, 2, 1) \ | 730 F(Int16x8SubSaturate, 2, 1) \ |
731 F(Int16x8Mul, 2, 1) \ | 731 F(Int16x8Mul, 2, 1) \ |
732 F(Int16x8Min, 2, 1) \ | 732 F(Int16x8Min, 2, 1) \ |
733 F(Int16x8Max, 2, 1) \ | 733 F(Int16x8Max, 2, 1) \ |
734 F(Int16x8And, 2, 1) \ | 734 F(Int16x8And, 2, 1) \ |
735 F(Int16x8Or, 2, 1) \ | 735 F(Int16x8Or, 2, 1) \ |
736 F(Int16x8Xor, 2, 1) \ | 736 F(Int16x8Xor, 2, 1) \ |
737 F(Int16x8Not, 1, 1) \ | 737 F(Int16x8Not, 1, 1) \ |
738 F(Int16x8ShiftLeftByScalar, 2, 1) \ | 738 F(Int16x8ShiftLeftByScalar, 2, 1) \ |
739 F(Int16x8ShiftRightArithmeticByScalar, 2, 1) \ | 739 F(Int16x8ShiftRightByScalar, 2, 1) \ |
740 F(Int16x8Equal, 2, 1) \ | 740 F(Int16x8Equal, 2, 1) \ |
741 F(Int16x8NotEqual, 2, 1) \ | 741 F(Int16x8NotEqual, 2, 1) \ |
742 F(Int16x8LessThan, 2, 1) \ | 742 F(Int16x8LessThan, 2, 1) \ |
743 F(Int16x8LessThanOrEqual, 2, 1) \ | 743 F(Int16x8LessThanOrEqual, 2, 1) \ |
744 F(Int16x8GreaterThan, 2, 1) \ | 744 F(Int16x8GreaterThan, 2, 1) \ |
745 F(Int16x8GreaterThanOrEqual, 2, 1) \ | 745 F(Int16x8GreaterThanOrEqual, 2, 1) \ |
746 F(Int16x8Select, 3, 1) \ | 746 F(Int16x8Select, 3, 1) \ |
747 F(Int16x8Swizzle, 9, 1) \ | 747 F(Int16x8Swizzle, 9, 1) \ |
748 F(Int16x8Shuffle, 10, 1) \ | 748 F(Int16x8Shuffle, 10, 1) \ |
749 F(Int16x8FromUint16x8, 1, 1) \ | 749 F(Int16x8FromUint16x8, 1, 1) \ |
750 F(Int16x8FromFloat32x4Bits, 1, 1) \ | 750 F(Int16x8FromFloat32x4Bits, 1, 1) \ |
751 F(Int16x8FromInt32x4Bits, 1, 1) \ | 751 F(Int16x8FromInt32x4Bits, 1, 1) \ |
752 F(Int16x8FromUint32x4Bits, 1, 1) \ | 752 F(Int16x8FromUint32x4Bits, 1, 1) \ |
753 F(Int16x8FromUint16x8Bits, 1, 1) \ | 753 F(Int16x8FromUint16x8Bits, 1, 1) \ |
754 F(Int16x8FromInt8x16Bits, 1, 1) \ | 754 F(Int16x8FromInt8x16Bits, 1, 1) \ |
755 F(Int16x8FromUint8x16Bits, 1, 1) \ | 755 F(Int16x8FromUint8x16Bits, 1, 1) \ |
756 F(Int16x8Load, 2, 1) \ | 756 F(Int16x8Load, 2, 1) \ |
757 F(Int16x8Store, 3, 1) \ | 757 F(Int16x8Store, 3, 1) \ |
758 F(Uint16x8Check, 1, 1) \ | 758 F(Uint16x8Check, 1, 1) \ |
759 F(Uint16x8ExtractLane, 2, 1) \ | 759 F(Uint16x8ExtractLane, 2, 1) \ |
760 F(Uint16x8ReplaceLane, 3, 1) \ | 760 F(Uint16x8ReplaceLane, 3, 1) \ |
761 F(Uint16x8Add, 2, 1) \ | 761 F(Uint16x8Add, 2, 1) \ |
762 F(Uint16x8AddSaturate, 2, 1) \ | 762 F(Uint16x8AddSaturate, 2, 1) \ |
763 F(Uint16x8Sub, 2, 1) \ | 763 F(Uint16x8Sub, 2, 1) \ |
764 F(Uint16x8SubSaturate, 2, 1) \ | 764 F(Uint16x8SubSaturate, 2, 1) \ |
765 F(Uint16x8Mul, 2, 1) \ | 765 F(Uint16x8Mul, 2, 1) \ |
766 F(Uint16x8Min, 2, 1) \ | 766 F(Uint16x8Min, 2, 1) \ |
767 F(Uint16x8Max, 2, 1) \ | 767 F(Uint16x8Max, 2, 1) \ |
768 F(Uint16x8And, 2, 1) \ | 768 F(Uint16x8And, 2, 1) \ |
769 F(Uint16x8Or, 2, 1) \ | 769 F(Uint16x8Or, 2, 1) \ |
770 F(Uint16x8Xor, 2, 1) \ | 770 F(Uint16x8Xor, 2, 1) \ |
771 F(Uint16x8Not, 1, 1) \ | 771 F(Uint16x8Not, 1, 1) \ |
772 F(Uint16x8ShiftLeftByScalar, 2, 1) \ | 772 F(Uint16x8ShiftLeftByScalar, 2, 1) \ |
773 F(Uint16x8ShiftRightLogicalByScalar, 2, 1) \ | 773 F(Uint16x8ShiftRightByScalar, 2, 1) \ |
774 F(Uint16x8HorizontalSum, 1, 1) \ | 774 F(Uint16x8HorizontalSum, 1, 1) \ |
775 F(Uint16x8AbsoluteDifference, 2, 1) \ | 775 F(Uint16x8AbsoluteDifference, 2, 1) \ |
776 F(Uint16x8WidenedAbsoluteDifference, 2, 1) \ | 776 F(Uint16x8WidenedAbsoluteDifference, 2, 1) \ |
777 F(Uint16x8Equal, 2, 1) \ | 777 F(Uint16x8Equal, 2, 1) \ |
778 F(Uint16x8NotEqual, 2, 1) \ | 778 F(Uint16x8NotEqual, 2, 1) \ |
779 F(Uint16x8LessThan, 2, 1) \ | 779 F(Uint16x8LessThan, 2, 1) \ |
780 F(Uint16x8LessThanOrEqual, 2, 1) \ | 780 F(Uint16x8LessThanOrEqual, 2, 1) \ |
781 F(Uint16x8GreaterThan, 2, 1) \ | 781 F(Uint16x8GreaterThan, 2, 1) \ |
782 F(Uint16x8GreaterThanOrEqual, 2, 1) \ | 782 F(Uint16x8GreaterThanOrEqual, 2, 1) \ |
783 F(Uint16x8Select, 3, 1) \ | 783 F(Uint16x8Select, 3, 1) \ |
784 F(Uint16x8Swizzle, 9, 1) \ | 784 F(Uint16x8Swizzle, 9, 1) \ |
785 F(Uint16x8Shuffle, 10, 1) \ | 785 F(Uint16x8Shuffle, 10, 1) \ |
786 F(Uint16x8FromInt16x8, 1, 1) \ | 786 F(Uint16x8FromInt16x8, 1, 1) \ |
787 F(Uint16x8FromFloat32x4Bits, 1, 1) \ | 787 F(Uint16x8FromFloat32x4Bits, 1, 1) \ |
788 F(Uint16x8FromInt32x4Bits, 1, 1) \ | 788 F(Uint16x8FromInt32x4Bits, 1, 1) \ |
789 F(Uint16x8FromUint32x4Bits, 1, 1) \ | 789 F(Uint16x8FromUint32x4Bits, 1, 1) \ |
790 F(Uint16x8FromInt16x8Bits, 1, 1) \ | 790 F(Uint16x8FromInt16x8Bits, 1, 1) \ |
791 F(Uint16x8FromInt8x16Bits, 1, 1) \ | 791 F(Uint16x8FromInt8x16Bits, 1, 1) \ |
792 F(Uint16x8FromUint8x16Bits, 1, 1) \ | 792 F(Uint16x8FromUint8x16Bits, 1, 1) \ |
793 F(Uint16x8Load, 2, 1) \ | 793 F(Uint16x8Load, 2, 1) \ |
794 F(Uint16x8Store, 3, 1) \ | 794 F(Uint16x8Store, 3, 1) \ |
795 F(Bool16x8Check, 1, 1) \ | 795 F(Bool16x8Check, 1, 1) \ |
796 F(Bool16x8ExtractLane, 2, 1) \ | 796 F(Bool16x8ExtractLane, 2, 1) \ |
797 F(Bool16x8ReplaceLane, 3, 1) \ | 797 F(Bool16x8ReplaceLane, 3, 1) \ |
798 F(Bool16x8And, 2, 1) \ | 798 F(Bool16x8And, 2, 1) \ |
799 F(Bool16x8Or, 2, 1) \ | 799 F(Bool16x8Or, 2, 1) \ |
800 F(Bool16x8Xor, 2, 1) \ | 800 F(Bool16x8Xor, 2, 1) \ |
801 F(Bool16x8Not, 1, 1) \ | 801 F(Bool16x8Not, 1, 1) \ |
802 F(Bool16x8AnyTrue, 1, 1) \ | 802 F(Bool16x8AnyTrue, 1, 1) \ |
803 F(Bool16x8AllTrue, 1, 1) \ | 803 F(Bool16x8AllTrue, 1, 1) \ |
804 F(Bool16x8Swizzle, 9, 1) \ | 804 F(Bool16x8Swizzle, 9, 1) \ |
805 F(Bool16x8Shuffle, 10, 1) \ | 805 F(Bool16x8Shuffle, 10, 1) \ |
806 F(Int8x16Check, 1, 1) \ | 806 F(Int8x16Check, 1, 1) \ |
807 F(Int8x16ExtractLane, 2, 1) \ | 807 F(Int8x16ExtractLane, 2, 1) \ |
808 F(Int8x16ReplaceLane, 3, 1) \ | 808 F(Int8x16ReplaceLane, 3, 1) \ |
809 F(Int8x16Neg, 1, 1) \ | 809 F(Int8x16Neg, 1, 1) \ |
810 F(Int8x16Add, 2, 1) \ | 810 F(Int8x16Add, 2, 1) \ |
811 F(Int8x16AddSaturate, 2, 1) \ | 811 F(Int8x16AddSaturate, 2, 1) \ |
812 F(Int8x16Sub, 2, 1) \ | 812 F(Int8x16Sub, 2, 1) \ |
813 F(Int8x16SubSaturate, 2, 1) \ | 813 F(Int8x16SubSaturate, 2, 1) \ |
814 F(Int8x16Mul, 2, 1) \ | 814 F(Int8x16Mul, 2, 1) \ |
815 F(Int8x16Min, 2, 1) \ | 815 F(Int8x16Min, 2, 1) \ |
816 F(Int8x16Max, 2, 1) \ | 816 F(Int8x16Max, 2, 1) \ |
817 F(Int8x16And, 2, 1) \ | 817 F(Int8x16And, 2, 1) \ |
818 F(Int8x16Or, 2, 1) \ | 818 F(Int8x16Or, 2, 1) \ |
819 F(Int8x16Xor, 2, 1) \ | 819 F(Int8x16Xor, 2, 1) \ |
820 F(Int8x16Not, 1, 1) \ | 820 F(Int8x16Not, 1, 1) \ |
821 F(Int8x16ShiftLeftByScalar, 2, 1) \ | 821 F(Int8x16ShiftLeftByScalar, 2, 1) \ |
822 F(Int8x16ShiftRightArithmeticByScalar, 2, 1) \ | 822 F(Int8x16ShiftRightByScalar, 2, 1) \ |
823 F(Int8x16Equal, 2, 1) \ | 823 F(Int8x16Equal, 2, 1) \ |
824 F(Int8x16NotEqual, 2, 1) \ | 824 F(Int8x16NotEqual, 2, 1) \ |
825 F(Int8x16LessThan, 2, 1) \ | 825 F(Int8x16LessThan, 2, 1) \ |
826 F(Int8x16LessThanOrEqual, 2, 1) \ | 826 F(Int8x16LessThanOrEqual, 2, 1) \ |
827 F(Int8x16GreaterThan, 2, 1) \ | 827 F(Int8x16GreaterThan, 2, 1) \ |
828 F(Int8x16GreaterThanOrEqual, 2, 1) \ | 828 F(Int8x16GreaterThanOrEqual, 2, 1) \ |
829 F(Int8x16Select, 3, 1) \ | 829 F(Int8x16Select, 3, 1) \ |
830 F(Int8x16Swizzle, 17, 1) \ | 830 F(Int8x16Swizzle, 17, 1) \ |
831 F(Int8x16Shuffle, 18, 1) \ | 831 F(Int8x16Shuffle, 18, 1) \ |
832 F(Int8x16FromUint8x16, 1, 1) \ | 832 F(Int8x16FromUint8x16, 1, 1) \ |
833 F(Int8x16FromFloat32x4Bits, 1, 1) \ | 833 F(Int8x16FromFloat32x4Bits, 1, 1) \ |
834 F(Int8x16FromInt32x4Bits, 1, 1) \ | 834 F(Int8x16FromInt32x4Bits, 1, 1) \ |
835 F(Int8x16FromUint32x4Bits, 1, 1) \ | 835 F(Int8x16FromUint32x4Bits, 1, 1) \ |
836 F(Int8x16FromInt16x8Bits, 1, 1) \ | 836 F(Int8x16FromInt16x8Bits, 1, 1) \ |
837 F(Int8x16FromUint16x8Bits, 1, 1) \ | 837 F(Int8x16FromUint16x8Bits, 1, 1) \ |
838 F(Int8x16FromUint8x16Bits, 1, 1) \ | 838 F(Int8x16FromUint8x16Bits, 1, 1) \ |
839 F(Int8x16Load, 2, 1) \ | 839 F(Int8x16Load, 2, 1) \ |
840 F(Int8x16Store, 3, 1) \ | 840 F(Int8x16Store, 3, 1) \ |
841 F(Uint8x16Check, 1, 1) \ | 841 F(Uint8x16Check, 1, 1) \ |
842 F(Uint8x16ExtractLane, 2, 1) \ | 842 F(Uint8x16ExtractLane, 2, 1) \ |
843 F(Uint8x16ReplaceLane, 3, 1) \ | 843 F(Uint8x16ReplaceLane, 3, 1) \ |
844 F(Uint8x16Add, 2, 1) \ | 844 F(Uint8x16Add, 2, 1) \ |
845 F(Uint8x16AddSaturate, 2, 1) \ | 845 F(Uint8x16AddSaturate, 2, 1) \ |
846 F(Uint8x16Sub, 2, 1) \ | 846 F(Uint8x16Sub, 2, 1) \ |
847 F(Uint8x16SubSaturate, 2, 1) \ | 847 F(Uint8x16SubSaturate, 2, 1) \ |
848 F(Uint8x16Mul, 2, 1) \ | 848 F(Uint8x16Mul, 2, 1) \ |
849 F(Uint8x16Min, 2, 1) \ | 849 F(Uint8x16Min, 2, 1) \ |
850 F(Uint8x16Max, 2, 1) \ | 850 F(Uint8x16Max, 2, 1) \ |
851 F(Uint8x16And, 2, 1) \ | 851 F(Uint8x16And, 2, 1) \ |
852 F(Uint8x16Or, 2, 1) \ | 852 F(Uint8x16Or, 2, 1) \ |
853 F(Uint8x16Xor, 2, 1) \ | 853 F(Uint8x16Xor, 2, 1) \ |
854 F(Uint8x16Not, 1, 1) \ | 854 F(Uint8x16Not, 1, 1) \ |
855 F(Uint8x16ShiftLeftByScalar, 2, 1) \ | 855 F(Uint8x16ShiftLeftByScalar, 2, 1) \ |
856 F(Uint8x16ShiftRightLogicalByScalar, 2, 1) \ | 856 F(Uint8x16ShiftRightByScalar, 2, 1) \ |
857 F(Uint8x16HorizontalSum, 1, 1) \ | 857 F(Uint8x16HorizontalSum, 1, 1) \ |
858 F(Uint8x16AbsoluteDifference, 2, 1) \ | 858 F(Uint8x16AbsoluteDifference, 2, 1) \ |
859 F(Uint8x16WidenedAbsoluteDifference, 2, 1) \ | 859 F(Uint8x16WidenedAbsoluteDifference, 2, 1) \ |
860 F(Uint8x16Equal, 2, 1) \ | 860 F(Uint8x16Equal, 2, 1) \ |
861 F(Uint8x16NotEqual, 2, 1) \ | 861 F(Uint8x16NotEqual, 2, 1) \ |
862 F(Uint8x16LessThan, 2, 1) \ | 862 F(Uint8x16LessThan, 2, 1) \ |
863 F(Uint8x16LessThanOrEqual, 2, 1) \ | 863 F(Uint8x16LessThanOrEqual, 2, 1) \ |
864 F(Uint8x16GreaterThan, 2, 1) \ | 864 F(Uint8x16GreaterThan, 2, 1) \ |
865 F(Uint8x16GreaterThanOrEqual, 2, 1) \ | 865 F(Uint8x16GreaterThanOrEqual, 2, 1) \ |
866 F(Uint8x16Select, 3, 1) \ | 866 F(Uint8x16Select, 3, 1) \ |
867 F(Uint8x16Swizzle, 17, 1) \ | 867 F(Uint8x16Swizzle, 17, 1) \ |
868 F(Uint8x16Shuffle, 18, 1) \ | 868 F(Uint8x16Shuffle, 18, 1) \ |
869 F(Uint8x16FromInt8x16, 1, 1) \ | 869 F(Uint8x16FromInt8x16, 1, 1) \ |
870 F(Uint8x16FromFloat32x4Bits, 1, 1) \ | 870 F(Uint8x16FromFloat32x4Bits, 1, 1) \ |
871 F(Uint8x16FromInt32x4Bits, 1, 1) \ | 871 F(Uint8x16FromInt32x4Bits, 1, 1) \ |
872 F(Uint8x16FromUint32x4Bits, 1, 1) \ | 872 F(Uint8x16FromUint32x4Bits, 1, 1) \ |
873 F(Uint8x16FromInt16x8Bits, 1, 1) \ | 873 F(Uint8x16FromInt16x8Bits, 1, 1) \ |
874 F(Uint8x16FromUint16x8Bits, 1, 1) \ | 874 F(Uint8x16FromUint16x8Bits, 1, 1) \ |
875 F(Uint8x16FromInt8x16Bits, 1, 1) \ | 875 F(Uint8x16FromInt8x16Bits, 1, 1) \ |
876 F(Uint8x16Load, 2, 1) \ | 876 F(Uint8x16Load, 2, 1) \ |
877 F(Uint8x16Store, 3, 1) \ | 877 F(Uint8x16Store, 3, 1) \ |
878 F(Bool8x16Check, 1, 1) \ | 878 F(Bool8x16Check, 1, 1) \ |
879 F(Bool8x16ExtractLane, 2, 1) \ | 879 F(Bool8x16ExtractLane, 2, 1) \ |
880 F(Bool8x16ReplaceLane, 3, 1) \ | 880 F(Bool8x16ReplaceLane, 3, 1) \ |
881 F(Bool8x16And, 2, 1) \ | 881 F(Bool8x16And, 2, 1) \ |
882 F(Bool8x16Or, 2, 1) \ | 882 F(Bool8x16Or, 2, 1) \ |
883 F(Bool8x16Xor, 2, 1) \ | 883 F(Bool8x16Xor, 2, 1) \ |
884 F(Bool8x16Not, 1, 1) \ | 884 F(Bool8x16Not, 1, 1) \ |
885 F(Bool8x16AnyTrue, 1, 1) \ | 885 F(Bool8x16AnyTrue, 1, 1) \ |
886 F(Bool8x16AllTrue, 1, 1) \ | 886 F(Bool8x16AllTrue, 1, 1) \ |
887 F(Bool8x16Swizzle, 17, 1) \ | 887 F(Bool8x16Swizzle, 17, 1) \ |
888 F(Bool8x16Shuffle, 18, 1) | 888 F(Bool8x16Shuffle, 18, 1) |
889 | 889 |
890 | 890 |
891 #define FOR_EACH_INTRINSIC_STRINGS(F) \ | 891 #define FOR_EACH_INTRINSIC_STRINGS(F) \ |
892 F(StringReplaceOneCharWithString, 3, 1) \ | 892 F(StringReplaceOneCharWithString, 3, 1) \ |
893 F(StringIndexOf, 3, 1) \ | 893 F(StringIndexOf, 3, 1) \ |
894 F(StringLastIndexOf, 3, 1) \ | 894 F(StringLastIndexOf, 3, 1) \ |
895 F(StringLocaleCompare, 2, 1) \ | 895 F(StringLocaleCompare, 2, 1) \ |
896 F(SubString, 3, 1) \ | 896 F(SubString, 3, 1) \ |
897 F(StringAdd, 2, 1) \ | 897 F(StringAdd, 2, 1) \ |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1231 | 1231 |
1232 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1232 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1233 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1233 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1234 STATIC_ASSERT(LANGUAGE_END == 3); | 1234 STATIC_ASSERT(LANGUAGE_END == 3); |
1235 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1235 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1236 | 1236 |
1237 } // namespace internal | 1237 } // namespace internal |
1238 } // namespace v8 | 1238 } // namespace v8 |
1239 | 1239 |
1240 #endif // V8_RUNTIME_RUNTIME_H_ | 1240 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |