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_MACRO_ASSEMBLER_ARM64_H_ | 5 #ifndef V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "src/globals.h" | 10 #include "src/globals.h" |
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
524 // Other than the registers passed into Pop, the stack pointer and (possibly) | 524 // Other than the registers passed into Pop, the stack pointer and (possibly) |
525 // the system stack pointer, these methods do not modify any other registers. | 525 // the system stack pointer, these methods do not modify any other registers. |
526 void Push(const CPURegister& src0, const CPURegister& src1 = NoReg, | 526 void Push(const CPURegister& src0, const CPURegister& src1 = NoReg, |
527 const CPURegister& src2 = NoReg, const CPURegister& src3 = NoReg); | 527 const CPURegister& src2 = NoReg, const CPURegister& src3 = NoReg); |
528 void Push(const CPURegister& src0, const CPURegister& src1, | 528 void Push(const CPURegister& src0, const CPURegister& src1, |
529 const CPURegister& src2, const CPURegister& src3, | 529 const CPURegister& src2, const CPURegister& src3, |
530 const CPURegister& src4, const CPURegister& src5 = NoReg, | 530 const CPURegister& src4, const CPURegister& src5 = NoReg, |
531 const CPURegister& src6 = NoReg, const CPURegister& src7 = NoReg); | 531 const CPURegister& src6 = NoReg, const CPURegister& src7 = NoReg); |
532 void Pop(const CPURegister& dst0, const CPURegister& dst1 = NoReg, | 532 void Pop(const CPURegister& dst0, const CPURegister& dst1 = NoReg, |
533 const CPURegister& dst2 = NoReg, const CPURegister& dst3 = NoReg); | 533 const CPURegister& dst2 = NoReg, const CPURegister& dst3 = NoReg); |
| 534 void Push(const Register& src0, const FPRegister& src1); |
534 | 535 |
535 // Alternative forms of Push and Pop, taking a RegList or CPURegList that | 536 // Alternative forms of Push and Pop, taking a RegList or CPURegList that |
536 // specifies the registers that are to be pushed or popped. Higher-numbered | 537 // specifies the registers that are to be pushed or popped. Higher-numbered |
537 // registers are associated with higher memory addresses (as in the A32 push | 538 // registers are associated with higher memory addresses (as in the A32 push |
538 // and pop instructions). | 539 // and pop instructions). |
539 // | 540 // |
540 // (Push|Pop)SizeRegList allow you to specify the register size as a | 541 // (Push|Pop)SizeRegList allow you to specify the register size as a |
541 // parameter. Only kXRegSizeInBits, kWRegSizeInBits, kDRegSizeInBits and | 542 // parameter. Only kXRegSizeInBits, kWRegSizeInBits, kDRegSizeInBits and |
542 // kSRegSizeInBits are supported. | 543 // kSRegSizeInBits are supported. |
543 // | 544 // |
(...skipping 1774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2318 #error "Unsupported option" | 2319 #error "Unsupported option" |
2319 #define CODE_COVERAGE_STRINGIFY(x) #x | 2320 #define CODE_COVERAGE_STRINGIFY(x) #x |
2320 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2321 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
2321 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2322 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
2322 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2323 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
2323 #else | 2324 #else |
2324 #define ACCESS_MASM(masm) masm-> | 2325 #define ACCESS_MASM(masm) masm-> |
2325 #endif | 2326 #endif |
2326 | 2327 |
2327 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2328 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
OLD | NEW |