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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [compat/] [decimal/] [pass-3_x.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
typedef float dec32 __attribute__((mode(SD)));
2
typedef float dec64 __attribute__((mode(DD)));
3
typedef float dec128 __attribute__((mode(TD)));
4
 
5
#include "pass_x.h"
6
 
7
void
8
pass_3_x (void)
9
{
10
DEBUG_INIT
11
 
12
#define T(NAME) testit##NAME ();
13
 
14
#ifndef SKIP_DECIMAL32
15
T(d32)
16
#endif
17
#ifndef SKIP_DECIMAL64
18
T(d64)
19
#endif
20
#ifndef SKIP_DECIMAL128
21
T(d128)
22
#endif
23
 
24
DEBUG_FINI
25
 
26
if (fails != 0)
27
  abort ();
28
 
29
#undef T
30
}

powered by: WebSVN 2.1.0

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