public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
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	[thread overview]
Message-ID: <bug-101220-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101220

            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 = FirstNode_t.BestPi = 0;
}

Compiled on a raspberry pi cross compiler like this:

$ /home/dcb/raspberrypi/results/bin/arm-linux-gnueabihf-gcc -c -O3
-march=iwmmxt2 -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=/home/dcb/raspberrypi/results/bin/arm-linux-gnueabihf-gcc
COLLECT_LTO_WRAPPER=/home/dcb/raspberrypi/results/libexec/gcc/arm-linux-gnueabihf/12.0.0/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: /home/dcb/gcc/trunk.git/configure
--prefix=/home/dcb/raspberrypi/results/ --target=arm-linux-gnueabihf
--enable-languages=c,c++,fortran --with-arch=armv6 --with-fpu=vfp
--with-float=hard --disable-multilib --enable-checking=df,extra,fold,rtl,yes
--with-pkgversion=7dcf139a2b8e1c53
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.0.0 20210624 (experimental) (7dcf139a2b8e1c53)

             reply	other threads:[~2021-06-26 10:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-26 10:06 dcb314 at hotmail dot com [this message]
2021-06-30 11:59 ` [Bug target/101220] " rearnsha at gcc dot gnu.org
2021-06-30 13:13 ` rearnsha at gcc dot gnu.org
2021-06-30 13:54 ` rearnsha at gcc dot gnu.org
2021-07-01 16:52 ` rearnsha at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-101220-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).