From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BFA82384DEE6; Mon, 19 Feb 2024 14:14:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BFA82384DEE6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708352055; bh=d1cz01+zcgEnVOP2tAgU8i/mnmLIAqwEfL8ORcB2osU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kZL9I8Y2Rt44yeR1HzyVYMx1DltnwMWr5jUP+Ac8mehkRJNLn30pmetNXLWVM+YXt Y1WRziX0RjKNwXm1iqT0Rq8mVbHEZozMGCK7SYn7dleFwK/rraz8m4ltYxXU7cdyI8 1zE2s5hbyDMbdhZXEjxE30ej5LEEjJO6q8cI1khc= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113989] MinGW generates unaligned vmovdqa64 Date: Mon, 19 Feb 2024 14:14:15 +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: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: keywords 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=3D113989 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code --- Comment #1 from Richard Biener --- Feels like the old issue that the incoming stack in main() is not aligned as GCC it thinks it is? On x86_64-linux we dynamically re-align the stack: main: .LFB0: .cfi_startproc pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 movl $1, %esi movq %rsp, %rbp .cfi_def_cfa_register 6 andq $-64, %rsp subq $64, %rsp movq %rsp, %rdi call _Z1fx does -mstackrealign make it work? I think there's some duplicate bugreports about mingw and stack alignment.=