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 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 V(CheckedLoadUint16) \ | 65 V(CheckedLoadUint16) \ |
66 V(CheckedLoadWord32) \ | 66 V(CheckedLoadWord32) \ |
67 V(CheckedLoadWord64) \ | 67 V(CheckedLoadWord64) \ |
68 V(CheckedLoadFloat32) \ | 68 V(CheckedLoadFloat32) \ |
69 V(CheckedLoadFloat64) \ | 69 V(CheckedLoadFloat64) \ |
70 V(CheckedStoreWord8) \ | 70 V(CheckedStoreWord8) \ |
71 V(CheckedStoreWord16) \ | 71 V(CheckedStoreWord16) \ |
72 V(CheckedStoreWord32) \ | 72 V(CheckedStoreWord32) \ |
73 V(CheckedStoreWord64) \ | 73 V(CheckedStoreWord64) \ |
74 V(CheckedStoreFloat32) \ | 74 V(CheckedStoreFloat32) \ |
75 V(CheckedStoreFloat64) | 75 V(CheckedStoreFloat64) \ |
| 76 V(ArchStackSlot) |
76 | 77 |
77 #define ARCH_OPCODE_LIST(V) \ | 78 #define ARCH_OPCODE_LIST(V) \ |
78 COMMON_ARCH_OPCODE_LIST(V) \ | 79 COMMON_ARCH_OPCODE_LIST(V) \ |
79 TARGET_ARCH_OPCODE_LIST(V) | 80 TARGET_ARCH_OPCODE_LIST(V) |
80 | 81 |
81 enum ArchOpcode { | 82 enum ArchOpcode { |
82 #define DECLARE_ARCH_OPCODE(Name) k##Name, | 83 #define DECLARE_ARCH_OPCODE(Name) k##Name, |
83 ARCH_OPCODE_LIST(DECLARE_ARCH_OPCODE) | 84 ARCH_OPCODE_LIST(DECLARE_ARCH_OPCODE) |
84 #undef DECLARE_ARCH_OPCODE | 85 #undef DECLARE_ARCH_OPCODE |
85 #define COUNT_ARCH_OPCODE(Name) +1 | 86 #define COUNT_ARCH_OPCODE(Name) +1 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 typedef BitField<AddressingMode, 8, 5> AddressingModeField; | 162 typedef BitField<AddressingMode, 8, 5> AddressingModeField; |
162 typedef BitField<FlagsMode, 13, 2> FlagsModeField; | 163 typedef BitField<FlagsMode, 13, 2> FlagsModeField; |
163 typedef BitField<FlagsCondition, 15, 5> FlagsConditionField; | 164 typedef BitField<FlagsCondition, 15, 5> FlagsConditionField; |
164 typedef BitField<int, 20, 12> MiscField; | 165 typedef BitField<int, 20, 12> MiscField; |
165 | 166 |
166 } // namespace compiler | 167 } // namespace compiler |
167 } // namespace internal | 168 } // namespace internal |
168 } // namespace v8 | 169 } // namespace v8 |
169 | 170 |
170 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ | 171 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ |
OLD | NEW |