| 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(IA32Idiv) \ | 23 V(IA32Idiv) \ |
| 24 V(IA32Udiv) \ | 24 V(IA32Udiv) \ |
| 25 V(IA32Not) \ | 25 V(IA32Not) \ |
| 26 V(IA32Neg) \ | 26 V(IA32Neg) \ |
| 27 V(IA32Shl) \ | 27 V(IA32Shl) \ |
| 28 V(IA32Shr) \ | 28 V(IA32Shr) \ |
| 29 V(IA32Sar) \ | 29 V(IA32Sar) \ |
| 30 V(IA32Ror) \ |
| 30 V(IA32Push) \ | 31 V(IA32Push) \ |
| 31 V(IA32CallCodeObject) \ | 32 V(IA32CallCodeObject) \ |
| 32 V(IA32CallAddress) \ | 33 V(IA32CallAddress) \ |
| 33 V(PopStack) \ | 34 V(PopStack) \ |
| 34 V(IA32CallJSFunction) \ | 35 V(IA32CallJSFunction) \ |
| 35 V(SSEFloat64Cmp) \ | 36 V(SSEFloat64Cmp) \ |
| 36 V(SSEFloat64Add) \ | 37 V(SSEFloat64Add) \ |
| 37 V(SSEFloat64Sub) \ | 38 V(SSEFloat64Sub) \ |
| 38 V(SSEFloat64Mul) \ | 39 V(SSEFloat64Mul) \ |
| 39 V(SSEFloat64Div) \ | 40 V(SSEFloat64Div) \ |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 V(MR1I) /* [%r0 + %r1 * 1 + K] */ \ | 80 V(MR1I) /* [%r0 + %r1 * 1 + K] */ \ |
| 80 V(MR2I) /* [%r0 + %r1 * 2 + K] */ \ | 81 V(MR2I) /* [%r0 + %r1 * 2 + K] */ \ |
| 81 V(MR4I) /* [%r0 + %r1 * 4 + K] */ \ | 82 V(MR4I) /* [%r0 + %r1 * 4 + K] */ \ |
| 82 V(MR8I) /* [%r0 + %r1 * 8 + K] */ | 83 V(MR8I) /* [%r0 + %r1 * 8 + K] */ |
| 83 | 84 |
| 84 } // namespace compiler | 85 } // namespace compiler |
| 85 } // namespace internal | 86 } // namespace internal |
| 86 } // namespace v8 | 87 } // namespace v8 |
| 87 | 88 |
| 88 #endif // V8_COMPILER_IA32_INSTRUCTION_CODES_IA32_H_ | 89 #endif // V8_COMPILER_IA32_INSTRUCTION_CODES_IA32_H_ |
| OLD | NEW |