Index: src/compiler/instruction-selector.h |
diff --git a/src/compiler/instruction-selector.h b/src/compiler/instruction-selector.h |
index dab2c0f70a40506975e7bb934441ea1ff757469f..d811aa474198c893e36970f5c80fd449db82a913 100644 |
--- a/src/compiler/instruction-selector.h |
+++ b/src/compiler/instruction-selector.h |
@@ -263,6 +263,27 @@ class V8_EXPORT_PRIVATE InstructionSelector final { |
void MarkAsSimd128(Node* node) { |
MarkAsRepresentation(MachineRepresentation::kSimd128, node); |
} |
+ void MarkAsSimd1x4(Node* node) { |
+ if (kSimdMaskRegisters) { |
+ MarkAsRepresentation(MachineRepresentation::kSimd1x4, node); |
+ } else { |
+ MarkAsSimd128(node); |
+ } |
+ } |
+ void MarkAsSimd1x8(Node* node) { |
+ if (kSimdMaskRegisters) { |
+ MarkAsRepresentation(MachineRepresentation::kSimd1x8, node); |
+ } else { |
+ MarkAsSimd128(node); |
+ } |
+ } |
+ void MarkAsSimd1x16(Node* node) { |
+ if (kSimdMaskRegisters) { |
+ MarkAsRepresentation(MachineRepresentation::kSimd1x16, node); |
+ } else { |
+ MarkAsSimd128(node); |
+ } |
+ } |
void MarkAsReference(Node* node) { |
MarkAsRepresentation(MachineRepresentation::kTagged, node); |
} |