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) |
82 | 87 |
83 #define ARCH_OPCODE_LIST(V) \ | 88 #define ARCH_OPCODE_LIST(V) \ |
84 COMMON_ARCH_OPCODE_LIST(V) \ | 89 COMMON_ARCH_OPCODE_LIST(V) \ |
85 TARGET_ARCH_OPCODE_LIST(V) | 90 TARGET_ARCH_OPCODE_LIST(V) |
86 | 91 |
87 enum ArchOpcode { | 92 enum ArchOpcode { |
88 #define DECLARE_ARCH_OPCODE(Name) k##Name, | 93 #define DECLARE_ARCH_OPCODE(Name) k##Name, |
89 ARCH_OPCODE_LIST(DECLARE_ARCH_OPCODE) | 94 ARCH_OPCODE_LIST(DECLARE_ARCH_OPCODE) |
90 #undef DECLARE_ARCH_OPCODE | 95 #undef DECLARE_ARCH_OPCODE |
91 #define COUNT_ARCH_OPCODE(Name) +1 | 96 #define COUNT_ARCH_OPCODE(Name) +1 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 typedef BitField<AddressingMode, 8, 5> AddressingModeField; | 177 typedef BitField<AddressingMode, 8, 5> AddressingModeField; |
173 typedef BitField<FlagsMode, 13, 2> FlagsModeField; | 178 typedef BitField<FlagsMode, 13, 2> FlagsModeField; |
174 typedef BitField<FlagsCondition, 15, 5> FlagsConditionField; | 179 typedef BitField<FlagsCondition, 15, 5> FlagsConditionField; |
175 typedef BitField<int, 20, 12> MiscField; | 180 typedef BitField<int, 20, 12> MiscField; |
176 | 181 |
177 } // namespace compiler | 182 } // namespace compiler |
178 } // namespace internal | 183 } // namespace internal |
179 } // namespace v8 | 184 } // namespace v8 |
180 | 185 |
181 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ | 186 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ |
OLD | NEW |