URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.dg/] [ext/] [arm-fp16/] [fp16-overload-1.C] - Rev 301
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile { target arm*-*-* } } */
/* { dg-options "-mfp16-format=ieee" } */
/* __fp16 values are autoconverted to float and should therefore be treated
* just like float for overloading purposes. */
extern int frobnify (float x);
extern int frobnify (double x);
int g (void)
{
return frobnify ((__fp16)1.0);
}
/* { dg-final { scan-assembler "_Z8frobnifyf" } } */
/* { dg-final { scan-assembler-not " _Z8frobnifyd" } } */
Go to most recent revision | Compare with Previous | Blame | View Log