ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/powerpc/prefix-pcrel-si.c

14 lines
384 B
C

/* { dg-do compile } */
/* { dg-require-effective-target powerpc_pcrel } */
/* { dg-options "-O2 -mdejagnu-cpu=power10" } */
/* Tests whether pc-relative prefixed instructions are generated for the
int type. */
#define TYPE int
#include "prefix-pcrel.h"
/* { dg-final { scan-assembler-times {\mplw[az]\M} 2 } } */
/* { dg-final { scan-assembler-times {\mpstw\M} 2 } } */