public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/101723] New: arm: incorrect order of .fpu and .arch_extension directives leads to unsupported instructions
@ 2021-08-02 10:48 rearnsha at gcc dot gnu.org
  2021-08-02 10:48 ` [Bug target/101723] " rearnsha at gcc dot gnu.org
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: rearnsha at gcc dot gnu.org @ 2021-08-02 10:48 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101723
           Summary: arm: incorrect order of .fpu and .arch_extension
                    directives leads to unsupported instructions
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rearnsha at gcc dot gnu.org
  Target Milestone: ---

This bug was originally reported against GNU binutils
(https://sourceware.org/bugzilla/show_bug.cgi?id=28078), but is really a
problem with the way GCC emits the directives .fpu and .arch_extension.


Alok Parlikar 2021-07-12 04:50:04 UTC

I was trying to build tensorflow-lite v2.5 with a custom toolchain that was
using binutils 2.36.1. The build failed when building the xnnpack project with
an error:

/tmp/ccMSJOfk.s:380: Error: selected processor does not support `vsdot.s8
q12,q9,d11[0]' in ARM mode

Some of my notes about this issue are here:
https://github.com/google/XNNPACK/issues/1465#issuecomment-877910701

Following is a minimal example to reproduce this:


// file: test.c
#include <arm_neon.h>

int32x2_t test(int32x2_t a, int8x8_t b, int8x8_t c) {
        return vdot_lane_s32(a, b, c, 1);
}
// EOF

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

end of thread, other threads:[~2022-02-08  7:12 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-02 10:48 [Bug target/101723] New: arm: incorrect order of .fpu and .arch_extension directives leads to unsupported instructions rearnsha at gcc dot gnu.org
2021-08-02 10:48 ` [Bug target/101723] " rearnsha at gcc dot gnu.org
2021-08-02 10:50 ` rearnsha at gcc dot gnu.org
2021-08-05 11:52 ` cvs-commit at gcc dot gnu.org
2021-08-06 14:07 ` cvs-commit at gcc dot gnu.org
2021-08-06 14:27 ` cvs-commit at gcc dot gnu.org
2021-08-18 15:23 ` cvs-commit at gcc dot gnu.org
2021-08-18 15:23 ` cvs-commit at gcc dot gnu.org
2021-08-18 15:23 ` cvs-commit at gcc dot gnu.org
2021-08-23 14:31 ` cvs-commit at gcc dot gnu.org
2021-08-23 14:32 ` cvs-commit at gcc dot gnu.org
2021-08-23 14:32 ` cvs-commit at gcc dot gnu.org
2021-08-23 14:41 ` cvs-commit at gcc dot gnu.org
2021-08-23 14:41 ` cvs-commit at gcc dot gnu.org
2021-08-23 14:43 ` rearnsha at gcc dot gnu.org
2021-08-26 15:18 ` clyon at gcc dot gnu.org
2021-08-31 11:25 ` rearnsha at gcc dot gnu.org
2021-09-01  8:14 ` clyon at gcc dot gnu.org
2022-02-08  7:12 ` pinskia 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).