| 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_X87_INSTRUCTION_CODES_X87_H_ | 5 #ifndef V8_COMPILER_X87_INSTRUCTION_CODES_X87_H_ |
| 6 #define V8_COMPILER_X87_INSTRUCTION_CODES_X87_H_ | 6 #define V8_COMPILER_X87_INSTRUCTION_CODES_X87_H_ |
| 7 | 7 |
| 8 #include "src/compiler/instruction.h" | 8 #include "src/compiler/instruction.h" |
| 9 #include "src/compiler/instruction-codes.h" | 9 #include "src/compiler/instruction-codes.h" |
| 10 namespace v8 { | 10 namespace v8 { |
| 11 namespace internal { | 11 namespace internal { |
| 12 namespace compiler { | 12 namespace compiler { |
| 13 | 13 |
| 14 // X87-specific opcodes that specify which assembly sequence to emit. | 14 // X87-specific opcodes that specify which assembly sequence to emit. |
| 15 // Most opcodes specify a single instruction. | 15 // Most opcodes specify a single instruction. |
| 16 #define TARGET_ARCH_OPCODE_LIST(V) \ | 16 #define TARGET_ARCH_OPCODE_LIST(V) \ |
| 17 V(X87Add) \ | 17 V(X87Add) \ |
| 18 V(X87And) \ | 18 V(X87And) \ |
| 19 V(X87Cmp) \ | 19 V(X87Cmp) \ |
| 20 V(X87Cmp16) \ |
| 21 V(X87Cmp8) \ |
| 20 V(X87Test) \ | 22 V(X87Test) \ |
| 23 V(X87Test16) \ |
| 24 V(X87Test8) \ |
| 21 V(X87Or) \ | 25 V(X87Or) \ |
| 22 V(X87Xor) \ | 26 V(X87Xor) \ |
| 23 V(X87Sub) \ | 27 V(X87Sub) \ |
| 24 V(X87Imul) \ | 28 V(X87Imul) \ |
| 25 V(X87ImulHigh) \ | 29 V(X87ImulHigh) \ |
| 26 V(X87UmulHigh) \ | 30 V(X87UmulHigh) \ |
| 27 V(X87Idiv) \ | 31 V(X87Idiv) \ |
| 28 V(X87Udiv) \ | 32 V(X87Udiv) \ |
| 29 V(X87Not) \ | 33 V(X87Not) \ |
| 30 V(X87Neg) \ | 34 V(X87Neg) \ |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 V(M2I) /* [ %r2*2 + K] */ \ | 129 V(M2I) /* [ %r2*2 + K] */ \ |
| 126 V(M4I) /* [ %r2*4 + K] */ \ | 130 V(M4I) /* [ %r2*4 + K] */ \ |
| 127 V(M8I) /* [ %r2*8 + K] */ \ | 131 V(M8I) /* [ %r2*8 + K] */ \ |
| 128 V(MI) /* [ K] */ | 132 V(MI) /* [ K] */ |
| 129 | 133 |
| 130 } // namespace compiler | 134 } // namespace compiler |
| 131 } // namespace internal | 135 } // namespace internal |
| 132 } // namespace v8 | 136 } // namespace v8 |
| 133 | 137 |
| 134 #endif // V8_COMPILER_X87_INSTRUCTION_CODES_X87_H_ | 138 #endif // V8_COMPILER_X87_INSTRUCTION_CODES_X87_H_ |
| OLD | NEW |