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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(Ieee754Float64Atan) \ | 92 V(Ieee754Float64Atan) \ |
93 V(Ieee754Float64Atan2) \ | 93 V(Ieee754Float64Atan2) \ |
94 V(Ieee754Float64Atanh) \ | 94 V(Ieee754Float64Atanh) \ |
95 V(Ieee754Float64Cbrt) \ | 95 V(Ieee754Float64Cbrt) \ |
96 V(Ieee754Float64Cos) \ | 96 V(Ieee754Float64Cos) \ |
| 97 V(Ieee754Float64Cosh) \ |
97 V(Ieee754Float64Exp) \ | 98 V(Ieee754Float64Exp) \ |
98 V(Ieee754Float64Expm1) \ | 99 V(Ieee754Float64Expm1) \ |
99 V(Ieee754Float64Log) \ | 100 V(Ieee754Float64Log) \ |
100 V(Ieee754Float64Log1p) \ | 101 V(Ieee754Float64Log1p) \ |
101 V(Ieee754Float64Log10) \ | 102 V(Ieee754Float64Log10) \ |
102 V(Ieee754Float64Log2) \ | 103 V(Ieee754Float64Log2) \ |
103 V(Ieee754Float64Pow) \ | 104 V(Ieee754Float64Pow) \ |
104 V(Ieee754Float64Sin) \ | 105 V(Ieee754Float64Sin) \ |
105 V(Ieee754Float64Tan) | 106 V(Ieee754Float64Sinh) \ |
| 107 V(Ieee754Float64Tan) \ |
| 108 V(Ieee754Float64Tanh) |
106 | 109 |
107 #define ARCH_OPCODE_LIST(V) \ | 110 #define ARCH_OPCODE_LIST(V) \ |
108 COMMON_ARCH_OPCODE_LIST(V) \ | 111 COMMON_ARCH_OPCODE_LIST(V) \ |
109 TARGET_ARCH_OPCODE_LIST(V) | 112 TARGET_ARCH_OPCODE_LIST(V) |
110 | 113 |
111 enum ArchOpcode { | 114 enum ArchOpcode { |
112 #define DECLARE_ARCH_OPCODE(Name) k##Name, | 115 #define DECLARE_ARCH_OPCODE(Name) k##Name, |
113 ARCH_OPCODE_LIST(DECLARE_ARCH_OPCODE) | 116 ARCH_OPCODE_LIST(DECLARE_ARCH_OPCODE) |
114 #undef DECLARE_ARCH_OPCODE | 117 #undef DECLARE_ARCH_OPCODE |
115 #define COUNT_ARCH_OPCODE(Name) +1 | 118 #define COUNT_ARCH_OPCODE(Name) +1 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 typedef BitField<AddressingMode, 8, 5> AddressingModeField; | 201 typedef BitField<AddressingMode, 8, 5> AddressingModeField; |
199 typedef BitField<FlagsMode, 13, 2> FlagsModeField; | 202 typedef BitField<FlagsMode, 13, 2> FlagsModeField; |
200 typedef BitField<FlagsCondition, 15, 5> FlagsConditionField; | 203 typedef BitField<FlagsCondition, 15, 5> FlagsConditionField; |
201 typedef BitField<int, 20, 12> MiscField; | 204 typedef BitField<int, 20, 12> MiscField; |
202 | 205 |
203 } // namespace compiler | 206 } // namespace compiler |
204 } // namespace internal | 207 } // namespace internal |
205 } // namespace v8 | 208 } // namespace v8 |
206 | 209 |
207 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ | 210 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ |
OLD | NEW |