URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [avoid-indexed-addresses.c] - Rev 322
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-options "-O2 -mavoid-indexed-addresses" } */ /* { dg-final { scan-assembler-not "lbzx" } } /* Ensure that an indexed load is not generated with -mavoid-indexed-addresses. */ char do_one (char *base, unsigned long offset) { return base[offset]; }
Go to most recent revision | Compare with Previous | Blame | View Log