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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [arm-fp16-int-convert-alt.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* Test floating-point conversions.  Standard types and __fp16.  */
2
/* { dg-do run { target arm*-*-* } } */
3
/* { dg-options "-mfp16-format=alternative" } */
4
 
5
#include "fp-int-convert.h"
6
#define FP16_MANT_DIG 11
7
 
8
int
9
main (void)
10
{
11
  TEST_I_F(signed char, unsigned char, float, FP16_MANT_DIG);
12
  TEST_I_F(signed short, unsigned short, float, FP16_MANT_DIG);
13
  TEST_I_F(signed int, unsigned int, float, FP16_MANT_DIG);
14
  TEST_I_F(signed long, unsigned long, float, FP16_MANT_DIG);
15
  TEST_I_F(signed long long, unsigned long long, float, FP16_MANT_DIG);
16
  exit (0);
17
}

powered by: WebSVN 2.1.0

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