Debian Codegraph @

gcc/testsuite/gcc.target/powerpc/pr64205.c

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