URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [20050830-1.c] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
/* Make sure the doloop optimization is done for this loop. */ /* { dg-do compile { target powerpc*-*-* } } */ /* { dg-options "-O2" } */ /* { dg-final { scan-assembler "bdn" } } */ extern int a[]; int foo(int w) { int n = w; while (n >= 512) { a[n] = 42; n -= 256; } }
Go to most recent revision | Compare with Previous | Blame | View Log