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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [fp-int-convert-float80.c] - Blame information for rev 801

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

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

powered by: WebSVN 2.1.0

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