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_GLOBALS_H_ | 5 #ifndef V8_GLOBALS_H_ |
6 #define V8_GLOBALS_H_ | 6 #define V8_GLOBALS_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
717 BMI1, | 717 BMI1, |
718 BMI2, | 718 BMI2, |
719 LZCNT, | 719 LZCNT, |
720 POPCNT, | 720 POPCNT, |
721 ATOM, | 721 ATOM, |
722 // ARM | 722 // ARM |
723 VFP3, | 723 VFP3, |
724 ARMv7, | 724 ARMv7, |
725 ARMv8, | 725 ARMv8, |
726 SUDIV, | 726 SUDIV, |
727 UNALIGNED_ACCESSES, | |
728 MOVW_MOVT_IMMEDIATE_LOADS, | 727 MOVW_MOVT_IMMEDIATE_LOADS, |
729 VFP32DREGS, | 728 VFP32DREGS, |
730 NEON, | 729 NEON, |
731 // MIPS, MIPS64 | 730 // MIPS, MIPS64 |
732 FPU, | 731 FPU, |
733 FP64FPU, | 732 FP64FPU, |
734 MIPSr1, | 733 MIPSr1, |
735 MIPSr2, | 734 MIPSr2, |
736 MIPSr6, | 735 MIPSr6, |
737 // ARM64 | 736 // ARM64 |
738 ALWAYS_ALIGN_CSP, | 737 ALWAYS_ALIGN_CSP, |
739 // PPC | 738 // PPC |
740 FPR_GPR_MOV, | 739 FPR_GPR_MOV, |
741 LWSYNC, | 740 LWSYNC, |
742 ISELECT, | 741 ISELECT, |
743 // S390 | 742 // S390 |
744 DISTINCT_OPS, | 743 DISTINCT_OPS, |
745 GENERAL_INSTR_EXT, | 744 GENERAL_INSTR_EXT, |
746 FLOATING_POINT_EXT, | 745 FLOATING_POINT_EXT, |
| 746 // PPC/S390 |
| 747 UNALIGNED_ACCESSES, |
| 748 |
747 NUMBER_OF_CPU_FEATURES | 749 NUMBER_OF_CPU_FEATURES |
748 }; | 750 }; |
749 | 751 |
750 // Defines hints about receiver values based on structural knowledge. | 752 // Defines hints about receiver values based on structural knowledge. |
751 enum class ConvertReceiverMode : unsigned { | 753 enum class ConvertReceiverMode : unsigned { |
752 kNullOrUndefined, // Guaranteed to be null or undefined. | 754 kNullOrUndefined, // Guaranteed to be null or undefined. |
753 kNotNullOrUndefined, // Guaranteed to never be null or undefined. | 755 kNotNullOrUndefined, // Guaranteed to never be null or undefined. |
754 kAny // No specific knowledge about receiver. | 756 kAny // No specific knowledge about receiver. |
755 }; | 757 }; |
756 | 758 |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1133 return static_cast<uint32_t>(bit_cast<uintptr_t>(address) >> | 1135 return static_cast<uint32_t>(bit_cast<uintptr_t>(address) >> |
1134 kPointerSizeLog2); | 1136 kPointerSizeLog2); |
1135 } | 1137 } |
1136 | 1138 |
1137 } // namespace internal | 1139 } // namespace internal |
1138 } // namespace v8 | 1140 } // namespace v8 |
1139 | 1141 |
1140 namespace i = v8::internal; | 1142 namespace i = v8::internal; |
1141 | 1143 |
1142 #endif // V8_GLOBALS_H_ | 1144 #endif // V8_GLOBALS_H_ |
OLD | NEW |