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_X64_INSTRUCTION_CODES_X64_H_ | 5 #ifndef V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ |
6 #define V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ | 6 #define V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ |
7 | 7 |
8 namespace v8 { | 8 namespace v8 { |
9 namespace internal { | 9 namespace internal { |
10 namespace compiler { | 10 namespace compiler { |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 V(X64BitcastFI) \ | 116 V(X64BitcastFI) \ |
117 V(X64BitcastDL) \ | 117 V(X64BitcastDL) \ |
118 V(X64BitcastIF) \ | 118 V(X64BitcastIF) \ |
119 V(X64BitcastLD) \ | 119 V(X64BitcastLD) \ |
120 V(X64Lea32) \ | 120 V(X64Lea32) \ |
121 V(X64Lea) \ | 121 V(X64Lea) \ |
122 V(X64Dec32) \ | 122 V(X64Dec32) \ |
123 V(X64Inc32) \ | 123 V(X64Inc32) \ |
124 V(X64Push) \ | 124 V(X64Push) \ |
125 V(X64Poke) \ | 125 V(X64Poke) \ |
126 V(X64StoreWriteBarrier) \ | |
127 V(X64StackCheck) | 126 V(X64StackCheck) |
128 | 127 |
129 | 128 |
130 // Addressing modes represent the "shape" of inputs to an instruction. | 129 // Addressing modes represent the "shape" of inputs to an instruction. |
131 // Many instructions support multiple addressing modes. Addressing modes | 130 // Many instructions support multiple addressing modes. Addressing modes |
132 // are encoded into the InstructionCode of the instruction and tell the | 131 // are encoded into the InstructionCode of the instruction and tell the |
133 // code generator after register allocation which assembler method to call. | 132 // code generator after register allocation which assembler method to call. |
134 // | 133 // |
135 // We use the following local notation for addressing modes: | 134 // We use the following local notation for addressing modes: |
136 // | 135 // |
(...skipping 20 matching lines...) Expand all Loading... |
157 V(M1I) /* [ %r2*1 + K] */ \ | 156 V(M1I) /* [ %r2*1 + K] */ \ |
158 V(M2I) /* [ %r2*2 + K] */ \ | 157 V(M2I) /* [ %r2*2 + K] */ \ |
159 V(M4I) /* [ %r2*4 + K] */ \ | 158 V(M4I) /* [ %r2*4 + K] */ \ |
160 V(M8I) /* [ %r2*8 + K] */ | 159 V(M8I) /* [ %r2*8 + K] */ |
161 | 160 |
162 } // namespace compiler | 161 } // namespace compiler |
163 } // namespace internal | 162 } // namespace internal |
164 } // namespace v8 | 163 } // namespace v8 |
165 | 164 |
166 #endif // V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ | 165 #endif // V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ |
OLD | NEW |