From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 24E04384B110; Sat, 26 Jun 2021 10:06:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 24E04384B110 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/101220] New: arm: iwmmxt2: generating bad assembler ? Date: Sat, 26 Jun 2021 10:06:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: Sat, 26 Jun 2021 10:06:51 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101220 Bug ID: 101220 Summary: arm: iwmmxt2: generating bad assembler ? Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- For this C source code: struct Node FirstNode_t; struct Node { int Pi; int BestPi } FirstNode() { FirstNode_t.Pi =3D FirstNode_t.BestPi =3D 0; } Compiled on a raspberry pi cross compiler like this: $ /home/dcb/raspberrypi/results/bin/arm-linux-gnueabihf-gcc -c -O3 -march=3Diwmmxt2 -c bug731.c does this: /tmp/cccOc0OE.s: Assembler messages: /tmp/cccOc0OE.s:25: Error: selected processor does not support `wldrd wr0,.= L3' in ARM mode /tmp/cccOc0OE.s:28: Error: selected processor does not support `wstrd wr0,[= r3]' in ARM mode Cross compiler is $ /home/dcb/raspberrypi/results/bin/arm-linux-gnueabihf-gcc -v Using built-in specs. COLLECT_GCC=3D/home/dcb/raspberrypi/results/bin/arm-linux-gnueabihf-gcc COLLECT_LTO_WRAPPER=3D/home/dcb/raspberrypi/results/libexec/gcc/arm-linux-g= nueabihf/12.0.0/lto-wrapper Target: arm-linux-gnueabihf Configured with: /home/dcb/gcc/trunk.git/configure --prefix=3D/home/dcb/raspberrypi/results/ --target=3Darm-linux-gnueabihf --enable-languages=3Dc,c++,fortran --with-arch=3Darmv6 --with-fpu=3Dvfp --with-float=3Dhard --disable-multilib --enable-checking=3Ddf,extra,fold,rt= l,yes --with-pkgversion=3D7dcf139a2b8e1c53 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20210624 (experimental) (7dcf139a2b8e1c53)=