blob: 64b39ae804f9170c7846ed3214ddf0e9cc55689c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* { dg-do compile { target { powerpc*-*-* && ilp32 } } } */
/* { dg-require-effective-target dfp } */
/* { dg-skip-if "" { powerpc*-*-aix* } } */
/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=G5" } } */
/* { dg-options "-O2 -mcpu=G5 -maltivec" } */
union ieee754r_Decimal32
{
_Decimal32 sd;
unsigned int cc0;
};
unsigned int
__decoded32 (_Decimal32 a)
{
union ieee754r_Decimal32 d;
d.sd = a;
return d.cc0;
}
|