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

Unified Diff: src/compiler/instruction.cc

Issue 2700813002: [V8] Implement SIMD Boolean vector types to allow mask registers. (Closed)
Patch Set: Remove stray DCHECK. 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 side-by-side diff with in-line comments
Download patch
Index: src/compiler/instruction.cc
diff --git a/src/compiler/instruction.cc b/src/compiler/instruction.cc
index 90d9bb46910b814e4ec121b7754cb0c8fa527298..ded2bd2679e5dd598f01013dcf3683f07ac467a1 100644
--- a/src/compiler/instruction.cc
+++ b/src/compiler/instruction.cc
@@ -208,6 +208,15 @@ std::ostream& operator<<(std::ostream& os,
case MachineRepresentation::kSimd128:
os << "|s128";
break;
+ case MachineRepresentation::kSimdBool4:
+ os << "|s1x4";
+ break;
+ case MachineRepresentation::kSimdBool8:
+ os << "|s1x8";
+ break;
+ case MachineRepresentation::kSimdBool16:
+ os << "|s1x16";
+ break;
case MachineRepresentation::kTaggedSigned:
os << "|ts";
break;
@@ -888,6 +897,9 @@ static MachineRepresentation FilterRepresentation(MachineRepresentation rep) {
case MachineRepresentation::kFloat32:
case MachineRepresentation::kFloat64:
case MachineRepresentation::kSimd128:
+ case MachineRepresentation::kSimdBool4:
+ case MachineRepresentation::kSimdBool8:
+ case MachineRepresentation::kSimdBool16:
case MachineRepresentation::kTaggedSigned:
case MachineRepresentation::kTaggedPointer:
case MachineRepresentation::kTagged:

Powered by Google App Engine
This is Rietveld 408576698