From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5A3493858C98; Thu, 4 Apr 2024 15:22:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5A3493858C98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712244157; bh=wIcYwB27adUATi4awP4t+1Cbq6DtBIm/ye4pnsFV330=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dRpl0UWuwImhOTnd/fk5EGqRI5uKBY1C7wZbQi4vPV0jlGLgFHgBemWB9HFI+/rFW 4seWVpZcpeVmH7kq4JnXbIPYr5YOFvuSi9qWn3QSNgbFFjIEHx+Q1PNZeHwEiiLRsQ wOdtDw6OsZqRpyS7G1HoI4s260Uq+pJ5UCKC1pOA= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/114566] Misaligned vmovaps when compiling with stack-protector-strong for znver4 Date: Thu, 04 Apr 2024 15:22:35 +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.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW 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_status everconfirmed cc cf_reconfirmed_on 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=3D114566 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |jakub at gcc dot gnu.org Last reconfirmed|2024-04-02 00:00:00 |2024-04-04 --- Comment #9 from Jakub Jelinek --- With -O3 -mavx512{bw,dq,vl} -fstack-protector-strong on void foo (float x, float y) { float a[8][56]; __builtin_memset (a, 0, sizeof (a)); for (int j =3D 0; j < 8; j++) { for (int k =3D 0; k < 56; k++) { float b =3D k * y; if (b < 0.) b =3D 0.; if (b > 0.) b =3D 0.; a[j][k] +=3D b; } } int c =3D __builtin_log (x); } int main () { foo (86.1328125, 0.625001); return 0; } this started with r10-4263-g1297712fb4af6c6bfd827e0f0a9695b14669f87d and went away on the trunk with r14-2487-g574a1ea4406dd1dbf14e149a9b5d142f6cbdf32a=