URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [sh/] [pr21255-3.c] - Rev 826
Compare with Previous | Blame | View Log
/* { dg-do compile { target "sh*-*-*" } } */ /* { dg-options "-O2 -fomit-frame-pointer" } */ /* { dg-final { scan-assembler "mov #?0,r.*; mov #?20,r" } } */ /* { dg-final { scan-assembler "mov #?1077149696,r.*; mov #?0,r" } } */ double f () { double r; asm ("mov %S1,%S0; mov %R1,%R0" : "=r" (r) : "i" (20)); asm ("mov %S1,%S0; mov %R1,%R0" : "+r" (r) : "i" (20.)); return r; }