From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2193F3858C2C; Mon, 23 Aug 2021 19:12:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2193F3858C2C From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/102027] [11/12 Regression] ABI break when using vector type in function arg/return value Date: Mon, 23 Aug 2021 19:12:47 +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: unknown X-Bugzilla-Keywords: ABI X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com 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: 11.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2021 19:12:48 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102027 --- Comment #2 from Uro=C5=A1 Bizjak --- gcc-11 does: 0000000000000000 : 0: 55 push %rbp 1: 48 89 e5 mov %rsp,%rbp 4: 48 8b 05 00 00 00 00 mov 0x0(%rip),%rax # b 7: R_X86_64_PC32 check2237_ret-0x4 b: 66 48 0f 6e c0 movq %rax,%xmm0 10: 5d pop %rbp 11: c3 retq=20=20=20 and for reference, clang-12: 0000000000000000 : 0: 55 push %rbp 1: 48 89 e5 mov %rsp,%rbp 4: 48 8b 04 25 00 00 00 mov 0x0,%rax b: 00=20 8: R_X86_64_32S check2237_ret c: 48 89 45 f8 mov %rax,-0x8(%rbp) 10: f2 0f 10 45 f8 movsd -0x8(%rbp),%xmm0 15: 5d pop %rbp 16: c3 retq=20=20=20 These are the same.=