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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 V(ChangeFloat64ToUint32, Operator::kNoProperties, 1, 0, 1) \ | 146 V(ChangeFloat64ToUint32, Operator::kNoProperties, 1, 0, 1) \ |
147 V(TruncateFloat32ToInt32, Operator::kNoProperties, 1, 0, 1) \ | 147 V(TruncateFloat32ToInt32, Operator::kNoProperties, 1, 0, 1) \ |
148 V(TryTruncateFloat32ToInt64, Operator::kNoProperties, 1, 0, 2) \ | 148 V(TryTruncateFloat32ToInt64, Operator::kNoProperties, 1, 0, 2) \ |
149 V(TryTruncateFloat64ToInt64, Operator::kNoProperties, 1, 0, 2) \ | 149 V(TryTruncateFloat64ToInt64, Operator::kNoProperties, 1, 0, 2) \ |
150 V(TryTruncateFloat32ToUint64, Operator::kNoProperties, 1, 0, 2) \ | 150 V(TryTruncateFloat32ToUint64, Operator::kNoProperties, 1, 0, 2) \ |
151 V(TryTruncateFloat64ToUint64, Operator::kNoProperties, 1, 0, 2) \ | 151 V(TryTruncateFloat64ToUint64, Operator::kNoProperties, 1, 0, 2) \ |
152 V(ChangeInt32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ | 152 V(ChangeInt32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ |
153 V(RoundInt32ToFloat32, Operator::kNoProperties, 1, 0, 1) \ | 153 V(RoundInt32ToFloat32, Operator::kNoProperties, 1, 0, 1) \ |
154 V(RoundInt64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ | 154 V(RoundInt64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ |
155 V(RoundInt64ToFloat64, Operator::kNoProperties, 1, 0, 1) \ | 155 V(RoundInt64ToFloat64, Operator::kNoProperties, 1, 0, 1) \ |
| 156 V(RoundUint32ToFloat32, Operator::kNoProperties, 1, 0, 1) \ |
156 V(RoundUint64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ | 157 V(RoundUint64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ |
157 V(RoundUint64ToFloat64, Operator::kNoProperties, 1, 0, 1) \ | 158 V(RoundUint64ToFloat64, Operator::kNoProperties, 1, 0, 1) \ |
158 V(ChangeInt32ToInt64, Operator::kNoProperties, 1, 0, 1) \ | 159 V(ChangeInt32ToInt64, Operator::kNoProperties, 1, 0, 1) \ |
159 V(ChangeUint32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ | 160 V(ChangeUint32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ |
160 V(ChangeUint32ToUint64, Operator::kNoProperties, 1, 0, 1) \ | 161 V(ChangeUint32ToUint64, Operator::kNoProperties, 1, 0, 1) \ |
161 V(TruncateFloat64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ | 162 V(TruncateFloat64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ |
162 V(TruncateInt64ToInt32, Operator::kNoProperties, 1, 0, 1) \ | 163 V(TruncateInt64ToInt32, Operator::kNoProperties, 1, 0, 1) \ |
163 V(BitcastFloat32ToInt32, Operator::kNoProperties, 1, 0, 1) \ | 164 V(BitcastFloat32ToInt32, Operator::kNoProperties, 1, 0, 1) \ |
164 V(BitcastFloat64ToInt64, Operator::kNoProperties, 1, 0, 1) \ | 165 V(BitcastFloat64ToInt64, Operator::kNoProperties, 1, 0, 1) \ |
165 V(BitcastInt32ToFloat32, Operator::kNoProperties, 1, 0, 1) \ | 166 V(BitcastInt32ToFloat32, Operator::kNoProperties, 1, 0, 1) \ |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 case MachineRepresentation::kNone: | 434 case MachineRepresentation::kNone: |
434 break; | 435 break; |
435 } | 436 } |
436 UNREACHABLE(); | 437 UNREACHABLE(); |
437 return nullptr; | 438 return nullptr; |
438 } | 439 } |
439 | 440 |
440 } // namespace compiler | 441 } // namespace compiler |
441 } // namespace internal | 442 } // namespace internal |
442 } // namespace v8 | 443 } // namespace v8 |
OLD | NEW |