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_IA32_INSTRUCTION_CODES_IA32_H_ | 5 #ifndef V8_COMPILER_IA32_INSTRUCTION_CODES_IA32_H_ |
6 #define V8_COMPILER_IA32_INSTRUCTION_CODES_IA32_H_ | 6 #define V8_COMPILER_IA32_INSTRUCTION_CODES_IA32_H_ |
7 | 7 |
8 namespace v8 { | 8 namespace v8 { |
9 namespace internal { | 9 namespace internal { |
10 namespace compiler { | 10 namespace compiler { |
11 | 11 |
12 // IA32-specific opcodes that specify which assembly sequence to emit. | 12 // IA32-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(IA32Add) \ | 15 V(IA32Add) \ |
16 V(IA32And) \ | 16 V(IA32And) \ |
17 V(IA32Cmp) \ | 17 V(IA32Cmp) \ |
18 V(IA32Test) \ | 18 V(IA32Test) \ |
19 V(IA32Or) \ | 19 V(IA32Or) \ |
20 V(IA32Xor) \ | 20 V(IA32Xor) \ |
21 V(IA32Sub) \ | 21 V(IA32Sub) \ |
22 V(IA32Imul) \ | 22 V(IA32Imul) \ |
23 V(IA32ImulHigh) \ | 23 V(IA32ImulHigh) \ |
| 24 V(IA32UmulHigh) \ |
24 V(IA32Idiv) \ | 25 V(IA32Idiv) \ |
25 V(IA32Udiv) \ | 26 V(IA32Udiv) \ |
26 V(IA32Not) \ | 27 V(IA32Not) \ |
27 V(IA32Neg) \ | 28 V(IA32Neg) \ |
28 V(IA32Shl) \ | 29 V(IA32Shl) \ |
29 V(IA32Shr) \ | 30 V(IA32Shr) \ |
30 V(IA32Sar) \ | 31 V(IA32Sar) \ |
31 V(IA32Ror) \ | 32 V(IA32Ror) \ |
32 V(SSEFloat64Cmp) \ | 33 V(SSEFloat64Cmp) \ |
33 V(SSEFloat64Add) \ | 34 V(SSEFloat64Add) \ |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 V(M2I) /* [ %r2*2 + K] */ \ | 91 V(M2I) /* [ %r2*2 + K] */ \ |
91 V(M4I) /* [ %r2*4 + K] */ \ | 92 V(M4I) /* [ %r2*4 + K] */ \ |
92 V(M8I) /* [ %r2*8 + K] */ \ | 93 V(M8I) /* [ %r2*8 + K] */ \ |
93 V(MI) /* [ K] */ | 94 V(MI) /* [ K] */ |
94 | 95 |
95 } // namespace compiler | 96 } // namespace compiler |
96 } // namespace internal | 97 } // namespace internal |
97 } // namespace v8 | 98 } // namespace v8 |
98 | 99 |
99 #endif // V8_COMPILER_IA32_INSTRUCTION_CODES_IA32_H_ | 100 #endif // V8_COMPILER_IA32_INSTRUCTION_CODES_IA32_H_ |
OLD | NEW |