From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F0326385B533; Mon, 20 Feb 2023 15:07:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F0326385B533 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1676905639; bh=KEndriVR/9iuX5eytQRgdk+IEUmSs+EHXhYi2XOtA0A=; h=From:To:Subject:Date:In-Reply-To:References:From; b=j+PhOr+OeMgpIsWcgJsGvACVrLqGdfQsXX2c7Y8DIC92yh5YBby+10P58cpjOy+4+ 3+CteIUZMG/cU/OyQ25oXw2gfsULju/rpkFZ1aq7LD+OCcnbYe9HT38MXuqgOwbjfi hHWycPkfh//a3kfY8k15rKyBYQClf/BNoDWCnU+Y= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108862] [13 Regression] CryptX miscompilation on power9 since r13-2107 Date: Mon, 20 Feb 2023 15:07:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: 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=3D108862 --- Comment #5 from Jakub Jelinek --- Created attachment 54495 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54495&action=3Dedit gcc13-pr108862.patch Variant patch, instead of creating another temporary and moving it we can j= ust do the highpart (which goes into temporary) first, then lowpart, then addit= ion which depends on the highpart. Strangely, with this patch one gets the loop unrolled (2 handled iterations= at once), while with the earlier patch it is not.=