| 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 #include "src/compiler/machine-operator.h" | 5 #include "src/compiler/machine-operator.h" |
| 6 | 6 |
| 7 #include "src/base/lazy-instance.h" | 7 #include "src/base/lazy-instance.h" |
| 8 #include "src/compiler/opcodes.h" | 8 #include "src/compiler/opcodes.h" |
| 9 #include "src/compiler/operator.h" | 9 #include "src/compiler/operator.h" |
| 10 | 10 |
| (...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 V(Float64RoundTruncate, Operator::kNoProperties, 1, 0, 1) \ | 388 V(Float64RoundTruncate, Operator::kNoProperties, 1, 0, 1) \ |
| 389 V(Float64RoundTiesAway, Operator::kNoProperties, 1, 0, 1) \ | 389 V(Float64RoundTiesAway, Operator::kNoProperties, 1, 0, 1) \ |
| 390 V(Float32RoundTiesEven, Operator::kNoProperties, 1, 0, 1) \ | 390 V(Float32RoundTiesEven, Operator::kNoProperties, 1, 0, 1) \ |
| 391 V(Float64RoundTiesEven, Operator::kNoProperties, 1, 0, 1) \ | 391 V(Float64RoundTiesEven, Operator::kNoProperties, 1, 0, 1) \ |
| 392 V(Float32Neg, Operator::kNoProperties, 1, 0, 1) \ | 392 V(Float32Neg, Operator::kNoProperties, 1, 0, 1) \ |
| 393 V(Float64Neg, Operator::kNoProperties, 1, 0, 1) | 393 V(Float64Neg, Operator::kNoProperties, 1, 0, 1) |
| 394 | 394 |
| 395 #define OVERFLOW_OP_LIST(V) \ | 395 #define OVERFLOW_OP_LIST(V) \ |
| 396 V(Int32AddWithOverflow, Operator::kAssociative | Operator::kCommutative) \ | 396 V(Int32AddWithOverflow, Operator::kAssociative | Operator::kCommutative) \ |
| 397 V(Int32SubWithOverflow, Operator::kNoProperties) \ | 397 V(Int32SubWithOverflow, Operator::kNoProperties) \ |
| 398 V(Int32MulWithOverflow, Operator::kAssociative | Operator::kCommutative) \ |
| 398 V(Int64AddWithOverflow, Operator::kAssociative | Operator::kCommutative) \ | 399 V(Int64AddWithOverflow, Operator::kAssociative | Operator::kCommutative) \ |
| 399 V(Int64SubWithOverflow, Operator::kNoProperties) | 400 V(Int64SubWithOverflow, Operator::kNoProperties) |
| 400 | 401 |
| 401 #define MACHINE_TYPE_LIST(V) \ | 402 #define MACHINE_TYPE_LIST(V) \ |
| 402 V(Float32) \ | 403 V(Float32) \ |
| 403 V(Float64) \ | 404 V(Float64) \ |
| 404 V(Simd128) \ | 405 V(Simd128) \ |
| 405 V(Int8) \ | 406 V(Int8) \ |
| 406 V(Uint8) \ | 407 V(Uint8) \ |
| 407 V(Int16) \ | 408 V(Int16) \ |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 720 } | 721 } |
| 721 ATOMIC_REPRESENTATION_LIST(STORE) | 722 ATOMIC_REPRESENTATION_LIST(STORE) |
| 722 #undef STORE | 723 #undef STORE |
| 723 UNREACHABLE(); | 724 UNREACHABLE(); |
| 724 return nullptr; | 725 return nullptr; |
| 725 } | 726 } |
| 726 | 727 |
| 727 } // namespace compiler | 728 } // namespace compiler |
| 728 } // namespace internal | 729 } // namespace internal |
| 729 } // namespace v8 | 730 } // namespace v8 |
| OLD | NEW |