Debian Codegraph @

gcc/testsuite/gcc.dg/torture/fp-int-convert-float80-timode.c

raw
1 /* Test floating-point conversions. __float80 type with TImode. */
2 /* Origin: Joseph Myers <[email protected]> */
3 /* { dg-do run { target i?86-*-* x86_64-*-* ia64-*-* } } */
4 /* { dg-options "" } */
5 /* { dg-options "-mmmx" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
6
7 #include "fp-int-convert.h"
8
9 #define FLOAT80_MANT_DIG 64
10 #define FLOAT80_MAX_EXP 16384
11
12 int
13 main (void)
14 {
15 TEST_I_F(TItype, UTItype, __float80, FLOAT80_MANT_DIG, FLOAT80_MAX_EXP);
16 exit (0);
17 }