From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B070E383904A; Tue, 30 Aug 2022 14:12:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B070E383904A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1661868722; bh=4KfoQzcDpZYOddiZ5dSlS9MJJcNaSwSA2EHf5dt/80o=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ybEIXLt/IO48g8SVm4jbhSlspx3DsYqS9F+luRkPEmy2neivu7794WfQl/H1K7aeS 363A70srHHT0txXOt3MjrY9ExmvwsEXz82Dwigf71uz3od5hTveyV9QhIZrxGbh7gm 5yV3uFcBM1DKN9eGoxxHAb78+MJR5tvTSn2LKIzs= From: "georgepee at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/106763] Armv8.2 vmov.f16 instruction sometimes causes SIGILL Date: Tue, 30 Aug 2022 14:12:02 +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: 12.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: georgepee 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: --- 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106763 --- Comment #4 from George Pee --- Yes, it's possible that this isn't a compiler bug. I thought that it might= be because the problem started showing up after upgrading the toolchain. I wasn't sure if the compiler was failing to emit some kind of alignment or= fp setting code. I running on linux 4.9.118, I enabled CONFIG_DEBUG_USER=3Dy and set user_debug=3D31 in the kernel cmdli= ne. This is what the kernel reports. I'm starting to look through it. [ 51.337524] a.out (3638): undefined instruction: pc=3D00010778 [ 51.337536] CPU: 3 PID: 3638 Comm: a.out Tainted: P O 4.9.1= 18 #2 [ 51.337547] task: 8572b000 task.stack: 8a002000 [ 51.337555] PC is at 0x10778 [ 51.337560] LR is at 0x60dc51b4 [ 51.337567] pc : [<00010778>] lr : [<60dc51b4>] psr: 60000010 [ 51.337567] sp : 72909c50 ip : 60dc51c0 fp : 72909c54 [ 51.337572] r10: 60ff5000 r9 : 00000000 r8 : 00000000 [ 51.337578] r7 : 00000000 r6 : 00010668 r5 : 00000000 r4 : 00003346 [ 51.337583] r3 : 00000000 r2 : 00000001 r1 : 00000000 r0 : 6ff59dd5 [ 51.337589] Flags: nZCv IRQs on FIQs on Mode USER_32 ISA ARM Segment user [ 51.337595] Control: 50c0383d Table: 3e0c406a DAC: 00000015 [ 51.337605] Code: eef81be7 eddf2b05 eec10ba2 eef37b60 (ee173990)=