From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6348E385456C; Sat, 19 Nov 2022 17:34:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6348E385456C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668879287; bh=Gnlcuovq+Df61gkvOSHOmUUn7PCdC8CBeI9eI9bp6k0=; h=From:To:Subject:Date:From; b=maWGqnnDlTWQTWB0ryLvxEW4CzQM0IrxzyODDE5uWC4WsflxPR2TylsomD/RSBIHL c30HYED/0oyJfYjQzn7+Ncw7awfhu+hjUF1DkOamJdVP25O3ZM+5dyqCGtinUbrCih Mc4u++sbf2w16nd69lmXpek9ZGygleSHzuglahl0= From: "law at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/107762] New: [13 Regression] Recent change causing regressions on s390-linux-gnu Date: Sat, 19 Nov 2022 17:34:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: law at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107762 Bug ID: 107762 Summary: [13 Regression] Recent change causing regressions on s390-linux-gnu Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: law at gcc dot gnu.org CC: ebotcazou at gcc dot gnu.org Target Milestone: --- Target: s390-linux-gnu This change: commit 3e2bdf2460a34a2389dee813a2ba8ecf976f2ec9 Author: Eric Botcazou Date: Fri Nov 4 11:15:57 2022 +0100 Do not use subword paradoxical subregs in emit_group_store The goal of the trick is to make life easier for the combiner, but subw= ord paradoxical subregs make it harder for the register allocator instead. gcc/ * expr.cc (emit_group_store): Do not use subword paradoxical subregs Is causing at least two regressions on s390-linux-gnu: Tests that now fail, but worked before (19 tests): [ ... ] gcc.target/s390/arch12/mul-1.c scan-assembler-times \tmsgrkc\t 1 gcc.target/s390/arch13/sel-1.c scan-assembler-times \tselgr(?:h|le)\t 1 [ ... ] Those are the only two that I have positively confirmed are due to the emit_group_store change. I looked briefly at the resulting assembly code for the mul-1 test and it l= ooks worse to me after that change. But I'm far from an s390 expert. You can see this with a cross compiler, you don't need a full toolchain to test.=