public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/101375] New: arm: Adding -mfpu=auto makes many tests unsupported
@ 2021-07-08  8:46 clyon at gcc dot gnu.org
  2021-07-08 12:05 ` [Bug testsuite/101375] " clyon at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: clyon at gcc dot gnu.org @ 2021-07-08  8:46 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101375
           Summary: arm: Adding -mfpu=auto makes many tests unsupported
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: clyon at gcc dot gnu.org
  Target Milestone: ---

While looking at updating my validation configs to use -mfpu=auto, I noticed
that adding this options makes many tests unsupported. Given that most of them
actually check if -mfpu is overridden, maybe I shouldn't add -mfpu=auto?

Specifically, for arm-none-eabi, configured with default cpu/fpu/mode, and
running the tests with
-mcpu=cortex-a7/-mfloat-abi=hard/-march=armv7ve+simd/-mfpu=auto
instead of
-mcpu=cortex-a7/-mfloat-abi=hard/-march=armv7ve+simd

results in:
< FAIL: gcc.dg/ipa/ipa-icf-38.c scan-ltrans-tree-dump-not optimized "Function
bar"
< FAIL: gcc.dg/ipa/ipa-icf-38.c scan-wpa-ipa-dump icf "Equal symbols: 1"
< FAIL: gcc.dg/ipa/ipa-icf-38.c scan-wpa-ipa-dump icf "Semantic equality
hit:foo/[0-9+]+->bar/[0-9+]+"
< UNSUPPORTED: gcc.dg/torture/arm-fp16-ops-5.c   -O0
< UNSUPPORTED: gcc.dg/torture/arm-fp16-ops-5.c   -O1
< UNSUPPORTED: gcc.dg/torture/arm-fp16-ops-5.c   -O2
< UNSUPPORTED: gcc.dg/torture/arm-fp16-ops-5.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none
< UNSUPPORTED: gcc.dg/torture/arm-fp16-ops-5.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects
< UNSUPPORTED: gcc.dg/torture/arm-fp16-ops-5.c   -O3 -g
< UNSUPPORTED: gcc.dg/torture/arm-fp16-ops-5.c   -Os
< UNSUPPORTED: gcc.dg/torture/arm-fp16-ops-6.c   -O0
< UNSUPPORTED: gcc.dg/torture/arm-fp16-ops-6.c   -O1
< UNSUPPORTED: gcc.dg/torture/arm-fp16-ops-6.c   -O2
< UNSUPPORTED: gcc.dg/torture/arm-fp16-ops-6.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none
< UNSUPPORTED: gcc.dg/torture/arm-fp16-ops-6.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects
< UNSUPPORTED: gcc.dg/torture/arm-fp16-ops-6.c   -O3 -g
< UNSUPPORTED: gcc.dg/torture/arm-fp16-ops-6.c   -Os
< UNSUPPORTED: gcc.target/arm/aapcs/vfp18.c
< UNSUPPORTED: gcc.target/arm/aapcs/vfp19.c
< UNSUPPORTED: gcc.target/arm/aapcs/vfp20.c
< UNSUPPORTED: gcc.target/arm/aapcs/vfp21.c
< UNSUPPORTED: gcc.target/arm/aapcs/vfp22.c
< UNSUPPORTED: gcc.target/arm/aapcs/vfp23.c
< UNSUPPORTED: gcc.target/arm/aapcs/vfp24.c
< UNSUPPORTED: gcc.target/arm/aapcs/vfp25.c
< UNSUPPORTED: gcc.target/arm/f16_f64_conv_no_dp.c
< UNSUPPORTED: gcc.target/arm/fp16-aapcs-1.c
< UNSUPPORTED: gcc.target/arm/fp16-compile-vcvt.c
< UNSUPPORTED: gcc.target/arm/pr51835.c
< UNSUPPORTED: gcc.target/arm/vect-half-floats.c

instead of all passes.

This essentially means these tests become unsupported in all the configs I'm
testing, thus I'm worried about test coverage.

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

* [Bug testsuite/101375] arm: Adding -mfpu=auto makes many tests unsupported
  2021-07-08  8:46 [Bug testsuite/101375] New: arm: Adding -mfpu=auto makes many tests unsupported clyon at gcc dot gnu.org
@ 2021-07-08 12:05 ` clyon at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: clyon at gcc dot gnu.org @ 2021-07-08 12:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Christophe Lyon <clyon at gcc dot gnu.org> ---
The same is true when targeting more "natural" options for arm-eabi:
-mthumb/-mfloat-abi=hard/-march=armv7e-m+fp/-mfpu=auto

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

end of thread, other threads:[~2021-07-08 12:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-08  8:46 [Bug testsuite/101375] New: arm: Adding -mfpu=auto makes many tests unsupported clyon at gcc dot gnu.org
2021-07-08 12:05 ` [Bug testsuite/101375] " clyon 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).