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 { |
11 | 11 |
12 // MIPS64-specific opcodes that specify which assembly sequence to emit. | 12 // MIPS64-specific opcodes that specify which assembly sequence to emit. |
13 // Most opcodes specify a single instruction. | 13 // Most opcodes specify a single instruction. |
14 #define TARGET_ARCH_OPCODE_LIST(V) \ | 14 #define TARGET_ARCH_OPCODE_LIST(V) \ |
15 V(Mips64Add) \ | 15 V(Mips64Add) \ |
16 V(Mips64Dadd) \ | 16 V(Mips64Dadd) \ |
17 V(Mips64Sub) \ | 17 V(Mips64Sub) \ |
18 V(Mips64Dsub) \ | 18 V(Mips64Dsub) \ |
19 V(Mips64Mul) \ | 19 V(Mips64Mul) \ |
20 V(Mips64MulHigh) \ | 20 V(Mips64MulHigh) \ |
| 21 V(Mips64DMulHigh) \ |
21 V(Mips64MulHighU) \ | 22 V(Mips64MulHighU) \ |
22 V(Mips64Dmul) \ | 23 V(Mips64Dmul) \ |
23 V(Mips64Div) \ | 24 V(Mips64Div) \ |
24 V(Mips64Ddiv) \ | 25 V(Mips64Ddiv) \ |
25 V(Mips64DivU) \ | 26 V(Mips64DivU) \ |
26 V(Mips64DdivU) \ | 27 V(Mips64DdivU) \ |
27 V(Mips64Mod) \ | 28 V(Mips64Mod) \ |
28 V(Mips64Dmod) \ | 29 V(Mips64Dmod) \ |
29 V(Mips64ModU) \ | 30 V(Mips64ModU) \ |
30 V(Mips64DmodU) \ | 31 V(Mips64DmodU) \ |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 #define TARGET_ADDRESSING_MODE_LIST(V) \ | 126 #define TARGET_ADDRESSING_MODE_LIST(V) \ |
126 V(MRI) /* [%r0 + K] */ \ | 127 V(MRI) /* [%r0 + K] */ \ |
127 V(MRR) /* [%r0 + %r1] */ | 128 V(MRR) /* [%r0 + %r1] */ |
128 | 129 |
129 | 130 |
130 } // namespace compiler | 131 } // namespace compiler |
131 } // namespace internal | 132 } // namespace internal |
132 } // namespace v8 | 133 } // namespace v8 |
133 | 134 |
134 #endif // V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_ | 135 #endif // V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_ |
OLD | NEW |