2 /* { dg-require-effective-target float16_runtime } */
3 /* { dg-require-effective-target dfprt } */
4 /* { dg-options "-save-temps" } */
5 /* { dg-add-options float16 } */
7 /* Test conversions from DFP to smaller types. */
14 void __attribute__ ((__noinline__
)) foo32 (_Decimal32 param32
)
19 void __attribute__ ((__noinline__
)) foo64 (_Decimal64 param64
)
25 void __attribute__ ((__noinline__
)) foo128 (_Decimal128 param128
)
40 /* { dg-final { scan-assembler-times {\t__bid_truncsdhf} 2 { target { dfp_bid } } } } */
41 /* { dg-final { scan-assembler-times {\t__bid_truncddhf} 2 { target { dfp_bid } } } } */
42 /* { dg-final { scan-assembler-times {\t__bid_truncddsd2} 2 { target { dfp_bid } } } } */
43 /* { dg-final { scan-assembler-times {\t__bid_trunctdhf} 2 { target { dfp_bid } } } } */
44 /* { dg-final { scan-assembler-times {\t__bid_trunctdsd2} 2 { target { dfp_bid } } } } */
45 /* { dg-final { scan-assembler-times {\t__bid_trunctddd2} 2 { target { dfp_bid } } } } */