| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_OPCODES_H_ | 5 #ifndef V8_COMPILER_OPCODES_H_ |
| 6 #define V8_COMPILER_OPCODES_H_ | 6 #define V8_COMPILER_OPCODES_H_ |
| 7 | 7 |
| 8 // Opcodes for control operators. | 8 // Opcodes for control operators. |
| 9 #define CONTROL_OP_LIST(V) \ | 9 #define CONTROL_OP_LIST(V) \ |
| 10 V(Start) \ | 10 V(Start) \ |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 V(ChangeTaggedToFloat64) \ | 170 V(ChangeTaggedToFloat64) \ |
| 171 V(ChangeInt32ToTagged) \ | 171 V(ChangeInt32ToTagged) \ |
| 172 V(ChangeUint32ToTagged) \ | 172 V(ChangeUint32ToTagged) \ |
| 173 V(ChangeFloat64ToTagged) \ | 173 V(ChangeFloat64ToTagged) \ |
| 174 V(ChangeBoolToBit) \ | 174 V(ChangeBoolToBit) \ |
| 175 V(ChangeBitToBool) \ | 175 V(ChangeBitToBool) \ |
| 176 V(Allocate) \ | 176 V(Allocate) \ |
| 177 V(LoadField) \ | 177 V(LoadField) \ |
| 178 V(LoadBuffer) \ | 178 V(LoadBuffer) \ |
| 179 V(LoadElement) \ | 179 V(LoadElement) \ |
| 180 V(LoadElementAtomic) \ |
| 180 V(StoreField) \ | 181 V(StoreField) \ |
| 181 V(StoreBuffer) \ | 182 V(StoreBuffer) \ |
| 182 V(StoreElement) \ | 183 V(StoreElement) \ |
| 183 V(ObjectIsSmi) \ | 184 V(ObjectIsSmi) \ |
| 184 V(ObjectIsNonNegativeSmi) | 185 V(ObjectIsNonNegativeSmi) |
| 185 | 186 |
| 186 // Opcodes for Machine-level operators. | 187 // Opcodes for Machine-level operators. |
| 187 #define MACHINE_COMPARE_BINOP_LIST(V) \ | 188 #define MACHINE_COMPARE_BINOP_LIST(V) \ |
| 188 V(Word32Equal) \ | 189 V(Word32Equal) \ |
| 189 V(Word64Equal) \ | 190 V(Word64Equal) \ |
| 190 V(Int32LessThan) \ | 191 V(Int32LessThan) \ |
| 191 V(Int32LessThanOrEqual) \ | 192 V(Int32LessThanOrEqual) \ |
| 192 V(Uint32LessThan) \ | 193 V(Uint32LessThan) \ |
| 193 V(Uint32LessThanOrEqual) \ | 194 V(Uint32LessThanOrEqual) \ |
| 194 V(Int64LessThan) \ | 195 V(Int64LessThan) \ |
| 195 V(Int64LessThanOrEqual) \ | 196 V(Int64LessThanOrEqual) \ |
| 196 V(Uint64LessThan) \ | 197 V(Uint64LessThan) \ |
| 197 V(Float32Equal) \ | 198 V(Float32Equal) \ |
| 198 V(Float32LessThan) \ | 199 V(Float32LessThan) \ |
| 199 V(Float32LessThanOrEqual) \ | 200 V(Float32LessThanOrEqual) \ |
| 200 V(Float64Equal) \ | 201 V(Float64Equal) \ |
| 201 V(Float64LessThan) \ | 202 V(Float64LessThan) \ |
| 202 V(Float64LessThanOrEqual) | 203 V(Float64LessThanOrEqual) |
| 203 | 204 |
| 204 #define MACHINE_OP_LIST(V) \ | 205 #define MACHINE_OP_LIST(V) \ |
| 205 MACHINE_COMPARE_BINOP_LIST(V) \ | 206 MACHINE_COMPARE_BINOP_LIST(V) \ |
| 206 V(Load) \ | 207 V(Load) \ |
| 208 V(LoadAtomic) \ |
| 207 V(Store) \ | 209 V(Store) \ |
| 208 V(Word32And) \ | 210 V(Word32And) \ |
| 209 V(Word32Or) \ | 211 V(Word32Or) \ |
| 210 V(Word32Xor) \ | 212 V(Word32Xor) \ |
| 211 V(Word32Shl) \ | 213 V(Word32Shl) \ |
| 212 V(Word32Shr) \ | 214 V(Word32Shr) \ |
| 213 V(Word32Sar) \ | 215 V(Word32Sar) \ |
| 214 V(Word32Ror) \ | 216 V(Word32Ror) \ |
| 215 V(Word32Clz) \ | 217 V(Word32Clz) \ |
| 216 V(Word64And) \ | 218 V(Word64And) \ |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 (kNumberEqual <= value && value <= kStringLessThanOrEqual) || | 348 (kNumberEqual <= value && value <= kStringLessThanOrEqual) || |
| 347 (kWord32Equal <= value && value <= kFloat64LessThanOrEqual); | 349 (kWord32Equal <= value && value <= kFloat64LessThanOrEqual); |
| 348 } | 350 } |
| 349 }; | 351 }; |
| 350 | 352 |
| 351 } // namespace compiler | 353 } // namespace compiler |
| 352 } // namespace internal | 354 } // namespace internal |
| 353 } // namespace v8 | 355 } // namespace v8 |
| 354 | 356 |
| 355 #endif // V8_COMPILER_OPCODES_H_ | 357 #endif // V8_COMPILER_OPCODES_H_ |
| OLD | NEW |