OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_S390_INSTRUCTION_CODES_S390_H_ | 5 #ifndef V8_COMPILER_S390_INSTRUCTION_CODES_S390_H_ |
6 #define V8_COMPILER_S390_INSTRUCTION_CODES_S390_H_ | 6 #define V8_COMPILER_S390_INSTRUCTION_CODES_S390_H_ |
7 | 7 |
8 namespace v8 { | 8 namespace v8 { |
9 namespace internal { | 9 namespace internal { |
10 namespace compiler { | 10 namespace compiler { |
11 | 11 |
12 // S390-specific opcodes that specify which assembly sequence to emit. | 12 // S390-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(S390_And) \ | 15 V(S390_And) \ |
16 V(S390_AndComplement) \ | 16 V(S390_AndComplement) \ |
17 V(S390_Or) \ | 17 V(S390_Or) \ |
18 V(S390_OrComplement) \ | 18 V(S390_OrComplement) \ |
19 V(S390_Xor) \ | 19 V(S390_Xor) \ |
20 V(S390_ShiftLeft32) \ | 20 V(S390_ShiftLeft32) \ |
21 V(S390_ShiftLeft64) \ | 21 V(S390_ShiftLeft64) \ |
| 22 V(S390_ShiftLeftPair) \ |
22 V(S390_ShiftRight32) \ | 23 V(S390_ShiftRight32) \ |
23 V(S390_ShiftRight64) \ | 24 V(S390_ShiftRight64) \ |
24 V(S390_ShiftRightAlg32) \ | 25 V(S390_ShiftRightPair) \ |
25 V(S390_ShiftRightAlg64) \ | 26 V(S390_ShiftRightArith32) \ |
| 27 V(S390_ShiftRightArith64) \ |
| 28 V(S390_ShiftRightArithPair) \ |
26 V(S390_RotRight32) \ | 29 V(S390_RotRight32) \ |
27 V(S390_RotRight64) \ | 30 V(S390_RotRight64) \ |
28 V(S390_Not) \ | 31 V(S390_Not) \ |
29 V(S390_RotLeftAndMask32) \ | 32 V(S390_RotLeftAndMask32) \ |
30 V(S390_RotLeftAndClear64) \ | 33 V(S390_RotLeftAndClear64) \ |
31 V(S390_RotLeftAndClearLeft64) \ | 34 V(S390_RotLeftAndClearLeft64) \ |
32 V(S390_RotLeftAndClearRight64) \ | 35 V(S390_RotLeftAndClearRight64) \ |
33 V(S390_Add) \ | 36 V(S390_Add) \ |
34 V(S390_AddWithOverflow32) \ | 37 V(S390_AddWithOverflow32) \ |
35 V(S390_AddFloat) \ | 38 V(S390_AddFloat) \ |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 // MRR = [register + register] | 148 // MRR = [register + register] |
146 #define TARGET_ADDRESSING_MODE_LIST(V) \ | 149 #define TARGET_ADDRESSING_MODE_LIST(V) \ |
147 V(MRI) /* [%r0 + K] */ \ | 150 V(MRI) /* [%r0 + K] */ \ |
148 V(MRR) /* [%r0 + %r1] */ | 151 V(MRR) /* [%r0 + %r1] */ |
149 | 152 |
150 } // namespace compiler | 153 } // namespace compiler |
151 } // namespace internal | 154 } // namespace internal |
152 } // namespace v8 | 155 } // namespace v8 |
153 | 156 |
154 #endif // V8_COMPILER_S390_INSTRUCTION_CODES_S390_H_ | 157 #endif // V8_COMPILER_S390_INSTRUCTION_CODES_S390_H_ |
OLD | NEW |