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_ARM64_CONSTANTS_ARM64_H_ | 5 #ifndef V8_ARM64_CONSTANTS_ARM64_H_ |
6 #define V8_ARM64_CONSTANTS_ARM64_H_ | 6 #define V8_ARM64_CONSTANTS_ARM64_H_ |
7 | 7 |
8 | 8 |
9 // Assert that this is an LP64 system. | 9 // Assert that this is an LP64 system. |
10 STATIC_ASSERT(sizeof(int) == sizeof(int32_t)); // NOLINT(runtime/sizeof) | 10 STATIC_ASSERT(sizeof(int) == sizeof(int32_t)); // NOLINT(runtime/sizeof) |
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 enum LoadStorePairOffsetOp { | 755 enum LoadStorePairOffsetOp { |
756 LoadStorePairOffsetFixed = 0x29000000, | 756 LoadStorePairOffsetFixed = 0x29000000, |
757 LoadStorePairOffsetFMask = 0x3B800000, | 757 LoadStorePairOffsetFMask = 0x3B800000, |
758 LoadStorePairOffsetMask = 0xFFC00000, | 758 LoadStorePairOffsetMask = 0xFFC00000, |
759 #define LOAD_STORE_PAIR_OFFSET(A, B, C) \ | 759 #define LOAD_STORE_PAIR_OFFSET(A, B, C) \ |
760 A##_##B##_off = LoadStorePairOffsetFixed | A##_##B | 760 A##_##B##_off = LoadStorePairOffsetFixed | A##_##B |
761 LOAD_STORE_PAIR_OP_LIST(LOAD_STORE_PAIR_OFFSET) | 761 LOAD_STORE_PAIR_OP_LIST(LOAD_STORE_PAIR_OFFSET) |
762 #undef LOAD_STORE_PAIR_OFFSET | 762 #undef LOAD_STORE_PAIR_OFFSET |
763 }; | 763 }; |
764 | 764 |
765 enum LoadStorePairNonTemporalOp { | |
766 LoadStorePairNonTemporalFixed = 0x28000000, | |
767 LoadStorePairNonTemporalFMask = 0x3B800000, | |
768 LoadStorePairNonTemporalMask = 0xFFC00000, | |
769 STNP_w = LoadStorePairNonTemporalFixed | STP_w, | |
770 LDNP_w = LoadStorePairNonTemporalFixed | LDP_w, | |
771 STNP_x = LoadStorePairNonTemporalFixed | STP_x, | |
772 LDNP_x = LoadStorePairNonTemporalFixed | LDP_x, | |
773 STNP_s = LoadStorePairNonTemporalFixed | STP_s, | |
774 LDNP_s = LoadStorePairNonTemporalFixed | LDP_s, | |
775 STNP_d = LoadStorePairNonTemporalFixed | STP_d, | |
776 LDNP_d = LoadStorePairNonTemporalFixed | LDP_d | |
777 }; | |
778 | |
779 // Load literal. | 765 // Load literal. |
780 enum LoadLiteralOp { | 766 enum LoadLiteralOp { |
781 LoadLiteralFixed = 0x18000000, | 767 LoadLiteralFixed = 0x18000000, |
782 LoadLiteralFMask = 0x3B000000, | 768 LoadLiteralFMask = 0x3B000000, |
783 LoadLiteralMask = 0xFF000000, | 769 LoadLiteralMask = 0xFF000000, |
784 LDR_w_lit = LoadLiteralFixed | 0x00000000, | 770 LDR_w_lit = LoadLiteralFixed | 0x00000000, |
785 LDR_x_lit = LoadLiteralFixed | 0x40000000, | 771 LDR_x_lit = LoadLiteralFixed | 0x40000000, |
786 LDRSW_x_lit = LoadLiteralFixed | 0x80000000, | 772 LDRSW_x_lit = LoadLiteralFixed | 0x80000000, |
787 PRFM_lit = LoadLiteralFixed | 0xC0000000, | 773 PRFM_lit = LoadLiteralFixed | 0xC0000000, |
788 LDR_s_lit = LoadLiteralFixed | 0x04000000, | 774 LDR_s_lit = LoadLiteralFixed | 0x04000000, |
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1245 }; | 1231 }; |
1246 | 1232 |
1247 enum UnallocatedOp { | 1233 enum UnallocatedOp { |
1248 UnallocatedFixed = 0x00000000, | 1234 UnallocatedFixed = 0x00000000, |
1249 UnallocatedFMask = 0x00000000 | 1235 UnallocatedFMask = 0x00000000 |
1250 }; | 1236 }; |
1251 | 1237 |
1252 } } // namespace v8::internal | 1238 } } // namespace v8::internal |
1253 | 1239 |
1254 #endif // V8_ARM64_CONSTANTS_ARM64_H_ | 1240 #endif // V8_ARM64_CONSTANTS_ARM64_H_ |
OLD | NEW |