| 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); |
| 403 | 406 |
| 404 // Keeps the 0 double value. | 407 // Keeps the 0 double value. |
| 405 ALIAS_REGISTER(FPRegister, fp_zero, d15); | 408 ALIAS_REGISTER(FPRegister, fp_zero, d15); |
| 406 // Crankshaft double scratch register. | 409 // Crankshaft double scratch register. |
| 407 ALIAS_REGISTER(FPRegister, crankshaft_fp_scratch, d29); | 410 ALIAS_REGISTER(FPRegister, crankshaft_fp_scratch, d29); |
| 408 // MacroAssembler double scratch registers. | 411 // MacroAssembler double scratch registers. |
| 409 ALIAS_REGISTER(FPRegister, fp_scratch, d30); | 412 ALIAS_REGISTER(FPRegister, fp_scratch, d30); |
| 410 ALIAS_REGISTER(FPRegister, fp_scratch1, d30); | 413 ALIAS_REGISTER(FPRegister, fp_scratch1, d30); |
| 411 ALIAS_REGISTER(FPRegister, fp_scratch2, d31); | 414 ALIAS_REGISTER(FPRegister, fp_scratch2, d31); |
| 412 | 415 |
| (...skipping 1895 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2308 class EnsureSpace BASE_EMBEDDED { | 2311 class EnsureSpace BASE_EMBEDDED { |
| 2309 public: | 2312 public: |
| 2310 explicit EnsureSpace(Assembler* assembler) { | 2313 explicit EnsureSpace(Assembler* assembler) { |
| 2311 assembler->CheckBufferSpace(); | 2314 assembler->CheckBufferSpace(); |
| 2312 } | 2315 } |
| 2313 }; | 2316 }; |
| 2314 | 2317 |
| 2315 } } // namespace v8::internal | 2318 } } // namespace v8::internal |
| 2316 | 2319 |
| 2317 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ | 2320 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ |
| OLD | NEW |