@@ -1324,7 +1324,7 @@ (define_expand "mov<mode>"
(define_insn "mov<mode>_internal"
[(set (match_operand:VMOVE 0 "nonimmediate_operand"
- "=v,v ,v,v ,m")
+ "=v,v ,x,v ,m")
(match_operand:VMOVE 1 "nonimmediate_or_sse_const_operand"
" C,<sseconstm1>,BH,vm,v"))]
"TARGET_SSE
new file mode 100644
@@ -0,0 +1,11 @@
+/* { dg-do assemble { target { ! ia32 } } } */
+/* { dg-options " -O2 -mavx512vl" } */
+
+#include <immintrin.h>
+
+void f()
+{
+ __m256i mask = _mm256_set_epi32(0, 0, 0, 0, -1, -1, -1, -1);
+ register __m256i reg asm("xmm16") = mask;
+ asm(""::"v"(reg));
+}