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 "globals.h" | 10 #include "src/globals.h" |
11 | 11 |
12 #include "arm64/assembler-arm64-inl.h" | 12 #include "src/arm64/assembler-arm64-inl.h" |
13 | 13 |
14 namespace v8 { | 14 namespace v8 { |
15 namespace internal { | 15 namespace internal { |
16 | 16 |
17 #define LS_MACRO_LIST(V) \ | 17 #define LS_MACRO_LIST(V) \ |
18 V(Ldrb, Register&, rt, LDRB_w) \ | 18 V(Ldrb, Register&, rt, LDRB_w) \ |
19 V(Strb, Register&, rt, STRB_w) \ | 19 V(Strb, Register&, rt, STRB_w) \ |
20 V(Ldrsb, Register&, rt, rt.Is64Bits() ? LDRSB_x : LDRSB_w) \ | 20 V(Ldrsb, Register&, rt, rt.Is64Bits() ? LDRSB_x : LDRSB_w) \ |
21 V(Ldrh, Register&, rt, LDRH_w) \ | 21 V(Ldrh, Register&, rt, LDRH_w) \ |
22 V(Strh, Register&, rt, STRH_w) \ | 22 V(Strh, Register&, rt, STRH_w) \ |
(...skipping 2276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2299 #error "Unsupported option" | 2299 #error "Unsupported option" |
2300 #define CODE_COVERAGE_STRINGIFY(x) #x | 2300 #define CODE_COVERAGE_STRINGIFY(x) #x |
2301 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2301 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
2302 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2302 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
2303 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2303 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
2304 #else | 2304 #else |
2305 #define ACCESS_MASM(masm) masm-> | 2305 #define ACCESS_MASM(masm) masm-> |
2306 #endif | 2306 #endif |
2307 | 2307 |
2308 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2308 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
OLD | NEW |