[SKX] Enabling SKX target and AVX512BW, AVX512DQ, AVX512VL features.
[oota-llvm.git] / lib / Target / X86 / AsmParser / X86AsmParser.cpp
index a259c96320322ebf79806f044824f349a753cc71..a11a238fc9765a6055605fef6edc53744e54f3ad 100644 (file)
@@ -1666,6 +1666,8 @@ bool X86AsmParser::HandleAVX512Operand(OperandVector &Operands,
         // Recognize only reasonable suffixes.
         const char *BroadcastPrimitive =
           StringSwitch<const char*>(getLexer().getTok().getIdentifier())
+            .Case("to2",  "{1to2}")
+            .Case("to4",  "{1to4}")
             .Case("to8",  "{1to8}")
             .Case("to16", "{1to16}")
             .Default(nullptr);