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 #include "src/base/macros.h" | 8 #include "src/base/macros.h" |
9 #include "src/globals.h" | 9 #include "src/globals.h" |
10 | 10 |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 V_(ImmHint, 11, 5, Bits) \ | 192 V_(ImmHint, 11, 5, Bits) \ |
193 V_(ImmBarrierDomain, 11, 10, Bits) \ | 193 V_(ImmBarrierDomain, 11, 10, Bits) \ |
194 V_(ImmBarrierType, 9, 8, Bits) \ | 194 V_(ImmBarrierType, 9, 8, Bits) \ |
195 \ | 195 \ |
196 /* System (MRS, MSR) */ \ | 196 /* System (MRS, MSR) */ \ |
197 V_(ImmSystemRegister, 19, 5, Bits) \ | 197 V_(ImmSystemRegister, 19, 5, Bits) \ |
198 V_(SysO0, 19, 19, Bits) \ | 198 V_(SysO0, 19, 19, Bits) \ |
199 V_(SysOp1, 18, 16, Bits) \ | 199 V_(SysOp1, 18, 16, Bits) \ |
200 V_(SysOp2, 7, 5, Bits) \ | 200 V_(SysOp2, 7, 5, Bits) \ |
201 V_(CRn, 15, 12, Bits) \ | 201 V_(CRn, 15, 12, Bits) \ |
202 V_(CRm, 11, 8, Bits) \ | 202 V_(CRm, 11, 8, Bits) |
203 \ | |
204 /* Load-/store-exclusive */ \ | |
205 V_(LoadStoreXLoad, 22, 22, Bits) \ | |
206 V_(LoadStoreXNotExclusive, 23, 23, Bits) \ | |
207 V_(LoadStoreXAcquireRelease, 15, 15, Bits) \ | |
208 V_(LoadStoreXSizeLog2, 31, 30, Bits) \ | |
209 V_(LoadStoreXPair, 21, 21, Bits) | |
210 | 203 |
211 #define SYSTEM_REGISTER_FIELDS_LIST(V_, M_) \ | 204 #define SYSTEM_REGISTER_FIELDS_LIST(V_, M_) \ |
212 /* NZCV */ \ | 205 /* NZCV */ \ |
213 V_(Flags, 31, 28, Bits, uint32_t) \ | 206 V_(Flags, 31, 28, Bits, uint32_t) \ |
214 V_(N, 31, 31, Bits, bool) \ | 207 V_(N, 31, 31, Bits, bool) \ |
215 V_(Z, 30, 30, Bits, bool) \ | 208 V_(Z, 30, 30, Bits, bool) \ |
216 V_(C, 29, 29, Bits, bool) \ | 209 V_(C, 29, 29, Bits, bool) \ |
217 V_(V, 28, 28, Bits, uint32_t) \ | 210 V_(V, 28, 28, Bits, uint32_t) \ |
218 M_(NZCV, Flags_mask) \ | 211 M_(NZCV, Flags_mask) \ |
219 \ | 212 \ |
(...skipping 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1257 | 1250 |
1258 enum UnallocatedOp { | 1251 enum UnallocatedOp { |
1259 UnallocatedFixed = 0x00000000, | 1252 UnallocatedFixed = 0x00000000, |
1260 UnallocatedFMask = 0x00000000 | 1253 UnallocatedFMask = 0x00000000 |
1261 }; | 1254 }; |
1262 | 1255 |
1263 } // namespace internal | 1256 } // namespace internal |
1264 } // namespace v8 | 1257 } // namespace v8 |
1265 | 1258 |
1266 #endif // V8_ARM64_CONSTANTS_ARM64_H_ | 1259 #endif // V8_ARM64_CONSTANTS_ARM64_H_ |
OLD | NEW |