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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [dfp/] [modes.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-std=gnu99" } */
3
 
4
typedef float decimal32  __attribute__ ((mode (SD)));
5
typedef float decimal64  __attribute__ ((mode (DD)));
6
typedef float decimal128 __attribute__ ((mode (TD)));
7
 
8
int ssize[sizeof (decimal32) == 4 ? 1 : -1];
9
int dsize[sizeof (decimal64) == 8 ? 1 : -1];
10
int tsize[sizeof (decimal128) == 16 ? 1 : -1];
11
 
12
int salign = __alignof (decimal32);
13
int dalign = __alignof (decimal64);
14
int talign = __alignof (decimal128);
15
 

powered by: WebSVN 2.1.0

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