| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 V(X64Lea) \ | 140 V(X64Lea) \ |
| 141 V(X64Dec32) \ | 141 V(X64Dec32) \ |
| 142 V(X64Inc32) \ | 142 V(X64Inc32) \ |
| 143 V(X64Push) \ | 143 V(X64Push) \ |
| 144 V(X64Poke) \ | 144 V(X64Poke) \ |
| 145 V(X64StackCheck) \ | 145 V(X64StackCheck) \ |
| 146 V(X64Xchgb) \ | 146 V(X64Xchgb) \ |
| 147 V(X64Xchgw) \ | 147 V(X64Xchgw) \ |
| 148 V(X64Xchgl) \ | 148 V(X64Xchgl) \ |
| 149 V(X64Int32x4Create) \ | 149 V(X64Int32x4Create) \ |
| 150 V(X64Int32x4ExtractLane) | 150 V(X64Int32x4ExtractLane) \ |
| 151 V(X64Int32x4ReplaceLane) \ |
| 152 V(X64Int32x4Add) \ |
| 153 V(X64Int32x4Sub) |
| 151 | 154 |
| 152 // Addressing modes represent the "shape" of inputs to an instruction. | 155 // Addressing modes represent the "shape" of inputs to an instruction. |
| 153 // Many instructions support multiple addressing modes. Addressing modes | 156 // Many instructions support multiple addressing modes. Addressing modes |
| 154 // are encoded into the InstructionCode of the instruction and tell the | 157 // are encoded into the InstructionCode of the instruction and tell the |
| 155 // code generator after register allocation which assembler method to call. | 158 // code generator after register allocation which assembler method to call. |
| 156 // | 159 // |
| 157 // We use the following local notation for addressing modes: | 160 // We use the following local notation for addressing modes: |
| 158 // | 161 // |
| 159 // M = memory operand | 162 // M = memory operand |
| 160 // R = base register | 163 // R = base register |
| (...skipping 21 matching lines...) Expand all Loading... |
| 182 V(M8I) /* [ %r2*8 + K] */ \ | 185 V(M8I) /* [ %r2*8 + K] */ \ |
| 183 V(Root) /* [%root + K] */ | 186 V(Root) /* [%root + K] */ |
| 184 | 187 |
| 185 enum X64MemoryProtection { kUnprotected = 0, kProtected = 1 }; | 188 enum X64MemoryProtection { kUnprotected = 0, kProtected = 1 }; |
| 186 | 189 |
| 187 } // namespace compiler | 190 } // namespace compiler |
| 188 } // namespace internal | 191 } // namespace internal |
| 189 } // namespace v8 | 192 } // namespace v8 |
| 190 | 193 |
| 191 #endif // V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ | 194 #endif // V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ |
| OLD | NEW |