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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 V(ArchDeoptimize) \ | 49 V(ArchDeoptimize) \ |
50 V(ArchRet) \ | 50 V(ArchRet) \ |
51 V(ArchStackPointer) \ | 51 V(ArchStackPointer) \ |
52 V(ArchFramePointer) \ | 52 V(ArchFramePointer) \ |
53 V(ArchTruncateDoubleToI) \ | 53 V(ArchTruncateDoubleToI) \ |
54 V(CheckedLoadInt8) \ | 54 V(CheckedLoadInt8) \ |
55 V(CheckedLoadUint8) \ | 55 V(CheckedLoadUint8) \ |
56 V(CheckedLoadInt16) \ | 56 V(CheckedLoadInt16) \ |
57 V(CheckedLoadUint16) \ | 57 V(CheckedLoadUint16) \ |
58 V(CheckedLoadWord32) \ | 58 V(CheckedLoadWord32) \ |
| 59 V(CheckedLoadWord64) \ |
59 V(CheckedLoadFloat32) \ | 60 V(CheckedLoadFloat32) \ |
60 V(CheckedLoadFloat64) \ | 61 V(CheckedLoadFloat64) \ |
61 V(CheckedStoreWord8) \ | 62 V(CheckedStoreWord8) \ |
62 V(CheckedStoreWord16) \ | 63 V(CheckedStoreWord16) \ |
63 V(CheckedStoreWord32) \ | 64 V(CheckedStoreWord32) \ |
| 65 V(CheckedStoreWord64) \ |
64 V(CheckedStoreFloat32) \ | 66 V(CheckedStoreFloat32) \ |
65 V(CheckedStoreFloat64) \ | 67 V(CheckedStoreFloat64) \ |
66 TARGET_ARCH_OPCODE_LIST(V) | 68 TARGET_ARCH_OPCODE_LIST(V) |
67 | 69 |
68 enum ArchOpcode { | 70 enum ArchOpcode { |
69 #define DECLARE_ARCH_OPCODE(Name) k##Name, | 71 #define DECLARE_ARCH_OPCODE(Name) k##Name, |
70 ARCH_OPCODE_LIST(DECLARE_ARCH_OPCODE) | 72 ARCH_OPCODE_LIST(DECLARE_ARCH_OPCODE) |
71 #undef DECLARE_ARCH_OPCODE | 73 #undef DECLARE_ARCH_OPCODE |
72 #define COUNT_ARCH_OPCODE(Name) +1 | 74 #define COUNT_ARCH_OPCODE(Name) +1 |
73 kLastArchOpcode = -1 ARCH_OPCODE_LIST(COUNT_ARCH_OPCODE) | 75 kLastArchOpcode = -1 ARCH_OPCODE_LIST(COUNT_ARCH_OPCODE) |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 typedef BitField<AddressingMode, 8, 5> AddressingModeField; | 140 typedef BitField<AddressingMode, 8, 5> AddressingModeField; |
139 typedef BitField<FlagsMode, 13, 2> FlagsModeField; | 141 typedef BitField<FlagsMode, 13, 2> FlagsModeField; |
140 typedef BitField<FlagsCondition, 15, 4> FlagsConditionField; | 142 typedef BitField<FlagsCondition, 15, 4> FlagsConditionField; |
141 typedef BitField<int, 19, 13> MiscField; | 143 typedef BitField<int, 19, 13> MiscField; |
142 | 144 |
143 } // namespace compiler | 145 } // namespace compiler |
144 } // namespace internal | 146 } // namespace internal |
145 } // namespace v8 | 147 } // namespace v8 |
146 | 148 |
147 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ | 149 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ |
OLD | NEW |