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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 V(Simd128And, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \ | 385 V(Simd128And, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \ |
386 V(Simd128Or, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \ | 386 V(Simd128Or, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \ |
387 V(Simd128Xor, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \ | 387 V(Simd128Xor, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \ |
388 V(Simd128Not, Operator::kNoProperties, 1, 0, 1) | 388 V(Simd128Not, Operator::kNoProperties, 1, 0, 1) |
389 | 389 |
390 #define PURE_OPTIONAL_OP_LIST(V) \ | 390 #define PURE_OPTIONAL_OP_LIST(V) \ |
391 V(Word32Ctz, Operator::kNoProperties, 1, 0, 1) \ | 391 V(Word32Ctz, Operator::kNoProperties, 1, 0, 1) \ |
392 V(Word64Ctz, Operator::kNoProperties, 1, 0, 1) \ | 392 V(Word64Ctz, Operator::kNoProperties, 1, 0, 1) \ |
393 V(Word32ReverseBits, Operator::kNoProperties, 1, 0, 1) \ | 393 V(Word32ReverseBits, Operator::kNoProperties, 1, 0, 1) \ |
394 V(Word64ReverseBits, Operator::kNoProperties, 1, 0, 1) \ | 394 V(Word64ReverseBits, Operator::kNoProperties, 1, 0, 1) \ |
| 395 V(Word32ReverseBytes, Operator::kNoProperties, 1, 0, 1) \ |
| 396 V(Word64ReverseBytes, Operator::kNoProperties, 1, 0, 1) \ |
395 V(Word32Popcnt, Operator::kNoProperties, 1, 0, 1) \ | 397 V(Word32Popcnt, Operator::kNoProperties, 1, 0, 1) \ |
396 V(Word64Popcnt, Operator::kNoProperties, 1, 0, 1) \ | 398 V(Word64Popcnt, Operator::kNoProperties, 1, 0, 1) \ |
397 V(Float32RoundDown, Operator::kNoProperties, 1, 0, 1) \ | 399 V(Float32RoundDown, Operator::kNoProperties, 1, 0, 1) \ |
398 V(Float64RoundDown, Operator::kNoProperties, 1, 0, 1) \ | 400 V(Float64RoundDown, Operator::kNoProperties, 1, 0, 1) \ |
399 V(Float32RoundUp, Operator::kNoProperties, 1, 0, 1) \ | 401 V(Float32RoundUp, Operator::kNoProperties, 1, 0, 1) \ |
400 V(Float64RoundUp, Operator::kNoProperties, 1, 0, 1) \ | 402 V(Float64RoundUp, Operator::kNoProperties, 1, 0, 1) \ |
401 V(Float32RoundTruncate, Operator::kNoProperties, 1, 0, 1) \ | 403 V(Float32RoundTruncate, Operator::kNoProperties, 1, 0, 1) \ |
402 V(Float64RoundTruncate, Operator::kNoProperties, 1, 0, 1) \ | 404 V(Float64RoundTruncate, Operator::kNoProperties, 1, 0, 1) \ |
403 V(Float64RoundTiesAway, Operator::kNoProperties, 1, 0, 1) \ | 405 V(Float64RoundTiesAway, Operator::kNoProperties, 1, 0, 1) \ |
404 V(Float32RoundTiesEven, Operator::kNoProperties, 1, 0, 1) \ | 406 V(Float32RoundTiesEven, Operator::kNoProperties, 1, 0, 1) \ |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 } | 783 } |
782 ATOMIC_REPRESENTATION_LIST(STORE) | 784 ATOMIC_REPRESENTATION_LIST(STORE) |
783 #undef STORE | 785 #undef STORE |
784 UNREACHABLE(); | 786 UNREACHABLE(); |
785 return nullptr; | 787 return nullptr; |
786 } | 788 } |
787 | 789 |
788 } // namespace compiler | 790 } // namespace compiler |
789 } // namespace internal | 791 } // namespace internal |
790 } // namespace v8 | 792 } // namespace v8 |
OLD | NEW |