| 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(IA32Cmp16) \ |
| 19 V(IA32Cmp8) \ |
| 18 V(IA32Test) \ | 20 V(IA32Test) \ |
| 21 V(IA32Test16) \ |
| 22 V(IA32Test8) \ |
| 19 V(IA32Or) \ | 23 V(IA32Or) \ |
| 20 V(IA32Xor) \ | 24 V(IA32Xor) \ |
| 21 V(IA32Sub) \ | 25 V(IA32Sub) \ |
| 22 V(IA32Imul) \ | 26 V(IA32Imul) \ |
| 23 V(IA32ImulHigh) \ | 27 V(IA32ImulHigh) \ |
| 24 V(IA32UmulHigh) \ | 28 V(IA32UmulHigh) \ |
| 25 V(IA32Idiv) \ | 29 V(IA32Idiv) \ |
| 26 V(IA32Udiv) \ | 30 V(IA32Udiv) \ |
| 27 V(IA32Not) \ | 31 V(IA32Not) \ |
| 28 V(IA32Neg) \ | 32 V(IA32Neg) \ |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 V(M2I) /* [ %r2*2 + K] */ \ | 146 V(M2I) /* [ %r2*2 + K] */ \ |
| 143 V(M4I) /* [ %r2*4 + K] */ \ | 147 V(M4I) /* [ %r2*4 + K] */ \ |
| 144 V(M8I) /* [ %r2*8 + K] */ \ | 148 V(M8I) /* [ %r2*8 + K] */ \ |
| 145 V(MI) /* [ K] */ | 149 V(MI) /* [ K] */ |
| 146 | 150 |
| 147 } // namespace compiler | 151 } // namespace compiler |
| 148 } // namespace internal | 152 } // namespace internal |
| 149 } // namespace v8 | 153 } // namespace v8 |
| 150 | 154 |
| 151 #endif // V8_COMPILER_IA32_INSTRUCTION_CODES_IA32_H_ | 155 #endif // V8_COMPILER_IA32_INSTRUCTION_CODES_IA32_H_ |
| OLD | NEW |