URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [fp-int-convert-float128.c] - Rev 827
Go to most recent revision | Compare with Previous | Blame | View Log
/* Test floating-point conversions. __float128 type. */ /* Origin: Joseph Myers <joseph@codesourcery.com> */ /* { dg-do run { target { ia64-*-* || { { i?86-*-* x86_64-*-*} && lp64 } } } } */ /* { dg-xfail-if "" { i?86-*-* x86_64-*-* } { "*" } { "" } } */ /* { dg-options "" } */ #include "fp-int-convert.h" #define FLOAT128_MANT_DIG 113 int main (void) { TEST_I_F(signed char, unsigned char, __float128, FLOAT128_MANT_DIG); TEST_I_F(signed short, unsigned short, __float128, FLOAT128_MANT_DIG); TEST_I_F(signed int, unsigned int, __float128, FLOAT128_MANT_DIG); TEST_I_F(signed long, unsigned long, __float128, FLOAT128_MANT_DIG); TEST_I_F(signed long long, unsigned long long, __float128, FLOAT128_MANT_DIG); exit (0); }
Go to most recent revision | Compare with Previous | Blame | View Log