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 // MIPS-specific opcodes that specify which assembly sequence to emit. | 12 // MIPS-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(MipsAdd) \ | 15 V(MipsAdd) \ |
16 V(MipsAddOvf) \ | 16 V(MipsAddOvf) \ |
17 V(MipsSub) \ | 17 V(MipsSub) \ |
18 V(MipsSubOvf) \ | 18 V(MipsSubOvf) \ |
19 V(MipsMul) \ | 19 V(MipsMul) \ |
20 V(MipsMulHigh) \ | 20 V(MipsMulHigh) \ |
21 V(MipsMulHighU) \ | 21 V(MipsMulHighU) \ |
22 V(MipsDiv) \ | 22 V(MipsDiv) \ |
23 V(MipsDivU) \ | 23 V(MipsDivU) \ |
24 V(MipsMod) \ | 24 V(MipsMod) \ |
25 V(MipsModU) \ | 25 V(MipsModU) \ |
26 V(MipsAnd) \ | 26 V(MipsAnd) \ |
27 V(MipsOr) \ | 27 V(MipsOr) \ |
| 28 V(MipsNor) \ |
28 V(MipsXor) \ | 29 V(MipsXor) \ |
29 V(MipsClz) \ | 30 V(MipsClz) \ |
30 V(MipsShl) \ | 31 V(MipsShl) \ |
31 V(MipsShr) \ | 32 V(MipsShr) \ |
32 V(MipsSar) \ | 33 V(MipsSar) \ |
33 V(MipsExt) \ | 34 V(MipsExt) \ |
34 V(MipsRor) \ | 35 V(MipsRor) \ |
35 V(MipsMov) \ | 36 V(MipsMov) \ |
36 V(MipsTst) \ | 37 V(MipsTst) \ |
37 V(MipsCmp) \ | 38 V(MipsCmp) \ |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 #define TARGET_ADDRESSING_MODE_LIST(V) \ | 107 #define TARGET_ADDRESSING_MODE_LIST(V) \ |
107 V(MRI) /* [%r0 + K] */ \ | 108 V(MRI) /* [%r0 + K] */ \ |
108 V(MRR) /* [%r0 + %r1] */ | 109 V(MRR) /* [%r0 + %r1] */ |
109 | 110 |
110 | 111 |
111 } // namespace compiler | 112 } // namespace compiler |
112 } // namespace internal | 113 } // namespace internal |
113 } // namespace v8 | 114 } // namespace v8 |
114 | 115 |
115 #endif // V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_ | 116 #endif // V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_ |
OLD | NEW |