This updates gcc.dg/lower-subreg-1.c to reflect that the i386 backend now lowers iordi3 itself, rather than relying on the middle-end's subreg1 pass. Committed as obvious. Sorry for the noise; my "-m32 -march=cascadelake" scripts were looking for regressions in gcc.target/i386 [now corrected].
2022-03-06 Roger Sayle <ro...@nextmovesoftware.com> gcc/testsuite/ChangeLog * gcc.dg/lower-subreg-1.c: Update test case. iordi3 is no longer lowered by the RTL subreg1 pass on ia32 [even with -mno-stv]. Sorry again, Roger -- > -----Original Message----- > From: sunil.k.pandey <skpan...@sc.intel.com> > Sent: 05 March 2022 18:39 > To: gcc-patches@gcc.gnu.org; gcc-regress...@gcc.gnu.org; > ro...@nextmovesoftware.com > Subject: [r12-7502 Regression] FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump > subreg1 "Splitting reg" on Linux/x86_64 > > On Linux/x86_64, > > 8ea4a34bd0b0a46277b5e077c89cbd86dfb09c48 is the first bad commit commit > 8ea4a34bd0b0a46277b5e077c89cbd86dfb09c48 > Author: Roger Sayle <ro...@nextmovesoftware.com> > Date: Sat Mar 5 08:50:45 2022 +0000 > > PR 104732: Simplify/fix DI mode logic expansion/splitting on -m32. > > caused > > FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg" > > with GCC configured with > > ../../gcc/configure --prefix=/local/skpandey/gccwork/toolwork/gcc-bisect- > master/master/r12-7502/usr --enable-clocale=gnu --with-system-zlib --with- > demangler-in-ld --with-fpmath=sse --enable-languages=c,c++,fortran --enable- > cet --without-isl --enable-libmpx x86_64-linux --disable-bootstrap > > To reproduce: > > $ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=gcc.dg/lower- > subreg-1.c --target_board='unix{-m32}'" > $ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=gcc.dg/lower- > subreg-1.c --target_board='unix{-m32\ -march=cascadelake}'" > > (Please do not reply to this email, for question about this report, contact me at > skpgkp2 at gmail dot com)
diff --git a/gcc/testsuite/gcc.dg/lower-subreg-1.c b/gcc/testsuite/gcc.dg/lower-subreg-1.c index 63a4710..8462992 100644 --- a/gcc/testsuite/gcc.dg/lower-subreg-1.c +++ b/gcc/testsuite/gcc.dg/lower-subreg-1.c @@ -1,7 +1,5 @@ -/* { dg-do compile { target { ! { mips64 || { aarch64*-*-* arm*-*-* ia64-*-* sparc*-*-* tilegx-*-* } } } } } */ +/* { dg-do compile { target { ! { mips64 || { aarch64*-*-* arm*-*-* i?86-*-* ia64-*-* sparc*-*-* tilegx-*-* x86_64-*-* } } } } } */ /* { dg-options "-O -fdump-rtl-subreg1" } */ -/* { dg-additional-options "-mno-stv" { target ia32 } } */ -/* { dg-skip-if "" { { i?86-*-* x86_64-*-* } && x32 } } */ /* { dg-require-effective-target ilp32 } */ long long test (long long a, long long b) { return a | b; }