public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/108394] New: aarch64/cpunative/native_cpu_18.c fails in GCC 11 and 12
@ 2023-01-13 14:22 mpolacek at gcc dot gnu.org
  2023-01-27 18:27 ` [Bug testsuite/108394] " tnfchris at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2023-01-13 14:22 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108394
           Summary: aarch64/cpunative/native_cpu_18.c fails in GCC 11 and
                    12
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mpolacek at gcc dot gnu.org
  Target Milestone: ---

The test works with trunk, but not 11 or 12:

$ make check-c RUNTESTFLAGS=aarch64-cpunative.exp=native_cpu_18.c
...
FAIL: gcc.target/aarch64/cpunative/native_cpu_18.c scan-assembler \\.arch
armv8.6-a\\+crc\\+fp16\\+aes\\+sha3\\+rng

                === gcc Summary ===

# of expected passes            1
# of unexpected failures        1
/home/polacek/x/trunk/gcc/xgcc  version 12.2.1 20230113 (GCC)

# GCC_CPUINFO=info_18 gcc -mcpu=native native_cpu_18.c -S; grep arch
native_cpu_18.s
        .arch armv8.6-a+crypto+crc+fp16+sha3+rng+nopredres+nopauth

which doesn't match .arch armv8.6-a+crc+....

I've tried b1cfbccc41de6aec950c0f662e7e85ab34bfff8a and that didn't fail.

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

* [Bug testsuite/108394] aarch64/cpunative/native_cpu_18.c fails in GCC 11 and 12
  2023-01-13 14:22 [Bug testsuite/108394] New: aarch64/cpunative/native_cpu_18.c fails in GCC 11 and 12 mpolacek at gcc dot gnu.org
@ 2023-01-27 18:27 ` tnfchris at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: tnfchris at gcc dot gnu.org @ 2023-01-27 18:27 UTC (permalink / raw)
  To: gcc-bugs

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

Tamar Christina <tnfchris at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tnfchris at gcc dot gnu.org

--- Comment #1 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
we split +crypto into +aes+sha2 when upstreaming Armv8-4.a. sha3 includes sha2.

This seems to be a testism, but +crypto+sha3 == +aes+sha3.  It's curious that
GCC 12 has this canonicalization though.

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

end of thread, other threads:[~2023-01-27 18:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-13 14:22 [Bug testsuite/108394] New: aarch64/cpunative/native_cpu_18.c fails in GCC 11 and 12 mpolacek at gcc dot gnu.org
2023-01-27 18:27 ` [Bug testsuite/108394] " tnfchris 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).