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

Side by Side Diff: src/compiler/machine-graph-verifier.cc

Issue 2700813002: [V8] Implement SIMD Boolean vector types to allow mask registers. (Closed)
Patch Set: Rebase. Created 3 years, 10 months 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
« no previous file with comments | « src/compiler/load-elimination.cc ('k') | src/compiler/machine-operator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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-graph-verifier.h" 5 #include "src/compiler/machine-graph-verifier.h"
6 6
7 #include "src/compiler/common-operator.h" 7 #include "src/compiler/common-operator.h"
8 #include "src/compiler/graph.h" 8 #include "src/compiler/graph.h"
9 #include "src/compiler/linkage.h" 9 #include "src/compiler/linkage.h"
10 #include "src/compiler/machine-operator.h" 10 #include "src/compiler/machine-operator.h"
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 switch (expected) { 760 switch (expected) {
761 case MachineRepresentation::kTagged: 761 case MachineRepresentation::kTagged:
762 return (actual == MachineRepresentation::kTagged || 762 return (actual == MachineRepresentation::kTagged ||
763 actual == MachineRepresentation::kTaggedSigned || 763 actual == MachineRepresentation::kTaggedSigned ||
764 actual == MachineRepresentation::kTaggedPointer); 764 actual == MachineRepresentation::kTaggedPointer);
765 case MachineRepresentation::kTaggedSigned: 765 case MachineRepresentation::kTaggedSigned:
766 case MachineRepresentation::kTaggedPointer: 766 case MachineRepresentation::kTaggedPointer:
767 case MachineRepresentation::kFloat32: 767 case MachineRepresentation::kFloat32:
768 case MachineRepresentation::kFloat64: 768 case MachineRepresentation::kFloat64:
769 case MachineRepresentation::kSimd128: 769 case MachineRepresentation::kSimd128:
770 case MachineRepresentation::kSimd1x4:
771 case MachineRepresentation::kSimd1x8:
772 case MachineRepresentation::kSimd1x16:
770 case MachineRepresentation::kBit: 773 case MachineRepresentation::kBit:
771 case MachineRepresentation::kWord8: 774 case MachineRepresentation::kWord8:
772 case MachineRepresentation::kWord16: 775 case MachineRepresentation::kWord16:
773 case MachineRepresentation::kWord64: 776 case MachineRepresentation::kWord64:
774 return expected == actual; 777 return expected == actual;
775 break; 778 break;
776 case MachineRepresentation::kWord32: 779 case MachineRepresentation::kWord32:
777 return (actual == MachineRepresentation::kBit || 780 return (actual == MachineRepresentation::kBit ||
778 actual == MachineRepresentation::kWord8 || 781 actual == MachineRepresentation::kWord8 ||
779 actual == MachineRepresentation::kWord16 || 782 actual == MachineRepresentation::kWord16 ||
(...skipping 25 matching lines...) Expand all
805 MachineRepresentationInferrer representation_inferrer(schedule, graph, 808 MachineRepresentationInferrer representation_inferrer(schedule, graph,
806 linkage, temp_zone); 809 linkage, temp_zone);
807 MachineRepresentationChecker checker(schedule, &representation_inferrer, 810 MachineRepresentationChecker checker(schedule, &representation_inferrer,
808 is_stub, name); 811 is_stub, name);
809 checker.Run(); 812 checker.Run();
810 } 813 }
811 814
812 } // namespace compiler 815 } // namespace compiler
813 } // namespace internal 816 } // namespace internal
814 } // namespace v8 817 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/load-elimination.cc ('k') | src/compiler/machine-operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698