| 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_MIPS_INSTRUCTION_CODES_MIPS_H_ | 5 #ifndef V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_ |
| 6 #define V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_ | 6 #define V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_ |
| 7 | 7 |
| 8 namespace v8 { | 8 namespace v8 { |
| 9 namespace internal { | 9 namespace internal { |
| 10 namespace compiler { | 10 namespace compiler { |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 V(Mips64I8x16ShrU) \ | 255 V(Mips64I8x16ShrU) \ |
| 256 V(Mips64I8x16AddSaturateU) \ | 256 V(Mips64I8x16AddSaturateU) \ |
| 257 V(Mips64I8x16SubSaturateU) \ | 257 V(Mips64I8x16SubSaturateU) \ |
| 258 V(Mips64I8x16MaxU) \ | 258 V(Mips64I8x16MaxU) \ |
| 259 V(Mips64I8x16MinU) \ | 259 V(Mips64I8x16MinU) \ |
| 260 V(Mips64I8x16GtU) \ | 260 V(Mips64I8x16GtU) \ |
| 261 V(Mips64I8x16GeU) \ | 261 V(Mips64I8x16GeU) \ |
| 262 V(Mips64S128And) \ | 262 V(Mips64S128And) \ |
| 263 V(Mips64S128Or) \ | 263 V(Mips64S128Or) \ |
| 264 V(Mips64S128Xor) \ | 264 V(Mips64S128Xor) \ |
| 265 V(Mips64S128Not) | 265 V(Mips64S128Not) \ |
| 266 V(Mips64S1x4AnyTrue) \ |
| 267 V(Mips64S1x4AllTrue) \ |
| 268 V(Mips64S1x8AnyTrue) \ |
| 269 V(Mips64S1x8AllTrue) \ |
| 270 V(Mips64S1x16AnyTrue) \ |
| 271 V(Mips64S1x16AllTrue) \ |
| 272 V(Mips64MsaLd) \ |
| 273 V(Mips64MsaSt) |
| 266 | 274 |
| 267 // Addressing modes represent the "shape" of inputs to an instruction. | 275 // Addressing modes represent the "shape" of inputs to an instruction. |
| 268 // Many instructions support multiple addressing modes. Addressing modes | 276 // Many instructions support multiple addressing modes. Addressing modes |
| 269 // are encoded into the InstructionCode of the instruction and tell the | 277 // are encoded into the InstructionCode of the instruction and tell the |
| 270 // code generator after register allocation which assembler method to call. | 278 // code generator after register allocation which assembler method to call. |
| 271 // | 279 // |
| 272 // We use the following local notation for addressing modes: | 280 // We use the following local notation for addressing modes: |
| 273 // | 281 // |
| 274 // R = register | 282 // R = register |
| 275 // O = register or stack slot | 283 // O = register or stack slot |
| 276 // D = double register | 284 // D = double register |
| 277 // I = immediate (handle, external, int32) | 285 // I = immediate (handle, external, int32) |
| 278 // MRI = [register + immediate] | 286 // MRI = [register + immediate] |
| 279 // MRR = [register + register] | 287 // MRR = [register + register] |
| 280 // TODO(plind): Add the new r6 address modes. | 288 // TODO(plind): Add the new r6 address modes. |
| 281 #define TARGET_ADDRESSING_MODE_LIST(V) \ | 289 #define TARGET_ADDRESSING_MODE_LIST(V) \ |
| 282 V(MRI) /* [%r0 + K] */ \ | 290 V(MRI) /* [%r0 + K] */ \ |
| 283 V(MRR) /* [%r0 + %r1] */ | 291 V(MRR) /* [%r0 + %r1] */ |
| 284 | 292 |
| 285 | 293 |
| 286 } // namespace compiler | 294 } // namespace compiler |
| 287 } // namespace internal | 295 } // namespace internal |
| 288 } // namespace v8 | 296 } // namespace v8 |
| 289 | 297 |
| 290 #endif // V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_ | 298 #endif // V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_ |
| OLD | NEW |