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_MIPS |
| 15 #include "src/compiler/mips/instruction-codes-mips.h" |
14 #elif V8_TARGET_ARCH_X64 | 16 #elif V8_TARGET_ARCH_X64 |
15 #include "src/compiler/x64/instruction-codes-x64.h" | 17 #include "src/compiler/x64/instruction-codes-x64.h" |
16 #else | 18 #else |
17 #define TARGET_ARCH_OPCODE_LIST(V) | 19 #define TARGET_ARCH_OPCODE_LIST(V) |
18 #define TARGET_ADDRESSING_MODE_LIST(V) | 20 #define TARGET_ADDRESSING_MODE_LIST(V) |
19 #endif | 21 #endif |
20 #include "src/utils.h" | 22 #include "src/utils.h" |
21 | 23 |
22 namespace v8 { | 24 namespace v8 { |
23 namespace internal { | 25 namespace internal { |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 typedef BitField<AddressingMode, 7, 4> AddressingModeField; | 112 typedef BitField<AddressingMode, 7, 4> AddressingModeField; |
111 typedef BitField<FlagsMode, 11, 2> FlagsModeField; | 113 typedef BitField<FlagsMode, 11, 2> FlagsModeField; |
112 typedef BitField<FlagsCondition, 13, 5> FlagsConditionField; | 114 typedef BitField<FlagsCondition, 13, 5> FlagsConditionField; |
113 typedef BitField<int, 13, 19> MiscField; | 115 typedef BitField<int, 13, 19> MiscField; |
114 | 116 |
115 } // namespace compiler | 117 } // namespace compiler |
116 } // namespace internal | 118 } // namespace internal |
117 } // namespace v8 | 119 } // namespace v8 |
118 | 120 |
119 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ | 121 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ |
OLD | NEW |