public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/102907] New: aarch64/shrn-combine-[123].c fail with SVE
@ 2021-10-22 23:14 clyon at gcc dot gnu.org
2021-10-22 23:21 ` [Bug target/102907] " pinskia at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: clyon at gcc dot gnu.org @ 2021-10-22 23:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102907
Bug ID: 102907
Summary: aarch64/shrn-combine-[123].c fail with SVE
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: clyon at gcc dot gnu.org
Target Milestone: ---
Hi Tamar,
I have noticed that the new tests shrn-combine-[123].c fail when running the
tests with -march=armv8.3-a+sve:
PASS: gcc.target/aarch64/shrn-combine-1.c (test for excess errors)
gcc.target/aarch64/shrn-combine-1.c: \\tshrn\\t found 0 times
FAIL: gcc.target/aarch64/shrn-combine-1.c scan-assembler-times \\tshrn\\t 1
gcc.target/aarch64/shrn-combine-1.c: \\tshrn2\\t found 0 times
FAIL: gcc.target/aarch64/shrn-combine-1.c scan-assembler-times \\tshrn2\\t 1
PASS: gcc.target/aarch64/shrn-combine-2.c (test for excess errors)
gcc.target/aarch64/shrn-combine-2.c: \\tshrn\\t found 0 times
FAIL: gcc.target/aarch64/shrn-combine-2.c scan-assembler-times \\tshrn\\t 1
gcc.target/aarch64/shrn-combine-2.c: \\tshrn2\\t found 0 times
FAIL: gcc.target/aarch64/shrn-combine-2.c scan-assembler-times \\tshrn2\\t 1
PASS: gcc.target/aarch64/shrn-combine-3.c (test for excess errors)
gcc.target/aarch64/shrn-combine-3.c: \\tshrn\\t found 0 times
FAIL: gcc.target/aarch64/shrn-combine-3.c scan-assembler-times \\tshrn\\t 1
gcc.target/aarch64/shrn-combine-3.c: \\tshrn2\\t found 0 times
FAIL: gcc.target/aarch64/shrn-combine-3.c scan-assembler-times \\tshrn2\\t 1
(and similarly with -march=armv8.5-a+sve2)
I haven't checked the actual generated code.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/102907] aarch64/shrn-combine-[123].c fail with SVE
2021-10-22 23:14 [Bug target/102907] New: aarch64/shrn-combine-[123].c fail with SVE clyon at gcc dot gnu.org
@ 2021-10-22 23:21 ` pinskia at gcc dot gnu.org
2021-10-25 14:15 ` cvs-commit at gcc dot gnu.org
2021-10-25 14:16 ` tnfchris at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-10-22 23:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102907
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-10-22
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=93619,
| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=77635
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The whole testsuite is broken when using either -mcpu=* or -march=* (or
defaulting with --with-cpu= or --with-arch=).
Confirmed.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/102907] aarch64/shrn-combine-[123].c fail with SVE
2021-10-22 23:14 [Bug target/102907] New: aarch64/shrn-combine-[123].c fail with SVE clyon at gcc dot gnu.org
2021-10-22 23:21 ` [Bug target/102907] " pinskia at gcc dot gnu.org
@ 2021-10-25 14:15 ` cvs-commit at gcc dot gnu.org
2021-10-25 14:16 ` tnfchris at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-10-25 14:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102907
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tamar Christina <tnfchris@gcc.gnu.org>:
https://gcc.gnu.org/g:2cbfaba60661ebbdfcffe725ab55fbb323e2a187
commit r12-4663-g2cbfaba60661ebbdfcffe725ab55fbb323e2a187
Author: Tamar Christina <tamar.christina@arm.com>
Date: Mon Oct 25 15:14:04 2021 +0100
AArch64 testsuite: Force shrn-combine-*.c to use NEON.
These tests are testing Advanced SIMD codegen, so if the compiler or the
testsuite is forcing SVE they will fail.
This adds +nosve so that we always generate Advanced SIMD codegen.
gcc/testsuite/ChangeLog:
PR target/102907
* gcc.target/aarch64/shrn-combine-1.c: Disable SVE.
* gcc.target/aarch64/shrn-combine-2.c: Likewise.
* gcc.target/aarch64/shrn-combine-3.c: Likewise.
* gcc.target/aarch64/shrn-combine-4.c: Likewise.
* gcc.target/aarch64/shrn-combine-5.c: Likewise.
* gcc.target/aarch64/shrn-combine-6.c: Likewise.
* gcc.target/aarch64/shrn-combine-7.c: Likewise.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/102907] aarch64/shrn-combine-[123].c fail with SVE
2021-10-22 23:14 [Bug target/102907] New: aarch64/shrn-combine-[123].c fail with SVE clyon at gcc dot gnu.org
2021-10-22 23:21 ` [Bug target/102907] " pinskia at gcc dot gnu.org
2021-10-25 14:15 ` cvs-commit at gcc dot gnu.org
@ 2021-10-25 14:16 ` tnfchris at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: tnfchris at gcc dot gnu.org @ 2021-10-25 14:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102907
Tamar Christina <tnfchris at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #3 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Fixed in trunk, thanks for the report!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-10-25 14:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-22 23:14 [Bug target/102907] New: aarch64/shrn-combine-[123].c fail with SVE clyon at gcc dot gnu.org
2021-10-22 23:21 ` [Bug target/102907] " pinskia at gcc dot gnu.org
2021-10-25 14:15 ` cvs-commit at gcc dot gnu.org
2021-10-25 14:16 ` 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).