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 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
648 | 648 |
649 | 649 |
650 // CPU feature flags. | 650 // CPU feature flags. |
651 enum CpuFeature { | 651 enum CpuFeature { |
652 // x86 | 652 // x86 |
653 SSE4_1, | 653 SSE4_1, |
654 SSE3, | 654 SSE3, |
655 SAHF, | 655 SAHF, |
656 AVX, | 656 AVX, |
657 FMA3, | 657 FMA3, |
| 658 BMI1, |
| 659 BMI2, |
| 660 LZCNT, |
| 661 POPCNT, |
658 ATOM, | 662 ATOM, |
659 // ARM | 663 // ARM |
660 VFP3, | 664 VFP3, |
661 ARMv7, | 665 ARMv7, |
662 ARMv8, | 666 ARMv8, |
663 SUDIV, | 667 SUDIV, |
664 MLS, | 668 MLS, |
665 UNALIGNED_ACCESSES, | 669 UNALIGNED_ACCESSES, |
666 MOVW_MOVT_IMMEDIATE_LOADS, | 670 MOVW_MOVT_IMMEDIATE_LOADS, |
667 VFP32DREGS, | 671 VFP32DREGS, |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
925 inline FunctionKind WithObjectLiteralBit(FunctionKind kind) { | 929 inline FunctionKind WithObjectLiteralBit(FunctionKind kind) { |
926 kind = static_cast<FunctionKind>(kind | FunctionKind::kInObjectLiteral); | 930 kind = static_cast<FunctionKind>(kind | FunctionKind::kInObjectLiteral); |
927 DCHECK(IsValidFunctionKind(kind)); | 931 DCHECK(IsValidFunctionKind(kind)); |
928 return kind; | 932 return kind; |
929 } | 933 } |
930 } } // namespace v8::internal | 934 } } // namespace v8::internal |
931 | 935 |
932 namespace i = v8::internal; | 936 namespace i = v8::internal; |
933 | 937 |
934 #endif // V8_GLOBALS_H_ | 938 #endif // V8_GLOBALS_H_ |
OLD | NEW |