1 /* PR target/70049 */
2 /* { dg-do assemble { target avx } } */
3 /* { dg-require-effective-target masm_intel } */
4 /* { dg-options "-Og -mavx -masm=intel" } */
5 
6 typedef unsigned short A;
7 typedef unsigned short B __attribute__ ((vector_size (32)));
8 typedef unsigned int C;
9 typedef unsigned int D __attribute__ ((vector_size (32)));
10 typedef unsigned long long E;
11 typedef unsigned long long F __attribute__ ((vector_size (32)));
12 
13 C
foo(A a,C b,E c,F d,B e,D f,F g)14 foo(A a, C b, E c, F d, B e, D f, F g)
15 {
16   b <<= 28;
17   e[1] += b;
18   d %= (F) { 0, f[4] } | 1;
19   return a + b + c + d[3] + e[1] + g[3];
20 }
21