1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
3 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power5" } } */
4 /* { dg-options "-O2 -mcpu=power5" } */
5 /* { dg-final { scan-assembler-times "nop" 3 } } */
7 /* Test generation of nops in load hit store situation. Make sure enough nop
8 insns are generated to move the load to a new dispatch group. With the
9 simple stw/lwz pair below, that would be 3 nop insns for Power5. */
11 unsigned int f (volatile unsigned int *u
, unsigned int u2
)