Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(419)

Side by Side Diff: src/arm64/macro-assembler-arm64.h

Issue 444803003: Move ARM64 macros to macro-assembler-arm64.h. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/checks.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
11 11
12 #include "src/arm64/assembler-arm64-inl.h" 12 #include "src/arm64/assembler-arm64-inl.h"
13 13
14 // Simulator specific helpers.
15 #if USE_SIMULATOR
16 // TODO(all): If possible automatically prepend an indicator like
17 // UNIMPLEMENTED or LOCATION.
18 #define ASM_UNIMPLEMENTED(message) \
19 __ Debug(message, __LINE__, NO_PARAM)
20 #define ASM_UNIMPLEMENTED_BREAK(message) \
21 __ Debug(message, __LINE__, \
22 FLAG_ignore_asm_unimplemented_break ? NO_PARAM : BREAK)
23 #define ASM_LOCATION(message) \
24 __ Debug("LOCATION: " message, __LINE__, NO_PARAM)
25 #else
26 #define ASM_UNIMPLEMENTED(message)
27 #define ASM_UNIMPLEMENTED_BREAK(message)
28 #define ASM_LOCATION(message)
29 #endif
30
31
14 namespace v8 { 32 namespace v8 {
15 namespace internal { 33 namespace internal {
16 34
17 #define LS_MACRO_LIST(V) \ 35 #define LS_MACRO_LIST(V) \
18 V(Ldrb, Register&, rt, LDRB_w) \ 36 V(Ldrb, Register&, rt, LDRB_w) \
19 V(Strb, Register&, rt, STRB_w) \ 37 V(Strb, Register&, rt, STRB_w) \
20 V(Ldrsb, Register&, rt, rt.Is64Bits() ? LDRSB_x : LDRSB_w) \ 38 V(Ldrsb, Register&, rt, rt.Is64Bits() ? LDRSB_x : LDRSB_w) \
21 V(Ldrh, Register&, rt, LDRH_w) \ 39 V(Ldrh, Register&, rt, LDRH_w) \
22 V(Strh, Register&, rt, STRH_w) \ 40 V(Strh, Register&, rt, STRH_w) \
23 V(Ldrsh, Register&, rt, rt.Is64Bits() ? LDRSH_x : LDRSH_w) \ 41 V(Ldrsh, Register&, rt, rt.Is64Bits() ? LDRSH_x : LDRSH_w) \
(...skipping 2308 matching lines...) Expand 10 before | Expand all | Expand 10 after
2332 #error "Unsupported option" 2350 #error "Unsupported option"
2333 #define CODE_COVERAGE_STRINGIFY(x) #x 2351 #define CODE_COVERAGE_STRINGIFY(x) #x
2334 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 2352 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
2335 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 2353 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
2336 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 2354 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
2337 #else 2355 #else
2338 #define ACCESS_MASM(masm) masm-> 2356 #define ACCESS_MASM(masm) masm->
2339 #endif 2357 #endif
2340 2358
2341 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ 2359 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « no previous file | src/checks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698