URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [mips/] [atomic-memory-2.c] - Rev 321
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O2 isa>=2 -mabi=32" } */ /* { dg-final { scan-assembler "addiu" } } */ /* { dg-final { scan-assembler-not "subu" } } */ NOMIPS16 unsigned long f(unsigned long *p) { return __sync_fetch_and_sub (p, 5); }