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

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

Issue 1289863003: [interpreter]: Changes to interpreter builtins for accumulator and register file registers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@fix_interpreter_initialization
Patch Set: Rename incoming_accumulator Created 5 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
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/compiler/interpreter-assembler.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/arm64/assembler-arm64.h" 10 #include "src/arm64/assembler-arm64.h"
(...skipping 21 matching lines...) Expand all
32 32
33 namespace v8 { 33 namespace v8 {
34 namespace internal { 34 namespace internal {
35 35
36 // Give alias names to registers for calling conventions. 36 // Give alias names to registers for calling conventions.
37 // TODO(titzer): arm64 is a pain for aliasing; get rid of these macros 37 // TODO(titzer): arm64 is a pain for aliasing; get rid of these macros
38 #define kReturnRegister0 x0 38 #define kReturnRegister0 x0
39 #define kReturnRegister1 x1 39 #define kReturnRegister1 x1
40 #define kJSFunctionRegister x1 40 #define kJSFunctionRegister x1
41 #define kContextRegister cp 41 #define kContextRegister cp
42 #define kInterpreterAccumulatorRegister x0
43 #define kInterpreterRegisterFileRegister x18
42 #define kInterpreterBytecodeOffsetRegister x19 44 #define kInterpreterBytecodeOffsetRegister x19
43 #define kInterpreterBytecodeArrayRegister x20 45 #define kInterpreterBytecodeArrayRegister x20
44 #define kInterpreterDispatchTableRegister x21 46 #define kInterpreterDispatchTableRegister x21
45 #define kRuntimeCallFunctionRegister x1 47 #define kRuntimeCallFunctionRegister x1
46 #define kRuntimeCallArgCountRegister x0 48 #define kRuntimeCallArgCountRegister x0
47 49
48 #define LS_MACRO_LIST(V) \ 50 #define LS_MACRO_LIST(V) \
49 V(Ldrb, Register&, rt, LDRB_w) \ 51 V(Ldrb, Register&, rt, LDRB_w) \
50 V(Strb, Register&, rt, STRB_w) \ 52 V(Strb, Register&, rt, STRB_w) \
51 V(Ldrsb, Register&, rt, rt.Is64Bits() ? LDRSB_x : LDRSB_w) \ 53 V(Ldrsb, Register&, rt, rt.Is64Bits() ? LDRSB_x : LDRSB_w) \
(...skipping 2255 matching lines...) Expand 10 before | Expand all | Expand 10 after
2307 #error "Unsupported option" 2309 #error "Unsupported option"
2308 #define CODE_COVERAGE_STRINGIFY(x) #x 2310 #define CODE_COVERAGE_STRINGIFY(x) #x
2309 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 2311 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
2310 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 2312 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
2311 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 2313 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
2312 #else 2314 #else
2313 #define ACCESS_MASM(masm) masm-> 2315 #define ACCESS_MASM(masm) masm->
2314 #endif 2316 #endif
2315 2317
2316 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ 2318 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/compiler/interpreter-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698