[RS6000] Tests that use int128_t and -m32
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / lhs-1.c
blob4e13fd2fb708131a22974cb7caa0d0ebd303df3e
1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
3 /* { dg-options "-O2 -mdejagnu-cpu=power5" } */
4 /* { dg-final { scan-assembler-times "nop" 3 } } */
6 /* Test generation of nops in load hit store situation. Make sure enough nop
7 insns are generated to move the load to a new dispatch group. With the
8 simple stw/lwz pair below, that would be 3 nop insns for Power5. */
10 unsigned int f (volatile unsigned int *u, unsigned int u2)
12 *u = u2;
13 return *u;