| 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 V(X64I16x8Mul) \ | 170 V(X64I16x8Mul) \ |
| 171 V(X64I16x8MinS) \ | 171 V(X64I16x8MinS) \ |
| 172 V(X64I16x8MaxS) \ | 172 V(X64I16x8MaxS) \ |
| 173 V(X64I16x8Eq) \ | 173 V(X64I16x8Eq) \ |
| 174 V(X64I16x8Ne) \ | 174 V(X64I16x8Ne) \ |
| 175 V(X64I16x8ShrU) \ | 175 V(X64I16x8ShrU) \ |
| 176 V(X64I16x8AddSaturateU) \ | 176 V(X64I16x8AddSaturateU) \ |
| 177 V(X64I16x8SubSaturateU) \ | 177 V(X64I16x8SubSaturateU) \ |
| 178 V(X64I16x8MinU) \ | 178 V(X64I16x8MinU) \ |
| 179 V(X64I16x8MaxU) \ | 179 V(X64I16x8MaxU) \ |
| 180 V(X64I8x16Splat) \ |
| 181 V(X64I8x16ExtractLane) \ |
| 182 V(X64I8x16ReplaceLane) \ |
| 183 V(X64I8x16Add) \ |
| 184 V(X64I8x16AddSaturateS) \ |
| 185 V(X64I8x16Sub) \ |
| 186 V(X64I8x16SubSaturateS) \ |
| 187 V(X64I8x16MinS) \ |
| 188 V(X64I8x16MaxS) \ |
| 189 V(X64I8x16Eq) \ |
| 190 V(X64I8x16Ne) \ |
| 191 V(X64I8x16AddSaturateU) \ |
| 192 V(X64I8x16SubSaturateU) \ |
| 193 V(X64I8x16MinU) \ |
| 194 V(X64I8x16MaxU) \ |
| 180 V(X64S128Select) \ | 195 V(X64S128Select) \ |
| 181 V(X64S128Zero) | 196 V(X64S128Zero) |
| 182 | 197 |
| 183 // Addressing modes represent the "shape" of inputs to an instruction. | 198 // Addressing modes represent the "shape" of inputs to an instruction. |
| 184 // Many instructions support multiple addressing modes. Addressing modes | 199 // Many instructions support multiple addressing modes. Addressing modes |
| 185 // are encoded into the InstructionCode of the instruction and tell the | 200 // are encoded into the InstructionCode of the instruction and tell the |
| 186 // code generator after register allocation which assembler method to call. | 201 // code generator after register allocation which assembler method to call. |
| 187 // | 202 // |
| 188 // We use the following local notation for addressing modes: | 203 // We use the following local notation for addressing modes: |
| 189 // | 204 // |
| (...skipping 23 matching lines...) Expand all Loading... |
| 213 V(M8I) /* [ %r2*8 + K] */ \ | 228 V(M8I) /* [ %r2*8 + K] */ \ |
| 214 V(Root) /* [%root + K] */ | 229 V(Root) /* [%root + K] */ |
| 215 | 230 |
| 216 enum X64MemoryProtection { kUnprotected = 0, kProtected = 1 }; | 231 enum X64MemoryProtection { kUnprotected = 0, kProtected = 1 }; |
| 217 | 232 |
| 218 } // namespace compiler | 233 } // namespace compiler |
| 219 } // namespace internal | 234 } // namespace internal |
| 220 } // namespace v8 | 235 } // namespace v8 |
| 221 | 236 |
| 222 #endif // V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ | 237 #endif // V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ |
| OLD | NEW |