OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [fp-int-convert-float128.c] - Blame information for rev 149

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* Test floating-point conversions.  __float128 type.  */
2
/* Origin: Joseph Myers <joseph@codesourcery.com> */
3
/* { dg-do run { target { ia64-*-* || { { i?86-*-* x86_64-*-*} && lp64 } } } } */
4
/* { dg-xfail-if "" { i?86-*-* x86_64-*-* } { "*" } { "" } } */
5
/* { dg-options "" } */
6
 
7
#include "fp-int-convert.h"
8
 
9
#define FLOAT128_MANT_DIG 113
10
 
11
int
12
main (void)
13
{
14
  TEST_I_F(signed char, unsigned char, __float128, FLOAT128_MANT_DIG);
15
  TEST_I_F(signed short, unsigned short, __float128, FLOAT128_MANT_DIG);
16
  TEST_I_F(signed int, unsigned int, __float128, FLOAT128_MANT_DIG);
17
  TEST_I_F(signed long, unsigned long, __float128, FLOAT128_MANT_DIG);
18
  TEST_I_F(signed long long, unsigned long long, __float128, FLOAT128_MANT_DIG);
19
  exit (0);
20
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.