On Mon, 2020-06-01 at 15:53 -0400, Michael Meissner via Gcc-patches wrote: > These tests make sure that PC-relative variant is generated for -mcpu=future > on > systems that support PC-relative addressing. > > 2020-06-01 Michael Meissner <meiss...@linux.ibm.com> > > * gcc.target/powerpc/prefix-pcrel-dd.c: New test. > * gcc.target/powerpc/prefix-pcrel-df.c: New test. > * gcc.target/powerpc/prefix-pcrel-di.c: New test. > * gcc.target/powerpc/prefix-pcrel-hi.c: New test. > * gcc.target/powerpc/prefix-pcrel-kf.c: New test. > * gcc.target/powerpc/prefix-pcrel-qi.c: New test. > * gcc.target/powerpc/prefix-pcrel-sd.c: New test. > * gcc.target/powerpc/prefix-pcrel-sf.c: New test. > * gcc.target/powerpc/prefix-pcrel-si.c: New test. > * gcc.target/powerpc/prefix-pcrel-udi.c: New test. > * gcc.target/powerpc/prefix-pcrel-uhi.c: New test. > * gcc.target/powerpc/prefix-pcrel-uqi.c: New test. > * gcc.target/powerpc/prefix-pcrel-usi.c: New test. > * gcc.target/powerpc/prefix-pcrel-v2df.c: New test. > * gcc.target/powerpc/prefix-pcrel.h: Include file for new tests. > --- > gcc/testsuite/gcc.target/powerpc/prefix-pcrel-dd.c | 13 ++++++ > gcc/testsuite/gcc.target/powerpc/prefix-pcrel-df.c | 13 ++++++ > gcc/testsuite/gcc.target/powerpc/prefix-pcrel-di.c | 13 ++++++ > gcc/testsuite/gcc.target/powerpc/prefix-pcrel-hi.c | 13 ++++++ > gcc/testsuite/gcc.target/powerpc/prefix-pcrel-kf.c | 13 ++++++ > gcc/testsuite/gcc.target/powerpc/prefix-pcrel-qi.c | 13 ++++++ > gcc/testsuite/gcc.target/powerpc/prefix-pcrel-sd.c | 16 +++++++ > gcc/testsuite/gcc.target/powerpc/prefix-pcrel-sf.c | 13 ++++++ > gcc/testsuite/gcc.target/powerpc/prefix-pcrel-si.c | 13 ++++++ > .../gcc.target/powerpc/prefix-pcrel-udi.c | 13 ++++++ > .../gcc.target/powerpc/prefix-pcrel-uhi.c | 13 ++++++ > .../gcc.target/powerpc/prefix-pcrel-uqi.c | 13 ++++++ > .../gcc.target/powerpc/prefix-pcrel-usi.c | 13 ++++++ > .../gcc.target/powerpc/prefix-pcrel-v2df.c | 13 ++++++ > gcc/testsuite/gcc.target/powerpc/prefix-pcrel.h | 52 > ++++++++++++++++++++++ > 15 files changed, 237 insertions(+) > create mode 100644 gcc/testsuite/gcc.target/powerpc/prefix-pcrel-dd.c > create mode 100644 gcc/testsuite/gcc.target/powerpc/prefix-pcrel-df.c > create mode 100644 gcc/testsuite/gcc.target/powerpc/prefix-pcrel-di.c > create mode 100644 gcc/testsuite/gcc.target/powerpc/prefix-pcrel-hi.c > create mode 100644 gcc/testsuite/gcc.target/powerpc/prefix-pcrel-kf.c > create mode 100644 gcc/testsuite/gcc.target/powerpc/prefix-pcrel-qi.c > create mode 100644 gcc/testsuite/gcc.target/powerpc/prefix-pcrel-sd.c > create mode 100644 gcc/testsuite/gcc.target/powerpc/prefix-pcrel-sf.c > create mode 100644 gcc/testsuite/gcc.target/powerpc/prefix-pcrel-si.c > create mode 100644 gcc/testsuite/gcc.target/powerpc/prefix-pcrel-udi.c > create mode 100644 gcc/testsuite/gcc.target/powerpc/prefix-pcrel-uhi.c > create mode 100644 gcc/testsuite/gcc.target/powerpc/prefix-pcrel-uqi.c > create mode 100644 gcc/testsuite/gcc.target/powerpc/prefix-pcrel-usi.c > create mode 100644 gcc/testsuite/gcc.target/powerpc/prefix-pcrel-v2df.c > create mode 100644 gcc/testsuite/gcc.target/powerpc/prefix-pcrel.h > > diff --git a/gcc/testsuite/gcc.target/powerpc/prefix-pcrel-dd.c > b/gcc/testsuite/gcc.target/powerpc/prefix-pcrel-dd.c > new file mode 100644 > index 0000000..f100c24 > --- /dev/null > +++ b/gcc/testsuite/gcc.target/powerpc/prefix-pcrel-dd.c > @@ -0,0 +1,13 @@ > +/* { dg-do compile } */ > +/* { dg-require-effective-target powerpc_pcrel } */ > +/* { dg-options "-O2 -mdejagnu-cpu=future" } */ > + > +/* Tests for prefixed instructions testing whether pc-relative prefixed > + instructions are generated for the _Decimal64 type. */
Similar/same comment as was made in Apr. I recommend something like "Test whether pc-relative prefixed instructions are generated for the _Decimal64 type."