2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr70049.c
bloba659bb35b0d0a464d76e95395d2ad56c1c80f2f6
1 /* PR target/70049 */
2 /* { dg-do assemble { target avx } } */
3 /* { dg-require-effective-target masm_intel } */
4 /* { dg-options "-Og -mavx -masm=intel" } */
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)));
14 foo(A a, C b, E c, F d, B e, D f, F g)
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];