URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-dev/] [fsf-gcc-snapshot-1-mar-12/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [mips/] [asm-1.c] - Rev 847
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR target/17565. GCC used to put the asm into the delay slot of the call. */ /* { dg-do assemble } */ /* { dg-options "-O" } */ NOMIPS16 int foo (int n) { register int k asm ("$16") = n; if (k > 0) { bar (); asm ("li %0,0x12345678" : "=r" (k)); } return k; }
Go to most recent revision | Compare with Previous | Blame | View Log