URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [arm/] [pr51835.c] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O2 -mfloat-abi=hard -mfpu=fpv4-sp-d16" } */ /* { dg-require-effective-target arm_thumb2_ok } */ int func1 (double d) { return (int)d; } unsigned int func2 (double d) { return (unsigned int)d; } /* { dg-final { scan-assembler-times "fmrrd\[\\t \]+r0,\[\\t \]*r1,\[\\t \]*d0" 2 } } */
Go to most recent revision | Compare with Previous | Blame | View Log