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 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 V(Simd128And, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \ | 367 V(Simd128And, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \ |
368 V(Simd128Or, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \ | 368 V(Simd128Or, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \ |
369 V(Simd128Xor, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \ | 369 V(Simd128Xor, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \ |
370 V(Simd128Not, Operator::kNoProperties, 1, 0, 1) | 370 V(Simd128Not, Operator::kNoProperties, 1, 0, 1) |
371 | 371 |
372 #define PURE_OPTIONAL_OP_LIST(V) \ | 372 #define PURE_OPTIONAL_OP_LIST(V) \ |
373 V(Word32Ctz, Operator::kNoProperties, 1, 0, 1) \ | 373 V(Word32Ctz, Operator::kNoProperties, 1, 0, 1) \ |
374 V(Word64Ctz, Operator::kNoProperties, 1, 0, 1) \ | 374 V(Word64Ctz, Operator::kNoProperties, 1, 0, 1) \ |
375 V(Word32ReverseBits, Operator::kNoProperties, 1, 0, 1) \ | 375 V(Word32ReverseBits, Operator::kNoProperties, 1, 0, 1) \ |
376 V(Word64ReverseBits, Operator::kNoProperties, 1, 0, 1) \ | 376 V(Word64ReverseBits, Operator::kNoProperties, 1, 0, 1) \ |
| 377 V(Word32ReverseBytes, Operator::kNoProperties, 1, 0, 1) \ |
| 378 V(Word64ReverseBytes, Operator::kNoProperties, 1, 0, 1) \ |
377 V(Word32Popcnt, Operator::kNoProperties, 1, 0, 1) \ | 379 V(Word32Popcnt, Operator::kNoProperties, 1, 0, 1) \ |
378 V(Word64Popcnt, Operator::kNoProperties, 1, 0, 1) \ | 380 V(Word64Popcnt, Operator::kNoProperties, 1, 0, 1) \ |
379 V(Float32Max, Operator::kNoProperties, 2, 0, 1) \ | 381 V(Float32Max, Operator::kNoProperties, 2, 0, 1) \ |
380 V(Float32Min, Operator::kNoProperties, 2, 0, 1) \ | 382 V(Float32Min, Operator::kNoProperties, 2, 0, 1) \ |
381 V(Float64Max, Operator::kNoProperties, 2, 0, 1) \ | 383 V(Float64Max, Operator::kNoProperties, 2, 0, 1) \ |
382 V(Float64Min, Operator::kNoProperties, 2, 0, 1) \ | 384 V(Float64Min, Operator::kNoProperties, 2, 0, 1) \ |
383 V(Float32RoundDown, Operator::kNoProperties, 1, 0, 1) \ | 385 V(Float32RoundDown, Operator::kNoProperties, 1, 0, 1) \ |
384 V(Float64RoundDown, Operator::kNoProperties, 1, 0, 1) \ | 386 V(Float64RoundDown, Operator::kNoProperties, 1, 0, 1) \ |
385 V(Float32RoundUp, Operator::kNoProperties, 1, 0, 1) \ | 387 V(Float32RoundUp, Operator::kNoProperties, 1, 0, 1) \ |
386 V(Float64RoundUp, Operator::kNoProperties, 1, 0, 1) \ | 388 V(Float64RoundUp, Operator::kNoProperties, 1, 0, 1) \ |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
721 } | 723 } |
722 ATOMIC_REPRESENTATION_LIST(STORE) | 724 ATOMIC_REPRESENTATION_LIST(STORE) |
723 #undef STORE | 725 #undef STORE |
724 UNREACHABLE(); | 726 UNREACHABLE(); |
725 return nullptr; | 727 return nullptr; |
726 } | 728 } |
727 | 729 |
728 } // namespace compiler | 730 } // namespace compiler |
729 } // namespace internal | 731 } // namespace internal |
730 } // namespace v8 | 732 } // namespace v8 |
OLD | NEW |