| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 V(Uint64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ | 129 V(Uint64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ |
| 130 V(ChangeFloat32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ | 130 V(ChangeFloat32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ |
| 131 V(ChangeFloat64ToInt32, Operator::kNoProperties, 1, 0, 1) \ | 131 V(ChangeFloat64ToInt32, Operator::kNoProperties, 1, 0, 1) \ |
| 132 V(ChangeFloat64ToUint32, Operator::kNoProperties, 1, 0, 1) \ | 132 V(ChangeFloat64ToUint32, Operator::kNoProperties, 1, 0, 1) \ |
| 133 V(ChangeInt32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ | 133 V(ChangeInt32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ |
| 134 V(ChangeInt32ToInt64, Operator::kNoProperties, 1, 0, 1) \ | 134 V(ChangeInt32ToInt64, Operator::kNoProperties, 1, 0, 1) \ |
| 135 V(ChangeUint32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ | 135 V(ChangeUint32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ |
| 136 V(ChangeUint32ToUint64, Operator::kNoProperties, 1, 0, 1) \ | 136 V(ChangeUint32ToUint64, Operator::kNoProperties, 1, 0, 1) \ |
| 137 V(TruncateFloat64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ | 137 V(TruncateFloat64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ |
| 138 V(TruncateInt64ToInt32, Operator::kNoProperties, 1, 0, 1) \ | 138 V(TruncateInt64ToInt32, Operator::kNoProperties, 1, 0, 1) \ |
| 139 V(BitcastFloat32ToInt32, Operator::kNoProperties, 1, 0, 1) \ |
| 140 V(BitcastFloat64ToInt64, Operator::kNoProperties, 1, 0, 1) \ |
| 141 V(BitcastInt32ToFloat32, Operator::kNoProperties, 1, 0, 1) \ |
| 142 V(BitcastInt64ToFloat64, Operator::kNoProperties, 1, 0, 1) \ |
| 139 V(Float32Abs, Operator::kNoProperties, 1, 0, 1) \ | 143 V(Float32Abs, Operator::kNoProperties, 1, 0, 1) \ |
| 140 V(Float32Add, Operator::kCommutative, 2, 0, 1) \ | 144 V(Float32Add, Operator::kCommutative, 2, 0, 1) \ |
| 141 V(Float32Sub, Operator::kNoProperties, 2, 0, 1) \ | 145 V(Float32Sub, Operator::kNoProperties, 2, 0, 1) \ |
| 142 V(Float32Mul, Operator::kCommutative, 2, 0, 1) \ | 146 V(Float32Mul, Operator::kCommutative, 2, 0, 1) \ |
| 143 V(Float32Div, Operator::kNoProperties, 2, 0, 1) \ | 147 V(Float32Div, Operator::kNoProperties, 2, 0, 1) \ |
| 144 V(Float32Sqrt, Operator::kNoProperties, 1, 0, 1) \ | 148 V(Float32Sqrt, Operator::kNoProperties, 1, 0, 1) \ |
| 145 V(Float64Abs, Operator::kNoProperties, 1, 0, 1) \ | 149 V(Float64Abs, Operator::kNoProperties, 1, 0, 1) \ |
| 146 V(Float64Add, Operator::kCommutative, 2, 0, 1) \ | 150 V(Float64Add, Operator::kCommutative, 2, 0, 1) \ |
| 147 V(Float64Sub, Operator::kNoProperties, 2, 0, 1) \ | 151 V(Float64Sub, Operator::kNoProperties, 2, 0, 1) \ |
| 148 V(Float64Mul, Operator::kCommutative, 2, 0, 1) \ | 152 V(Float64Mul, Operator::kCommutative, 2, 0, 1) \ |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 default: | 373 default: |
| 370 break; | 374 break; |
| 371 } | 375 } |
| 372 UNREACHABLE(); | 376 UNREACHABLE(); |
| 373 return nullptr; | 377 return nullptr; |
| 374 } | 378 } |
| 375 | 379 |
| 376 } // namespace compiler | 380 } // namespace compiler |
| 377 } // namespace internal | 381 } // namespace internal |
| 378 } // namespace v8 | 382 } // namespace v8 |
| OLD | NEW |