OLD | NEW |
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_ARM64_INSTRUCTION_CODES_ARM64_H_ | 5 #ifndef V8_COMPILER_ARM64_INSTRUCTION_CODES_ARM64_H_ |
6 #define V8_COMPILER_ARM64_INSTRUCTION_CODES_ARM64_H_ | 6 #define V8_COMPILER_ARM64_INSTRUCTION_CODES_ARM64_H_ |
7 | 7 |
8 namespace v8 { | 8 namespace v8 { |
9 namespace internal { | 9 namespace internal { |
10 namespace compiler { | 10 namespace compiler { |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 // code generator after register allocation which assembler method to call. | 106 // code generator after register allocation which assembler method to call. |
107 // | 107 // |
108 // We use the following local notation for addressing modes: | 108 // We use the following local notation for addressing modes: |
109 // | 109 // |
110 // R = register | 110 // R = register |
111 // O = register or stack slot | 111 // O = register or stack slot |
112 // D = double register | 112 // D = double register |
113 // I = immediate (handle, external, int32) | 113 // I = immediate (handle, external, int32) |
114 // MRI = [register + immediate] | 114 // MRI = [register + immediate] |
115 // MRR = [register + register] | 115 // MRR = [register + register] |
116 #define TARGET_ADDRESSING_MODE_LIST(V) \ | 116 #define TARGET_ADDRESSING_MODE_LIST(V) \ |
117 V(MRI) /* [%r0 + K] */ \ | 117 V(MRI) /* [%r0 + K] */ \ |
118 V(MRR) /* [%r0 + %r1] */ | 118 V(MRR) /* [%r0 + %r1] */ \ |
| 119 V(Operand2_R_LSL_I) /* %r0 LSL K */ \ |
| 120 V(Operand2_R_LSR_I) /* %r0 LSR K */ \ |
| 121 V(Operand2_R_ASR_I) /* %r0 ASR K */ \ |
| 122 V(Operand2_R_ROR_I) /* %r0 ROR K */ |
119 | 123 |
120 } // namespace internal | 124 } // namespace internal |
121 } // namespace compiler | 125 } // namespace compiler |
122 } // namespace v8 | 126 } // namespace v8 |
123 | 127 |
124 #endif // V8_COMPILER_ARM64_INSTRUCTION_CODES_ARM64_H_ | 128 #endif // V8_COMPILER_ARM64_INSTRUCTION_CODES_ARM64_H_ |
OLD | NEW |