2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr70155-3.c
blobb11520fcda5441fb78e97b6cdf1819dbaf9891da
1 /* { dg-do compile { target int128 } } */
2 /* { dg-options "-O2 -msse2 -mtune=generic -dp" } */
4 extern __int128 a;
6 struct foo
8 __int128 i;
9 }__attribute__ ((packed));
11 extern struct foo x;
13 void
14 foo (void)
16 a = x.i;
19 /* { dg-final { scan-assembler-times "movv1ti_internal" 2 } } */
20 /* { dg-final { scan-assembler-not "\\*movdi_internal" { target nonpic } } } */