From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7E6E53858D32; Tue, 26 Jul 2022 07:36:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7E6E53858D32 From: "sherry.zhang2 at arm dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/106442] Build time error "vadd.i32 q3, q3, q0'" in case of -mcpu=cortex-m55+nofp+nomve.fp Date: Tue, 26 Jul 2022 07:36:23 +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: 11.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sherry.zhang2 at arm dot com X-Bugzilla-Status: WAITING 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 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: Tue, 26 Jul 2022 07:36:23 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106442 --- Comment #5 from sherry.zhang2 at arm dot com --- (In reply to Andrew Pinski from comment #4) > A picture is not the source. > But this looks more like a bug in either your inline-asm or how you invoke > GCC. Logs after adding -v to GCC: COLLECT_GCC_OPTIONS=3D '-mcpu=3Dcortex-m55+nomve.fp' '-v' '-O3' '-D' 'NDEBU= G' '-specs=3Dnano.specs' '-Wall' '-Wformat=3D0' '-Wno-return-type' '-Wno-unused-but-set-variable' '-c' '-fdata-sections' '-ffunction-sections' '-fno-builtin' '-fshort-enums' '-funsigned-char' '-mthumb' '-nostdlib' '-std=3Dc99' '-g' '-mfloat-abi=3Dsoft' '-mcmse' '-Wno-unused-value' '-o' 'CMakeFiles/tfm_spm.dir/cmsis_psa/arch/tfm_arch_v8m_main.o' '-c' '-mlibarch=3Darmv8.1-m.main+mve' '-march=3Darmv8.1-m.main+mve'=20 The same source code can build without error if I enable FP with COLLECT_GCC_OPTIONS=3D'-mcpu=3Dcortex-m55' '-v' '-O3' '-D' 'NDEBUG' '-specs=3Dnano.specs' '-Wall' '-Wformat=3D0' '-Wno-return-type' '-Wno-unused-but-set-variable' '-c' '-fdata-sections' '-ffunction-sections' '-fno-builtin' '-fshort-enums' '-funsigned-char' '-mthumb' '-nostdlib' '-std=3Dc99' '-g' '-mfloat-abi=3Dhard' '-mfpu=3Dfpv5-d16' '-mcmse' '-Wno-unused-value' '-o' 'CMakeFiles/tfm_spm.dir/cmsis_psa/arch/tfm_arch_v8m_main.o' '-c' '-mlibarch=3Darmv8.1-m.main+fp.dp+mve' '-march=3Darmv8.1-m.main+fp.dp+mve'=