public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/107025] New: gas doesn't accept code produced by -mcpu=thunderx3t110
@ 2022-09-24  8:41 rsandifo at gcc dot gnu.org
  2022-09-24 13:57 ` [Bug target/107025] " pinskia at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2022-09-24  8:41 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107025
           Summary: gas doesn't accept code produced by
                    -mcpu=thunderx3t110
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rsandifo at gcc dot gnu.org
                CC: ktkachov at gcc dot gnu.org, pinskia at gcc dot gnu.org,
                    rearnsha at gcc dot gnu.org
  Target Milestone: ---
            Target: aarch64*-*-*

Compiling:

void foo (_Atomic int *ptr) { ptr[1] = 1; }

with -O2 -mcpu=thunderx3t110 produces:

Error: selected processor does not support `stlur w1,[x0,4]'

This is because thunderx3t110 is listed as an Armv8.3-A core,
but includes the Armv8.4-A RCPC extension:

AARCH64_CORE("thunderx3t110",  thunderx3t110,  thunderx3t110, V8_3A, 
AARCH64_F\
L_CRYPTO | AARCH64_FL_RCPC | AARCH64_FL_SM4 | AARCH64_FL_SHA3 |
AARCH64_FL_F16F\
ML | AARCH64_FL_RCPC8_4, thunderx3t110, 0x43, 0x0b8, 0x0a)

This extension doesn't have its own separate feature flag in
gcc, gas, or clang.  I guess the options are to add one or
to remove the AARCH64_FL_RCPC8_4 entry.

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

end of thread, other threads:[~2022-09-30 10:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-24  8:41 [Bug target/107025] New: gas doesn't accept code produced by -mcpu=thunderx3t110 rsandifo at gcc dot gnu.org
2022-09-24 13:57 ` [Bug target/107025] " pinskia at gcc dot gnu.org
2022-09-26  9:34 ` ktkachov at gcc dot gnu.org
2022-09-29 10:34 ` cvs-commit at gcc dot gnu.org
2022-09-30 10:35 ` rsandifo 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).