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) \ | |
17 V(S390_Or) \ | 16 V(S390_Or) \ |
18 V(S390_OrComplement) \ | |
19 V(S390_Xor) \ | 17 V(S390_Xor) \ |
20 V(S390_ShiftLeft32) \ | 18 V(S390_ShiftLeft32) \ |
21 V(S390_ShiftLeft64) \ | 19 V(S390_ShiftLeft64) \ |
22 V(S390_ShiftLeftPair) \ | 20 V(S390_ShiftLeftPair) \ |
23 V(S390_ShiftRight32) \ | 21 V(S390_ShiftRight32) \ |
24 V(S390_ShiftRight64) \ | 22 V(S390_ShiftRight64) \ |
25 V(S390_ShiftRightPair) \ | 23 V(S390_ShiftRightPair) \ |
26 V(S390_ShiftRightArith32) \ | 24 V(S390_ShiftRightArith32) \ |
27 V(S390_ShiftRightArith64) \ | 25 V(S390_ShiftRightArith64) \ |
28 V(S390_ShiftRightArithPair) \ | 26 V(S390_ShiftRightArithPair) \ |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 // MRR = [register + register] | 161 // MRR = [register + register] |
164 #define TARGET_ADDRESSING_MODE_LIST(V) \ | 162 #define TARGET_ADDRESSING_MODE_LIST(V) \ |
165 V(MRI) /* [%r0 + K] */ \ | 163 V(MRI) /* [%r0 + K] */ \ |
166 V(MRR) /* [%r0 + %r1] */ | 164 V(MRR) /* [%r0 + %r1] */ |
167 | 165 |
168 } // namespace compiler | 166 } // namespace compiler |
169 } // namespace internal | 167 } // namespace internal |
170 } // namespace v8 | 168 } // namespace v8 |
171 | 169 |
172 #endif // V8_COMPILER_S390_INSTRUCTION_CODES_S390_H_ | 170 #endif // V8_COMPILER_S390_INSTRUCTION_CODES_S390_H_ |
OLD | NEW |