PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512vl-no-vmovdqu8.c
blobf48d7737ea892cd04a75973ab62548bdfbc23d8e
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mavx512vl -mno-avx512bw" } */
4 typedef unsigned int __attribute__((mode(QI), vector_size(16))) v16qi_t;
5 typedef unsigned int __attribute__((mode(QI), vector_size(32))) v32qi_t;
7 struct s16qi {
8 int i;
9 v16qi_t __attribute__((packed)) v;
11 struct s32qi {
12 int i;
13 v32qi_t __attribute__((packed)) v;
16 void f16qi(struct s16qi*p1, const struct s16qi*p2) {
17 p1->v += p2->v;
20 void f32qi(struct s32qi*p1, const struct s32qi*p2) {
21 p1->v += p2->v;
24 /* { dg-final { scan-assembler-not "^\[ \t\]*vmovdq\[au\](8|16)" } } */