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

Side by Side Diff: src/compiler/arm/instruction-codes-arm.h

Issue 508863002: [turbofan] Refactor code generation for calls. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_COMPILER_ARM_INSTRUCTION_CODES_ARM_H_ 5 #ifndef V8_COMPILER_ARM_INSTRUCTION_CODES_ARM_H_
6 #define V8_COMPILER_ARM_INSTRUCTION_CODES_ARM_H_ 6 #define V8_COMPILER_ARM_INSTRUCTION_CODES_ARM_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 namespace compiler { 10 namespace compiler {
(...skipping 14 matching lines...) Expand all
25 V(ArmRsb) \ 25 V(ArmRsb) \
26 V(ArmMul) \ 26 V(ArmMul) \
27 V(ArmMla) \ 27 V(ArmMla) \
28 V(ArmMls) \ 28 V(ArmMls) \
29 V(ArmSdiv) \ 29 V(ArmSdiv) \
30 V(ArmUdiv) \ 30 V(ArmUdiv) \
31 V(ArmMov) \ 31 V(ArmMov) \
32 V(ArmMvn) \ 32 V(ArmMvn) \
33 V(ArmBfc) \ 33 V(ArmBfc) \
34 V(ArmUbfx) \ 34 V(ArmUbfx) \
35 V(ArmCallCodeObject) \
36 V(ArmCallJSFunction) \
37 V(ArmCallAddress) \
38 V(ArmPush) \
39 V(ArmDrop) \
40 V(ArmVcmpF64) \ 35 V(ArmVcmpF64) \
41 V(ArmVaddF64) \ 36 V(ArmVaddF64) \
42 V(ArmVsubF64) \ 37 V(ArmVsubF64) \
43 V(ArmVmulF64) \ 38 V(ArmVmulF64) \
44 V(ArmVmlaF64) \ 39 V(ArmVmlaF64) \
45 V(ArmVmlsF64) \ 40 V(ArmVmlsF64) \
46 V(ArmVdivF64) \ 41 V(ArmVdivF64) \
47 V(ArmVmodF64) \ 42 V(ArmVmodF64) \
48 V(ArmVnegF64) \ 43 V(ArmVnegF64) \
49 V(ArmVcvtF64S32) \ 44 V(ArmVcvtF64S32) \
50 V(ArmVcvtF64U32) \ 45 V(ArmVcvtF64U32) \
51 V(ArmVcvtS32F64) \ 46 V(ArmVcvtS32F64) \
52 V(ArmVcvtU32F64) \ 47 V(ArmVcvtU32F64) \
53 V(ArmVldr32) \ 48 V(ArmVldr32) \
54 V(ArmVstr32) \ 49 V(ArmVstr32) \
55 V(ArmVldr64) \ 50 V(ArmVldr64) \
56 V(ArmVstr64) \ 51 V(ArmVstr64) \
57 V(ArmLdrb) \ 52 V(ArmLdrb) \
58 V(ArmLdrsb) \ 53 V(ArmLdrsb) \
59 V(ArmStrb) \ 54 V(ArmStrb) \
60 V(ArmLdrh) \ 55 V(ArmLdrh) \
61 V(ArmLdrsh) \ 56 V(ArmLdrsh) \
62 V(ArmStrh) \ 57 V(ArmStrh) \
63 V(ArmLdr) \ 58 V(ArmLdr) \
64 V(ArmStr) \ 59 V(ArmStr) \
60 V(ArmPush) \
65 V(ArmStoreWriteBarrier) 61 V(ArmStoreWriteBarrier)
66 62
67 63
68 // Addressing modes represent the "shape" of inputs to an instruction. 64 // Addressing modes represent the "shape" of inputs to an instruction.
69 // Many instructions support multiple addressing modes. Addressing modes 65 // Many instructions support multiple addressing modes. Addressing modes
70 // are encoded into the InstructionCode of the instruction and tell the 66 // are encoded into the InstructionCode of the instruction and tell the
71 // code generator after register allocation which assembler method to call. 67 // code generator after register allocation which assembler method to call.
72 #define TARGET_ADDRESSING_MODE_LIST(V) \ 68 #define TARGET_ADDRESSING_MODE_LIST(V) \
73 V(Offset_RI) /* [%r0 + K] */ \ 69 V(Offset_RI) /* [%r0 + K] */ \
74 V(Offset_RR) /* [%r0 + %r1] */ \ 70 V(Offset_RR) /* [%r0 + %r1] */ \
75 V(Operand2_I) /* K */ \ 71 V(Operand2_I) /* K */ \
76 V(Operand2_R) /* %r0 */ \ 72 V(Operand2_R) /* %r0 */ \
77 V(Operand2_R_ASR_I) /* %r0 ASR K */ \ 73 V(Operand2_R_ASR_I) /* %r0 ASR K */ \
78 V(Operand2_R_LSL_I) /* %r0 LSL K */ \ 74 V(Operand2_R_LSL_I) /* %r0 LSL K */ \
79 V(Operand2_R_LSR_I) /* %r0 LSR K */ \ 75 V(Operand2_R_LSR_I) /* %r0 LSR K */ \
80 V(Operand2_R_ROR_I) /* %r0 ROR K */ \ 76 V(Operand2_R_ROR_I) /* %r0 ROR K */ \
81 V(Operand2_R_ASR_R) /* %r0 ASR %r1 */ \ 77 V(Operand2_R_ASR_R) /* %r0 ASR %r1 */ \
82 V(Operand2_R_LSL_R) /* %r0 LSL %r1 */ \ 78 V(Operand2_R_LSL_R) /* %r0 LSL %r1 */ \
83 V(Operand2_R_LSR_R) /* %r0 LSR %r1 */ \ 79 V(Operand2_R_LSR_R) /* %r0 LSR %r1 */ \
84 V(Operand2_R_ROR_R) /* %r0 ROR %r1 */ 80 V(Operand2_R_ROR_R) /* %r0 ROR %r1 */
85 81
86 } // namespace compiler 82 } // namespace compiler
87 } // namespace internal 83 } // namespace internal
88 } // namespace v8 84 } // namespace v8
89 85
90 #endif // V8_COMPILER_ARM_INSTRUCTION_CODES_ARM_H_ 86 #endif // V8_COMPILER_ARM_INSTRUCTION_CODES_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698