| 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/bailout-reason.h" | 10 #include "src/bailout-reason.h" |
| (...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 562 // Other than the registers passed into Pop, the stack pointer and (possibly) | 562 // Other than the registers passed into Pop, the stack pointer and (possibly) |
| 563 // the system stack pointer, these methods do not modify any other registers. | 563 // the system stack pointer, these methods do not modify any other registers. |
| 564 void Push(const CPURegister& src0, const CPURegister& src1 = NoReg, | 564 void Push(const CPURegister& src0, const CPURegister& src1 = NoReg, |
| 565 const CPURegister& src2 = NoReg, const CPURegister& src3 = NoReg); | 565 const CPURegister& src2 = NoReg, const CPURegister& src3 = NoReg); |
| 566 void Push(const CPURegister& src0, const CPURegister& src1, | 566 void Push(const CPURegister& src0, const CPURegister& src1, |
| 567 const CPURegister& src2, const CPURegister& src3, | 567 const CPURegister& src2, const CPURegister& src3, |
| 568 const CPURegister& src4, const CPURegister& src5 = NoReg, | 568 const CPURegister& src4, const CPURegister& src5 = NoReg, |
| 569 const CPURegister& src6 = NoReg, const CPURegister& src7 = NoReg); | 569 const CPURegister& src6 = NoReg, const CPURegister& src7 = NoReg); |
| 570 void Pop(const CPURegister& dst0, const CPURegister& dst1 = NoReg, | 570 void Pop(const CPURegister& dst0, const CPURegister& dst1 = NoReg, |
| 571 const CPURegister& dst2 = NoReg, const CPURegister& dst3 = NoReg); | 571 const CPURegister& dst2 = NoReg, const CPURegister& dst3 = NoReg); |
| 572 void Pop(const CPURegister& dst0, const CPURegister& dst1, |
| 573 const CPURegister& dst2, const CPURegister& dst3, |
| 574 const CPURegister& dst4, const CPURegister& dst5 = NoReg, |
| 575 const CPURegister& dst6 = NoReg, const CPURegister& dst7 = NoReg); |
| 572 void Push(const Register& src0, const FPRegister& src1); | 576 void Push(const Register& src0, const FPRegister& src1); |
| 573 | 577 |
| 574 // Alternative forms of Push and Pop, taking a RegList or CPURegList that | 578 // Alternative forms of Push and Pop, taking a RegList or CPURegList that |
| 575 // specifies the registers that are to be pushed or popped. Higher-numbered | 579 // specifies the registers that are to be pushed or popped. Higher-numbered |
| 576 // registers are associated with higher memory addresses (as in the A32 push | 580 // registers are associated with higher memory addresses (as in the A32 push |
| 577 // and pop instructions). | 581 // and pop instructions). |
| 578 // | 582 // |
| 579 // (Push|Pop)SizeRegList allow you to specify the register size as a | 583 // (Push|Pop)SizeRegList allow you to specify the register size as a |
| 580 // parameter. Only kXRegSizeInBits, kWRegSizeInBits, kDRegSizeInBits and | 584 // parameter. Only kXRegSizeInBits, kWRegSizeInBits, kDRegSizeInBits and |
| 581 // kSRegSizeInBits are supported. | 585 // kSRegSizeInBits are supported. |
| (...skipping 1710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2292 #error "Unsupported option" | 2296 #error "Unsupported option" |
| 2293 #define CODE_COVERAGE_STRINGIFY(x) #x | 2297 #define CODE_COVERAGE_STRINGIFY(x) #x |
| 2294 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2298 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 2295 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2299 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 2296 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2300 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 2297 #else | 2301 #else |
| 2298 #define ACCESS_MASM(masm) masm-> | 2302 #define ACCESS_MASM(masm) masm-> |
| 2299 #endif | 2303 #endif |
| 2300 | 2304 |
| 2301 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2305 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
| OLD | NEW |