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_INSTRUCTION_CODES_H_ | 5 #ifndef V8_COMPILER_INSTRUCTION_CODES_H_ |
6 #define V8_COMPILER_INSTRUCTION_CODES_H_ | 6 #define V8_COMPILER_INSTRUCTION_CODES_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 #if V8_TARGET_ARCH_ARM | 10 #if V8_TARGET_ARCH_ARM |
11 #include "src/compiler/arm/instruction-codes-arm.h" | 11 #include "src/compiler/arm/instruction-codes-arm.h" |
12 #elif V8_TARGET_ARCH_ARM64 | 12 #elif V8_TARGET_ARCH_ARM64 |
13 #include "src/compiler/arm64/instruction-codes-arm64.h" | 13 #include "src/compiler/arm64/instruction-codes-arm64.h" |
14 #elif V8_TARGET_ARCH_IA32 | 14 #elif V8_TARGET_ARCH_IA32 |
15 #include "src/compiler/ia32/instruction-codes-ia32.h" | 15 #include "src/compiler/ia32/instruction-codes-ia32.h" |
16 #elif V8_TARGET_ARCH_MIPS | 16 #elif V8_TARGET_ARCH_MIPS |
17 #include "src/compiler/mips/instruction-codes-mips.h" | 17 #include "src/compiler/mips/instruction-codes-mips.h" |
18 #elif V8_TARGET_ARCH_MIPS64 | 18 #elif V8_TARGET_ARCH_MIPS64 |
19 #include "src/compiler/mips64/instruction-codes-mips64.h" | 19 #include "src/compiler/mips64/instruction-codes-mips64.h" |
20 #elif V8_TARGET_ARCH_X64 | 20 #elif V8_TARGET_ARCH_X64 |
21 #include "src/compiler/x64/instruction-codes-x64.h" | 21 #include "src/compiler/x64/instruction-codes-x64.h" |
22 #elif V8_TARGET_ARCH_PPC | 22 #elif V8_TARGET_ARCH_PPC |
23 #include "src/compiler/ppc/instruction-codes-ppc.h" | 23 #include "src/compiler/ppc/instruction-codes-ppc.h" |
| 24 #elif V8_TARGET_ARCH_S390 |
| 25 #include "src/compiler/s390/instruction-codes-s390.h" |
24 #elif V8_TARGET_ARCH_X87 | 26 #elif V8_TARGET_ARCH_X87 |
25 #include "src/compiler/x87/instruction-codes-x87.h" | 27 #include "src/compiler/x87/instruction-codes-x87.h" |
26 #else | 28 #else |
27 #define TARGET_ARCH_OPCODE_LIST(V) | 29 #define TARGET_ARCH_OPCODE_LIST(V) |
28 #define TARGET_ADDRESSING_MODE_LIST(V) | 30 #define TARGET_ADDRESSING_MODE_LIST(V) |
29 #endif | 31 #endif |
30 #include "src/utils.h" | 32 #include "src/utils.h" |
31 | 33 |
32 namespace v8 { | 34 namespace v8 { |
33 namespace internal { | 35 namespace internal { |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 typedef BitField<AddressingMode, 8, 5> AddressingModeField; | 169 typedef BitField<AddressingMode, 8, 5> AddressingModeField; |
168 typedef BitField<FlagsMode, 13, 2> FlagsModeField; | 170 typedef BitField<FlagsMode, 13, 2> FlagsModeField; |
169 typedef BitField<FlagsCondition, 15, 5> FlagsConditionField; | 171 typedef BitField<FlagsCondition, 15, 5> FlagsConditionField; |
170 typedef BitField<int, 20, 12> MiscField; | 172 typedef BitField<int, 20, 12> MiscField; |
171 | 173 |
172 } // namespace compiler | 174 } // namespace compiler |
173 } // namespace internal | 175 } // namespace internal |
174 } // namespace v8 | 176 } // namespace v8 |
175 | 177 |
176 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ | 178 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ |
OLD | NEW |