PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / movbe-3.c
blobe02a3016ef1f68bdb4a41346935831893654f7de
1 /* { dg-do compile } */
2 /* { dg-options "-O -mmovbe" } */
4 struct __attribute__((scalar_storage_order("big-endian"))) S
6 int i;
7 };
9 int get (struct S *s)
11 return s->i;
14 void set (struct S *s, int i)
16 s->i = i;
19 /* { dg-final { scan-assembler-times "movbel\[ \t\]" 2 } } */