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_ASSEMBLER_ARM64_H_ | 5 #ifndef V8_ARM64_ASSEMBLER_ARM64_H_ |
6 #define V8_ARM64_ASSEMBLER_ARM64_H_ | 6 #define V8_ARM64_ASSEMBLER_ARM64_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <list> | 9 #include <list> |
10 #include <map> | 10 #include <map> |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 // architectural SP alignment. | 393 // architectural SP alignment. |
394 // We chose x28 because it is contiguous with the other specific purpose | 394 // We chose x28 because it is contiguous with the other specific purpose |
395 // registers. | 395 // registers. |
396 STATIC_ASSERT(kJSSPCode == 28); | 396 STATIC_ASSERT(kJSSPCode == 28); |
397 ALIAS_REGISTER(Register, jssp, x28); | 397 ALIAS_REGISTER(Register, jssp, x28); |
398 ALIAS_REGISTER(Register, wjssp, w28); | 398 ALIAS_REGISTER(Register, wjssp, w28); |
399 ALIAS_REGISTER(Register, fp, x29); | 399 ALIAS_REGISTER(Register, fp, x29); |
400 ALIAS_REGISTER(Register, lr, x30); | 400 ALIAS_REGISTER(Register, lr, x30); |
401 ALIAS_REGISTER(Register, xzr, x31); | 401 ALIAS_REGISTER(Register, xzr, x31); |
402 ALIAS_REGISTER(Register, wzr, w31); | 402 ALIAS_REGISTER(Register, wzr, w31); |
403 ALIAS_REGISTER(Register, kInterpreterBytecodeOffsetRegister, x19); | |
404 ALIAS_REGISTER(Register, kInterpreterBytecodeArrayRegister, x20); | |
405 ALIAS_REGISTER(Register, kInterpreterDispatchTableRegister, x21); | |
406 | 403 |
407 // Keeps the 0 double value. | 404 // Keeps the 0 double value. |
408 ALIAS_REGISTER(FPRegister, fp_zero, d15); | 405 ALIAS_REGISTER(FPRegister, fp_zero, d15); |
409 // Crankshaft double scratch register. | 406 // Crankshaft double scratch register. |
410 ALIAS_REGISTER(FPRegister, crankshaft_fp_scratch, d29); | 407 ALIAS_REGISTER(FPRegister, crankshaft_fp_scratch, d29); |
411 // MacroAssembler double scratch registers. | 408 // MacroAssembler double scratch registers. |
412 ALIAS_REGISTER(FPRegister, fp_scratch, d30); | 409 ALIAS_REGISTER(FPRegister, fp_scratch, d30); |
413 ALIAS_REGISTER(FPRegister, fp_scratch1, d30); | 410 ALIAS_REGISTER(FPRegister, fp_scratch1, d30); |
414 ALIAS_REGISTER(FPRegister, fp_scratch2, d31); | 411 ALIAS_REGISTER(FPRegister, fp_scratch2, d31); |
415 | 412 |
(...skipping 1895 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2311 class EnsureSpace BASE_EMBEDDED { | 2308 class EnsureSpace BASE_EMBEDDED { |
2312 public: | 2309 public: |
2313 explicit EnsureSpace(Assembler* assembler) { | 2310 explicit EnsureSpace(Assembler* assembler) { |
2314 assembler->CheckBufferSpace(); | 2311 assembler->CheckBufferSpace(); |
2315 } | 2312 } |
2316 }; | 2313 }; |
2317 | 2314 |
2318 } } // namespace v8::internal | 2315 } } // namespace v8::internal |
2319 | 2316 |
2320 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ | 2317 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ |
OLD | NEW |