| 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 INNER_CONTROL_OP_LIST(V) \ | 9 #define INNER_CONTROL_OP_LIST(V) \ |
| 10 V(Dead) \ | 10 V(Dead) \ |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 #define MACHINE_COMPARE_BINOP_LIST(V) \ | 185 #define MACHINE_COMPARE_BINOP_LIST(V) \ |
| 186 V(Word32Equal) \ | 186 V(Word32Equal) \ |
| 187 V(Word64Equal) \ | 187 V(Word64Equal) \ |
| 188 V(Int32LessThan) \ | 188 V(Int32LessThan) \ |
| 189 V(Int32LessThanOrEqual) \ | 189 V(Int32LessThanOrEqual) \ |
| 190 V(Uint32LessThan) \ | 190 V(Uint32LessThan) \ |
| 191 V(Uint32LessThanOrEqual) \ | 191 V(Uint32LessThanOrEqual) \ |
| 192 V(Int64LessThan) \ | 192 V(Int64LessThan) \ |
| 193 V(Int64LessThanOrEqual) \ | 193 V(Int64LessThanOrEqual) \ |
| 194 V(Uint64LessThan) \ | 194 V(Uint64LessThan) \ |
| 195 V(Float32Equal) \ |
| 196 V(Float32LessThan) \ |
| 197 V(Float32LessThanOrEqual) \ |
| 195 V(Float64Equal) \ | 198 V(Float64Equal) \ |
| 196 V(Float64LessThan) \ | 199 V(Float64LessThan) \ |
| 197 V(Float64LessThanOrEqual) | 200 V(Float64LessThanOrEqual) |
| 198 | 201 |
| 199 #define MACHINE_OP_LIST(V) \ | 202 #define MACHINE_OP_LIST(V) \ |
| 200 MACHINE_COMPARE_BINOP_LIST(V) \ | 203 MACHINE_COMPARE_BINOP_LIST(V) \ |
| 201 V(Load) \ | 204 V(Load) \ |
| 202 V(Store) \ | 205 V(Store) \ |
| 203 V(Word32And) \ | 206 V(Word32And) \ |
| 204 V(Word32Or) \ | 207 V(Word32Or) \ |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 V(ChangeFloat32ToFloat64) \ | 239 V(ChangeFloat32ToFloat64) \ |
| 237 V(ChangeFloat64ToInt32) \ | 240 V(ChangeFloat64ToInt32) \ |
| 238 V(ChangeFloat64ToUint32) \ | 241 V(ChangeFloat64ToUint32) \ |
| 239 V(ChangeInt32ToFloat64) \ | 242 V(ChangeInt32ToFloat64) \ |
| 240 V(ChangeInt32ToInt64) \ | 243 V(ChangeInt32ToInt64) \ |
| 241 V(ChangeUint32ToFloat64) \ | 244 V(ChangeUint32ToFloat64) \ |
| 242 V(ChangeUint32ToUint64) \ | 245 V(ChangeUint32ToUint64) \ |
| 243 V(TruncateFloat64ToFloat32) \ | 246 V(TruncateFloat64ToFloat32) \ |
| 244 V(TruncateFloat64ToInt32) \ | 247 V(TruncateFloat64ToInt32) \ |
| 245 V(TruncateInt64ToInt32) \ | 248 V(TruncateInt64ToInt32) \ |
| 249 V(Float32Add) \ |
| 250 V(Float32Sub) \ |
| 251 V(Float32Mul) \ |
| 252 V(Float32Div) \ |
| 253 V(Float32Max) \ |
| 254 V(Float32Min) \ |
| 255 V(Float32Sqrt) \ |
| 246 V(Float64Add) \ | 256 V(Float64Add) \ |
| 247 V(Float64Sub) \ | 257 V(Float64Sub) \ |
| 248 V(Float64Mul) \ | 258 V(Float64Mul) \ |
| 249 V(Float64Div) \ | 259 V(Float64Div) \ |
| 250 V(Float64Mod) \ | 260 V(Float64Mod) \ |
| 251 V(Float64Max) \ | 261 V(Float64Max) \ |
| 252 V(Float64Min) \ | 262 V(Float64Min) \ |
| 253 V(Float64Sqrt) \ | 263 V(Float64Sqrt) \ |
| 254 V(Float64RoundDown) \ | 264 V(Float64RoundDown) \ |
| 255 V(Float64RoundTruncate) \ | 265 V(Float64RoundTruncate) \ |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 (kNumberEqual <= value && value <= kStringLessThanOrEqual) || | 342 (kNumberEqual <= value && value <= kStringLessThanOrEqual) || |
| 333 (kWord32Equal <= value && value <= kFloat64LessThanOrEqual); | 343 (kWord32Equal <= value && value <= kFloat64LessThanOrEqual); |
| 334 } | 344 } |
| 335 }; | 345 }; |
| 336 | 346 |
| 337 } // namespace compiler | 347 } // namespace compiler |
| 338 } // namespace internal | 348 } // namespace internal |
| 339 } // namespace v8 | 349 } // namespace v8 |
| 340 | 350 |
| 341 #endif // V8_COMPILER_OPCODES_H_ | 351 #endif // V8_COMPILER_OPCODES_H_ |
| OLD | NEW |