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 588 matching lines...) Loading... |
599 F(Float32x4GreaterThanOrEqual, 2, 1) \ | 599 F(Float32x4GreaterThanOrEqual, 2, 1) \ |
600 F(Float32x4Equal, 2, 1) \ | 600 F(Float32x4Equal, 2, 1) \ |
601 F(Float32x4NotEqual, 2, 1) \ | 601 F(Float32x4NotEqual, 2, 1) \ |
602 F(Float32x4Select, 3, 1) \ | 602 F(Float32x4Select, 3, 1) \ |
603 F(Float32x4Swizzle, 5, 1) \ | 603 F(Float32x4Swizzle, 5, 1) \ |
604 F(Float32x4Shuffle, 6, 1) \ | 604 F(Float32x4Shuffle, 6, 1) \ |
605 F(Float32x4FromInt32x4, 1, 1) \ | 605 F(Float32x4FromInt32x4, 1, 1) \ |
606 F(Float32x4FromInt32x4Bits, 1, 1) \ | 606 F(Float32x4FromInt32x4Bits, 1, 1) \ |
607 F(Float32x4FromInt16x8Bits, 1, 1) \ | 607 F(Float32x4FromInt16x8Bits, 1, 1) \ |
608 F(Float32x4FromInt8x16Bits, 1, 1) \ | 608 F(Float32x4FromInt8x16Bits, 1, 1) \ |
| 609 F(Float32x4Load, 2, 1) \ |
| 610 F(Float32x4Load1, 2, 1) \ |
| 611 F(Float32x4Load2, 2, 1) \ |
| 612 F(Float32x4Load3, 2, 1) \ |
609 F(Int32x4Check, 1, 1) \ | 613 F(Int32x4Check, 1, 1) \ |
610 F(Int32x4ExtractLane, 2, 1) \ | 614 F(Int32x4ExtractLane, 2, 1) \ |
611 F(Int32x4ReplaceLane, 3, 1) \ | 615 F(Int32x4ReplaceLane, 3, 1) \ |
612 F(Int32x4Neg, 1, 1) \ | 616 F(Int32x4Neg, 1, 1) \ |
613 F(Int32x4Add, 2, 1) \ | 617 F(Int32x4Add, 2, 1) \ |
614 F(Int32x4Sub, 2, 1) \ | 618 F(Int32x4Sub, 2, 1) \ |
615 F(Int32x4Mul, 2, 1) \ | 619 F(Int32x4Mul, 2, 1) \ |
616 F(Int32x4Min, 2, 1) \ | 620 F(Int32x4Min, 2, 1) \ |
617 F(Int32x4Max, 2, 1) \ | 621 F(Int32x4Max, 2, 1) \ |
618 F(Int32x4And, 2, 1) \ | 622 F(Int32x4And, 2, 1) \ |
619 F(Int32x4Or, 2, 1) \ | 623 F(Int32x4Or, 2, 1) \ |
620 F(Int32x4Xor, 2, 1) \ | 624 F(Int32x4Xor, 2, 1) \ |
621 F(Int32x4Not, 1, 1) \ | 625 F(Int32x4Not, 1, 1) \ |
622 F(Int32x4ShiftLeftByScalar, 2, 1) \ | 626 F(Int32x4ShiftLeftByScalar, 2, 1) \ |
623 F(Int32x4ShiftRightLogicalByScalar, 2, 1) \ | 627 F(Int32x4ShiftRightLogicalByScalar, 2, 1) \ |
624 F(Int32x4ShiftRightArithmeticByScalar, 2, 1) \ | 628 F(Int32x4ShiftRightArithmeticByScalar, 2, 1) \ |
625 F(Int32x4LessThan, 2, 1) \ | 629 F(Int32x4LessThan, 2, 1) \ |
626 F(Int32x4LessThanOrEqual, 2, 1) \ | 630 F(Int32x4LessThanOrEqual, 2, 1) \ |
627 F(Int32x4GreaterThan, 2, 1) \ | 631 F(Int32x4GreaterThan, 2, 1) \ |
628 F(Int32x4GreaterThanOrEqual, 2, 1) \ | 632 F(Int32x4GreaterThanOrEqual, 2, 1) \ |
629 F(Int32x4Equal, 2, 1) \ | 633 F(Int32x4Equal, 2, 1) \ |
630 F(Int32x4NotEqual, 2, 1) \ | 634 F(Int32x4NotEqual, 2, 1) \ |
631 F(Int32x4Select, 3, 1) \ | 635 F(Int32x4Select, 3, 1) \ |
632 F(Int32x4Swizzle, 5, 1) \ | 636 F(Int32x4Swizzle, 5, 1) \ |
633 F(Int32x4Shuffle, 6, 1) \ | 637 F(Int32x4Shuffle, 6, 1) \ |
634 F(Int32x4FromFloat32x4, 1, 1) \ | 638 F(Int32x4FromFloat32x4, 1, 1) \ |
635 F(Int32x4FromFloat32x4Bits, 1, 1) \ | 639 F(Int32x4FromFloat32x4Bits, 1, 1) \ |
636 F(Int32x4FromInt16x8Bits, 1, 1) \ | 640 F(Int32x4FromInt16x8Bits, 1, 1) \ |
637 F(Int32x4FromInt8x16Bits, 1, 1) \ | 641 F(Int32x4FromInt8x16Bits, 1, 1) \ |
| 642 F(Int32x4Load, 2, 1) \ |
| 643 F(Int32x4Load1, 2, 1) \ |
| 644 F(Int32x4Load2, 2, 1) \ |
| 645 F(Int32x4Load3, 2, 1) \ |
638 F(Bool32x4Check, 1, 1) \ | 646 F(Bool32x4Check, 1, 1) \ |
639 F(Bool32x4ExtractLane, 2, 1) \ | 647 F(Bool32x4ExtractLane, 2, 1) \ |
640 F(Bool32x4ReplaceLane, 3, 1) \ | 648 F(Bool32x4ReplaceLane, 3, 1) \ |
641 F(Bool32x4And, 2, 1) \ | 649 F(Bool32x4And, 2, 1) \ |
642 F(Bool32x4Or, 2, 1) \ | 650 F(Bool32x4Or, 2, 1) \ |
643 F(Bool32x4Xor, 2, 1) \ | 651 F(Bool32x4Xor, 2, 1) \ |
644 F(Bool32x4Not, 1, 1) \ | 652 F(Bool32x4Not, 1, 1) \ |
645 F(Bool32x4AnyTrue, 1, 1) \ | 653 F(Bool32x4AnyTrue, 1, 1) \ |
646 F(Bool32x4AllTrue, 1, 1) \ | 654 F(Bool32x4AllTrue, 1, 1) \ |
647 F(Bool32x4Equal, 2, 1) \ | 655 F(Bool32x4Equal, 2, 1) \ |
(...skipping 24 matching lines...) Loading... |
672 F(Int16x8GreaterThan, 2, 1) \ | 680 F(Int16x8GreaterThan, 2, 1) \ |
673 F(Int16x8GreaterThanOrEqual, 2, 1) \ | 681 F(Int16x8GreaterThanOrEqual, 2, 1) \ |
674 F(Int16x8Equal, 2, 1) \ | 682 F(Int16x8Equal, 2, 1) \ |
675 F(Int16x8NotEqual, 2, 1) \ | 683 F(Int16x8NotEqual, 2, 1) \ |
676 F(Int16x8Select, 3, 1) \ | 684 F(Int16x8Select, 3, 1) \ |
677 F(Int16x8Swizzle, 9, 1) \ | 685 F(Int16x8Swizzle, 9, 1) \ |
678 F(Int16x8Shuffle, 10, 1) \ | 686 F(Int16x8Shuffle, 10, 1) \ |
679 F(Int16x8FromFloat32x4Bits, 1, 1) \ | 687 F(Int16x8FromFloat32x4Bits, 1, 1) \ |
680 F(Int16x8FromInt32x4Bits, 1, 1) \ | 688 F(Int16x8FromInt32x4Bits, 1, 1) \ |
681 F(Int16x8FromInt8x16Bits, 1, 1) \ | 689 F(Int16x8FromInt8x16Bits, 1, 1) \ |
| 690 F(Int16x8Load, 2, 1) \ |
682 F(Bool16x8Check, 1, 1) \ | 691 F(Bool16x8Check, 1, 1) \ |
683 F(Bool16x8ExtractLane, 2, 1) \ | 692 F(Bool16x8ExtractLane, 2, 1) \ |
684 F(Bool16x8ReplaceLane, 3, 1) \ | 693 F(Bool16x8ReplaceLane, 3, 1) \ |
685 F(Bool16x8And, 2, 1) \ | 694 F(Bool16x8And, 2, 1) \ |
686 F(Bool16x8Or, 2, 1) \ | 695 F(Bool16x8Or, 2, 1) \ |
687 F(Bool16x8Xor, 2, 1) \ | 696 F(Bool16x8Xor, 2, 1) \ |
688 F(Bool16x8Not, 1, 1) \ | 697 F(Bool16x8Not, 1, 1) \ |
689 F(Bool16x8AnyTrue, 1, 1) \ | 698 F(Bool16x8AnyTrue, 1, 1) \ |
690 F(Bool16x8AllTrue, 1, 1) \ | 699 F(Bool16x8AllTrue, 1, 1) \ |
691 F(Bool16x8Equal, 2, 1) \ | 700 F(Bool16x8Equal, 2, 1) \ |
(...skipping 24 matching lines...) Loading... |
716 F(Int8x16GreaterThan, 2, 1) \ | 725 F(Int8x16GreaterThan, 2, 1) \ |
717 F(Int8x16GreaterThanOrEqual, 2, 1) \ | 726 F(Int8x16GreaterThanOrEqual, 2, 1) \ |
718 F(Int8x16Equal, 2, 1) \ | 727 F(Int8x16Equal, 2, 1) \ |
719 F(Int8x16NotEqual, 2, 1) \ | 728 F(Int8x16NotEqual, 2, 1) \ |
720 F(Int8x16Select, 3, 1) \ | 729 F(Int8x16Select, 3, 1) \ |
721 F(Int8x16Swizzle, 17, 1) \ | 730 F(Int8x16Swizzle, 17, 1) \ |
722 F(Int8x16Shuffle, 18, 1) \ | 731 F(Int8x16Shuffle, 18, 1) \ |
723 F(Int8x16FromFloat32x4Bits, 1, 1) \ | 732 F(Int8x16FromFloat32x4Bits, 1, 1) \ |
724 F(Int8x16FromInt32x4Bits, 1, 1) \ | 733 F(Int8x16FromInt32x4Bits, 1, 1) \ |
725 F(Int8x16FromInt16x8Bits, 1, 1) \ | 734 F(Int8x16FromInt16x8Bits, 1, 1) \ |
| 735 F(Int8x16Load, 2, 1) \ |
726 F(Bool8x16Check, 1, 1) \ | 736 F(Bool8x16Check, 1, 1) \ |
727 F(Bool8x16ExtractLane, 2, 1) \ | 737 F(Bool8x16ExtractLane, 2, 1) \ |
728 F(Bool8x16ReplaceLane, 3, 1) \ | 738 F(Bool8x16ReplaceLane, 3, 1) \ |
729 F(Bool8x16And, 2, 1) \ | 739 F(Bool8x16And, 2, 1) \ |
730 F(Bool8x16Or, 2, 1) \ | 740 F(Bool8x16Or, 2, 1) \ |
731 F(Bool8x16Xor, 2, 1) \ | 741 F(Bool8x16Xor, 2, 1) \ |
732 F(Bool8x16Not, 1, 1) \ | 742 F(Bool8x16Not, 1, 1) \ |
733 F(Bool8x16AnyTrue, 1, 1) \ | 743 F(Bool8x16AnyTrue, 1, 1) \ |
734 F(Bool8x16AllTrue, 1, 1) \ | 744 F(Bool8x16AllTrue, 1, 1) \ |
735 F(Bool8x16Equal, 2, 1) \ | 745 F(Bool8x16Equal, 2, 1) \ |
(...skipping 402 matching lines...) Loading... |
1138 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 1148 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
1139 return size == 1 || size == 2 || size == 4; | 1149 return size == 1 || size == 2 || size == 4; |
1140 } | 1150 } |
1141 | 1151 |
1142 #endif | 1152 #endif |
1143 | 1153 |
1144 } // namespace internal | 1154 } // namespace internal |
1145 } // namespace v8 | 1155 } // namespace v8 |
1146 | 1156 |
1147 #endif // V8_RUNTIME_RUNTIME_H_ | 1157 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |