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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 V(CheckedLoadWord32) \ | 71 V(CheckedLoadWord32) \ |
72 V(CheckedLoadWord64) \ | 72 V(CheckedLoadWord64) \ |
73 V(CheckedLoadFloat32) \ | 73 V(CheckedLoadFloat32) \ |
74 V(CheckedLoadFloat64) \ | 74 V(CheckedLoadFloat64) \ |
75 V(CheckedStoreWord8) \ | 75 V(CheckedStoreWord8) \ |
76 V(CheckedStoreWord16) \ | 76 V(CheckedStoreWord16) \ |
77 V(CheckedStoreWord32) \ | 77 V(CheckedStoreWord32) \ |
78 V(CheckedStoreWord64) \ | 78 V(CheckedStoreWord64) \ |
79 V(CheckedStoreFloat32) \ | 79 V(CheckedStoreFloat32) \ |
80 V(CheckedStoreFloat64) \ | 80 V(CheckedStoreFloat64) \ |
81 V(ArchStackSlot) \ | 81 V(ArchStackSlot) |
82 V(AtomicLoadInt8) \ | |
83 V(AtomicLoadUint8) \ | |
84 V(AtomicLoadInt16) \ | |
85 V(AtomicLoadUint16) \ | |
86 V(AtomicLoadWord32) | |
87 | 82 |
88 #define ARCH_OPCODE_LIST(V) \ | 83 #define ARCH_OPCODE_LIST(V) \ |
89 COMMON_ARCH_OPCODE_LIST(V) \ | 84 COMMON_ARCH_OPCODE_LIST(V) \ |
90 TARGET_ARCH_OPCODE_LIST(V) | 85 TARGET_ARCH_OPCODE_LIST(V) |
91 | 86 |
92 enum ArchOpcode { | 87 enum ArchOpcode { |
93 #define DECLARE_ARCH_OPCODE(Name) k##Name, | 88 #define DECLARE_ARCH_OPCODE(Name) k##Name, |
94 ARCH_OPCODE_LIST(DECLARE_ARCH_OPCODE) | 89 ARCH_OPCODE_LIST(DECLARE_ARCH_OPCODE) |
95 #undef DECLARE_ARCH_OPCODE | 90 #undef DECLARE_ARCH_OPCODE |
96 #define COUNT_ARCH_OPCODE(Name) +1 | 91 #define COUNT_ARCH_OPCODE(Name) +1 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 typedef BitField<AddressingMode, 8, 5> AddressingModeField; | 172 typedef BitField<AddressingMode, 8, 5> AddressingModeField; |
178 typedef BitField<FlagsMode, 13, 2> FlagsModeField; | 173 typedef BitField<FlagsMode, 13, 2> FlagsModeField; |
179 typedef BitField<FlagsCondition, 15, 5> FlagsConditionField; | 174 typedef BitField<FlagsCondition, 15, 5> FlagsConditionField; |
180 typedef BitField<int, 20, 12> MiscField; | 175 typedef BitField<int, 20, 12> MiscField; |
181 | 176 |
182 } // namespace compiler | 177 } // namespace compiler |
183 } // namespace internal | 178 } // namespace internal |
184 } // namespace v8 | 179 } // namespace v8 |
185 | 180 |
186 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ | 181 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ |
OLD | NEW |