1 /* { dg-do compile } */
2 /* { dg-require-effective-target powerpc_prefixed_addr } */
3 /* { dg-require-effective-target dfp } */
4 /* { dg-options "-O2 -mdejagnu-cpu=power10" } */
6 /* Tests whether prefixed instructions with large numeric offsets are generated
7 for the _Decimal32 type. Note, the _Decimal32 type will not generate any
8 prefixed load or stores, because there is no prefixed load/store instruction
9 to load up a vector register as a zero extended 32-bit integer. So we count
10 the number of load addresses that are generated. */
12 #define TYPE _Decimal32
14 #include "prefix-large.h"
16 /* { dg-final { scan-assembler-times {\mpli\M} 3 } } */
17 /* { dg-final { scan-assembler-times {\mlfiwzx\M} 2 } } */
18 /* { dg-final { scan-assembler-times {\mstfiwx\M} 2 } } */