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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 V(RoundUint64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ | 143 V(RoundUint64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ |
144 V(RoundUint64ToFloat64, Operator::kNoProperties, 1, 0, 1) \ | 144 V(RoundUint64ToFloat64, Operator::kNoProperties, 1, 0, 1) \ |
145 V(ChangeInt32ToInt64, Operator::kNoProperties, 1, 0, 1) \ | 145 V(ChangeInt32ToInt64, Operator::kNoProperties, 1, 0, 1) \ |
146 V(ChangeUint32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ | 146 V(ChangeUint32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ |
147 V(ChangeUint32ToUint64, Operator::kNoProperties, 1, 0, 1) \ | 147 V(ChangeUint32ToUint64, Operator::kNoProperties, 1, 0, 1) \ |
148 V(ImpossibleToWord32, Operator::kNoProperties, 1, 0, 1) \ | 148 V(ImpossibleToWord32, Operator::kNoProperties, 1, 0, 1) \ |
149 V(ImpossibleToWord64, Operator::kNoProperties, 1, 0, 1) \ | 149 V(ImpossibleToWord64, Operator::kNoProperties, 1, 0, 1) \ |
150 V(ImpossibleToFloat32, Operator::kNoProperties, 1, 0, 1) \ | 150 V(ImpossibleToFloat32, Operator::kNoProperties, 1, 0, 1) \ |
151 V(ImpossibleToFloat64, Operator::kNoProperties, 1, 0, 1) \ | 151 V(ImpossibleToFloat64, Operator::kNoProperties, 1, 0, 1) \ |
152 V(ImpossibleToTagged, Operator::kNoProperties, 1, 0, 1) \ | 152 V(ImpossibleToTagged, Operator::kNoProperties, 1, 0, 1) \ |
| 153 V(ImpossibleToTaggedSigned, Operator::kNoProperties, 1, 0, 1) \ |
| 154 V(ImpossibleToTaggedPointer, Operator::kNoProperties, 1, 0, 1) \ |
153 V(ImpossibleToBit, Operator::kNoProperties, 1, 0, 1) \ | 155 V(ImpossibleToBit, Operator::kNoProperties, 1, 0, 1) \ |
154 V(TruncateFloat64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ | 156 V(TruncateFloat64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ |
155 V(TruncateInt64ToInt32, Operator::kNoProperties, 1, 0, 1) \ | 157 V(TruncateInt64ToInt32, Operator::kNoProperties, 1, 0, 1) \ |
156 V(BitcastFloat32ToInt32, Operator::kNoProperties, 1, 0, 1) \ | 158 V(BitcastFloat32ToInt32, Operator::kNoProperties, 1, 0, 1) \ |
157 V(BitcastFloat64ToInt64, Operator::kNoProperties, 1, 0, 1) \ | 159 V(BitcastFloat64ToInt64, Operator::kNoProperties, 1, 0, 1) \ |
158 V(BitcastInt32ToFloat32, Operator::kNoProperties, 1, 0, 1) \ | 160 V(BitcastInt32ToFloat32, Operator::kNoProperties, 1, 0, 1) \ |
159 V(BitcastInt64ToFloat64, Operator::kNoProperties, 1, 0, 1) \ | 161 V(BitcastInt64ToFloat64, Operator::kNoProperties, 1, 0, 1) \ |
160 V(Float32Abs, Operator::kNoProperties, 1, 0, 1) \ | 162 V(Float32Abs, Operator::kNoProperties, 1, 0, 1) \ |
161 V(Float32Add, Operator::kCommutative, 2, 0, 1) \ | 163 V(Float32Add, Operator::kCommutative, 2, 0, 1) \ |
162 V(Float32Sub, Operator::kNoProperties, 2, 0, 1) \ | 164 V(Float32Sub, Operator::kNoProperties, 2, 0, 1) \ |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 V(Simd128) \ | 421 V(Simd128) \ |
420 V(Int8) \ | 422 V(Int8) \ |
421 V(Uint8) \ | 423 V(Uint8) \ |
422 V(Int16) \ | 424 V(Int16) \ |
423 V(Uint16) \ | 425 V(Uint16) \ |
424 V(Int32) \ | 426 V(Int32) \ |
425 V(Uint32) \ | 427 V(Uint32) \ |
426 V(Int64) \ | 428 V(Int64) \ |
427 V(Uint64) \ | 429 V(Uint64) \ |
428 V(Pointer) \ | 430 V(Pointer) \ |
| 431 V(TaggedSigned) \ |
| 432 V(TaggedPointer) \ |
429 V(AnyTagged) | 433 V(AnyTagged) |
430 | 434 |
431 #define MACHINE_REPRESENTATION_LIST(V) \ | 435 #define MACHINE_REPRESENTATION_LIST(V) \ |
432 V(kFloat32) \ | 436 V(kFloat32) \ |
433 V(kFloat64) \ | 437 V(kFloat64) \ |
434 V(kSimd128) \ | 438 V(kSimd128) \ |
435 V(kWord8) \ | 439 V(kWord8) \ |
436 V(kWord16) \ | 440 V(kWord16) \ |
437 V(kWord32) \ | 441 V(kWord32) \ |
438 V(kWord64) \ | 442 V(kWord64) \ |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
794 } | 798 } |
795 ATOMIC_REPRESENTATION_LIST(STORE) | 799 ATOMIC_REPRESENTATION_LIST(STORE) |
796 #undef STORE | 800 #undef STORE |
797 UNREACHABLE(); | 801 UNREACHABLE(); |
798 return nullptr; | 802 return nullptr; |
799 } | 803 } |
800 | 804 |
801 } // namespace compiler | 805 } // namespace compiler |
802 } // namespace internal | 806 } // namespace internal |
803 } // namespace v8 | 807 } // namespace v8 |
OLD | NEW |