Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Side by Side Diff: src/compiler/machine-operator.h

Issue 2543773002: [Turbofan] Canonicalize SIMD 32x4 Select, Swizzle, and Shuffle. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 #ifndef V8_COMPILER_MACHINE_OPERATOR_H_ 5 #ifndef V8_COMPILER_MACHINE_OPERATOR_H_
6 #define V8_COMPILER_MACHINE_OPERATOR_H_ 6 #define V8_COMPILER_MACHINE_OPERATOR_H_
7 7
8 #include "src/base/compiler-specific.h" 8 #include "src/base/compiler-specific.h"
9 #include "src/base/flags.h" 9 #include "src/base/flags.h"
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 const Operator* Float32x4Min(); 440 const Operator* Float32x4Min();
441 const Operator* Float32x4Max(); 441 const Operator* Float32x4Max();
442 const Operator* Float32x4MinNum(); 442 const Operator* Float32x4MinNum();
443 const Operator* Float32x4MaxNum(); 443 const Operator* Float32x4MaxNum();
444 const Operator* Float32x4Equal(); 444 const Operator* Float32x4Equal();
445 const Operator* Float32x4NotEqual(); 445 const Operator* Float32x4NotEqual();
446 const Operator* Float32x4LessThan(); 446 const Operator* Float32x4LessThan();
447 const Operator* Float32x4LessThanOrEqual(); 447 const Operator* Float32x4LessThanOrEqual();
448 const Operator* Float32x4GreaterThan(); 448 const Operator* Float32x4GreaterThan();
449 const Operator* Float32x4GreaterThanOrEqual(); 449 const Operator* Float32x4GreaterThanOrEqual();
450 const Operator* Float32x4Select();
451 const Operator* Float32x4Swizzle();
452 const Operator* Float32x4Shuffle();
453 const Operator* Float32x4FromInt32x4(); 450 const Operator* Float32x4FromInt32x4();
454 const Operator* Float32x4FromUint32x4(); 451 const Operator* Float32x4FromUint32x4();
455 452
456 const Operator* CreateInt32x4(); 453 const Operator* CreateInt32x4();
457 const Operator* Int32x4ExtractLane(); 454 const Operator* Int32x4ExtractLane();
458 const Operator* Int32x4ReplaceLane(); 455 const Operator* Int32x4ReplaceLane();
459 const Operator* Int32x4Neg(); 456 const Operator* Int32x4Neg();
460 const Operator* Int32x4Add(); 457 const Operator* Int32x4Add();
461 const Operator* Int32x4Sub(); 458 const Operator* Int32x4Sub();
462 const Operator* Int32x4Mul(); 459 const Operator* Int32x4Mul();
463 const Operator* Int32x4Min(); 460 const Operator* Int32x4Min();
464 const Operator* Int32x4Max(); 461 const Operator* Int32x4Max();
465 const Operator* Int32x4ShiftLeftByScalar(); 462 const Operator* Int32x4ShiftLeftByScalar();
466 const Operator* Int32x4ShiftRightByScalar(); 463 const Operator* Int32x4ShiftRightByScalar();
467 const Operator* Int32x4Equal(); 464 const Operator* Int32x4Equal();
468 const Operator* Int32x4NotEqual(); 465 const Operator* Int32x4NotEqual();
469 const Operator* Int32x4LessThan(); 466 const Operator* Int32x4LessThan();
470 const Operator* Int32x4LessThanOrEqual(); 467 const Operator* Int32x4LessThanOrEqual();
471 const Operator* Int32x4GreaterThan(); 468 const Operator* Int32x4GreaterThan();
472 const Operator* Int32x4GreaterThanOrEqual(); 469 const Operator* Int32x4GreaterThanOrEqual();
473 const Operator* Int32x4Select();
474 const Operator* Int32x4Swizzle();
475 const Operator* Int32x4Shuffle();
476 const Operator* Int32x4FromFloat32x4(); 470 const Operator* Int32x4FromFloat32x4();
477 471
478 const Operator* Uint32x4Min(); 472 const Operator* Uint32x4Min();
479 const Operator* Uint32x4Max(); 473 const Operator* Uint32x4Max();
480 const Operator* Uint32x4ShiftLeftByScalar(); 474 const Operator* Uint32x4ShiftLeftByScalar();
481 const Operator* Uint32x4ShiftRightByScalar(); 475 const Operator* Uint32x4ShiftRightByScalar();
482 const Operator* Uint32x4LessThan(); 476 const Operator* Uint32x4LessThan();
483 const Operator* Uint32x4LessThanOrEqual(); 477 const Operator* Uint32x4LessThanOrEqual();
484 const Operator* Uint32x4GreaterThan(); 478 const Operator* Uint32x4GreaterThan();
485 const Operator* Uint32x4GreaterThanOrEqual(); 479 const Operator* Uint32x4GreaterThanOrEqual();
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 const Operator* Simd128Load2(); 594 const Operator* Simd128Load2();
601 const Operator* Simd128Load3(); 595 const Operator* Simd128Load3();
602 const Operator* Simd128Store(); 596 const Operator* Simd128Store();
603 const Operator* Simd128Store1(); 597 const Operator* Simd128Store1();
604 const Operator* Simd128Store2(); 598 const Operator* Simd128Store2();
605 const Operator* Simd128Store3(); 599 const Operator* Simd128Store3();
606 const Operator* Simd128And(); 600 const Operator* Simd128And();
607 const Operator* Simd128Or(); 601 const Operator* Simd128Or();
608 const Operator* Simd128Xor(); 602 const Operator* Simd128Xor();
609 const Operator* Simd128Not(); 603 const Operator* Simd128Not();
604 const Operator* Simd32x4Select();
605 const Operator* Simd32x4Swizzle();
606 const Operator* Simd32x4Shuffle();
610 607
611 // load [base + index] 608 // load [base + index]
612 const Operator* Load(LoadRepresentation rep); 609 const Operator* Load(LoadRepresentation rep);
613 const Operator* ProtectedLoad(LoadRepresentation rep); 610 const Operator* ProtectedLoad(LoadRepresentation rep);
614 611
615 // store [base + index], value 612 // store [base + index], value
616 const Operator* Store(StoreRepresentation rep); 613 const Operator* Store(StoreRepresentation rep);
617 const Operator* ProtectedStore(MachineRepresentation rep); 614 const Operator* ProtectedStore(MachineRepresentation rep);
618 615
619 // unaligned load [base + index] 616 // unaligned load [base + index]
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 }; 694 };
698 695
699 696
700 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) 697 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags)
701 698
702 } // namespace compiler 699 } // namespace compiler
703 } // namespace internal 700 } // namespace internal
704 } // namespace v8 701 } // namespace v8
705 702
706 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ 703 #endif // V8_COMPILER_MACHINE_OPERATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698