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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 V(CheckedStoreFloat32) \ | 81 V(CheckedStoreFloat32) \ |
82 V(CheckedStoreFloat64) \ | 82 V(CheckedStoreFloat64) \ |
83 V(ArchStackSlot) \ | 83 V(ArchStackSlot) \ |
84 V(AtomicLoadInt8) \ | 84 V(AtomicLoadInt8) \ |
85 V(AtomicLoadUint8) \ | 85 V(AtomicLoadUint8) \ |
86 V(AtomicLoadInt16) \ | 86 V(AtomicLoadInt16) \ |
87 V(AtomicLoadUint16) \ | 87 V(AtomicLoadUint16) \ |
88 V(AtomicLoadWord32) \ | 88 V(AtomicLoadWord32) \ |
89 V(AtomicStoreWord8) \ | 89 V(AtomicStoreWord8) \ |
90 V(AtomicStoreWord16) \ | 90 V(AtomicStoreWord16) \ |
91 V(AtomicStoreWord32) | 91 V(AtomicStoreWord32) \ |
| 92 V(Ieee754Float64Log) |
92 | 93 |
93 #define ARCH_OPCODE_LIST(V) \ | 94 #define ARCH_OPCODE_LIST(V) \ |
94 COMMON_ARCH_OPCODE_LIST(V) \ | 95 COMMON_ARCH_OPCODE_LIST(V) \ |
95 TARGET_ARCH_OPCODE_LIST(V) | 96 TARGET_ARCH_OPCODE_LIST(V) |
96 | 97 |
97 enum ArchOpcode { | 98 enum ArchOpcode { |
98 #define DECLARE_ARCH_OPCODE(Name) k##Name, | 99 #define DECLARE_ARCH_OPCODE(Name) k##Name, |
99 ARCH_OPCODE_LIST(DECLARE_ARCH_OPCODE) | 100 ARCH_OPCODE_LIST(DECLARE_ARCH_OPCODE) |
100 #undef DECLARE_ARCH_OPCODE | 101 #undef DECLARE_ARCH_OPCODE |
101 #define COUNT_ARCH_OPCODE(Name) +1 | 102 #define COUNT_ARCH_OPCODE(Name) +1 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 typedef BitField<AddressingMode, 8, 5> AddressingModeField; | 183 typedef BitField<AddressingMode, 8, 5> AddressingModeField; |
183 typedef BitField<FlagsMode, 13, 2> FlagsModeField; | 184 typedef BitField<FlagsMode, 13, 2> FlagsModeField; |
184 typedef BitField<FlagsCondition, 15, 5> FlagsConditionField; | 185 typedef BitField<FlagsCondition, 15, 5> FlagsConditionField; |
185 typedef BitField<int, 20, 12> MiscField; | 186 typedef BitField<int, 20, 12> MiscField; |
186 | 187 |
187 } // namespace compiler | 188 } // namespace compiler |
188 } // namespace internal | 189 } // namespace internal |
189 } // namespace v8 | 190 } // namespace v8 |
190 | 191 |
191 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ | 192 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ |
OLD | NEW |