public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/101220] New: arm: iwmmxt2: generating bad assembler ?
@ 2021-06-26 10:06 dcb314 at hotmail dot com
  2021-06-30 11:59 ` [Bug target/101220] " rearnsha at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dcb314 at hotmail dot com @ 2021-06-26 10:06 UTC (permalink / raw)
  To: gcc-bugs

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)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-07-01 16:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-26 10:06 [Bug target/101220] New: arm: iwmmxt2: generating bad assembler ? dcb314 at hotmail dot com
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

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).