Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / torture / fp-int-convert-float128.c
blob9d610c1cb2b9da0cf32fd231bcc3be30509184b0
1 /* Test floating-point conversions. __float128 type. */
2 /* Origin: Joseph Myers <joseph@codesourcery.com> */
3 /* { dg-do run { target i?86-*-* x86_64-*-* ia64-*-* } } */
4 /* { dg-xfail-if "" { i?86-*-* x86_64-*-* } { "*" } { "" } } */
5 /* { dg-options "" } */
6 /* { dg-options "-mmmx" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
8 #include "fp-int-convert.h"
10 #define FLOAT128_MANT_DIG 113
12 int
13 main (void)
15 TEST_I_F(signed char, unsigned char, __float128, FLOAT128_MANT_DIG);
16 TEST_I_F(signed short, unsigned short, __float128, FLOAT128_MANT_DIG);
17 TEST_I_F(signed int, unsigned int, __float128, FLOAT128_MANT_DIG);
18 TEST_I_F(signed long, unsigned long, __float128, FLOAT128_MANT_DIG);
19 TEST_I_F(signed long long, unsigned long long, __float128, FLOAT128_MANT_DIG);
20 exit (0);