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 #if V8_TARGET_ARCH_ARM | 8 #if V8_TARGET_ARCH_ARM |
9 #include "src/compiler/arm/instruction-codes-arm.h" | 9 #include "src/compiler/arm/instruction-codes-arm.h" |
10 #elif V8_TARGET_ARCH_ARM64 | 10 #elif V8_TARGET_ARCH_ARM64 |
11 #include "src/compiler/arm64/instruction-codes-arm64.h" | 11 #include "src/compiler/arm64/instruction-codes-arm64.h" |
12 #elif V8_TARGET_ARCH_IA32 | 12 #elif V8_TARGET_ARCH_IA32 |
13 #include "src/compiler/ia32/instruction-codes-ia32.h" | 13 #include "src/compiler/ia32/instruction-codes-ia32.h" |
14 #elif V8_TARGET_ARCH_X64 | 14 #elif V8_TARGET_ARCH_X64 |
15 #include "src/compiler/x64/instruction-codes-x64.h" | 15 #include "src/compiler/x64/instruction-codes-x64.h" |
16 #else | 16 #else |
17 #error "Unsupported target architecture." | 17 #define TARGET_ARCH_OPCODE_LIST(V) |
| 18 #define TARGET_ADDRESSING_MODE_LIST(V) |
18 #endif | 19 #endif |
19 #include "src/utils.h" | 20 #include "src/utils.h" |
20 | 21 |
21 namespace v8 { | 22 namespace v8 { |
22 namespace internal { | 23 namespace internal { |
23 | 24 |
24 class OStream; | 25 class OStream; |
25 | 26 |
26 namespace compiler { | 27 namespace compiler { |
27 | 28 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 typedef BitField<AddressingMode, 7, 4> AddressingModeField; | 106 typedef BitField<AddressingMode, 7, 4> AddressingModeField; |
106 typedef BitField<FlagsMode, 11, 2> FlagsModeField; | 107 typedef BitField<FlagsMode, 11, 2> FlagsModeField; |
107 typedef BitField<FlagsCondition, 13, 4> FlagsConditionField; | 108 typedef BitField<FlagsCondition, 13, 4> FlagsConditionField; |
108 typedef BitField<int, 13, 19> MiscField; | 109 typedef BitField<int, 13, 19> MiscField; |
109 | 110 |
110 } // namespace compiler | 111 } // namespace compiler |
111 } // namespace internal | 112 } // namespace internal |
112 } // namespace v8 | 113 } // namespace v8 |
113 | 114 |
114 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ | 115 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ |
OLD | NEW |