public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/102834] New: gcc.target/i386/avx512f-pr96891-3.c FAILs
@ 2021-10-19 11:22 ro at gcc dot gnu.org
2021-10-19 11:23 ` [Bug target/102834] " ro at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: ro at gcc dot gnu.org @ 2021-10-19 11:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102834
Bug ID: 102834
Summary: gcc.target/i386/avx512f-pr96891-3.c FAILs
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: ro at gcc dot gnu.org
CC: crazylht at gmail dot com
Target Milestone: ---
Target: i?86-pc-solaris2.11, x86_64-pc-solaris2.11
The gcc.target/i386/avx512f-pr96891-3.c test has been FAILing on 32-bit
Solaris/x86
since it was installed:
FAIL: gcc.target/i386/avx512f-pr96891-3.c scan-assembler-times (?n)vpcmp[bwdq][
\\\\t]*\\\\\$7 4
The pattern only occurs 3 times instead of the expected 4. Attaching the
assembler output for reference.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/102834] gcc.target/i386/avx512f-pr96891-3.c FAILs
2021-10-19 11:22 [Bug target/102834] New: gcc.target/i386/avx512f-pr96891-3.c FAILs ro at gcc dot gnu.org
@ 2021-10-19 11:23 ` ro at gcc dot gnu.org
2021-10-19 11:23 ` ro at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: ro at gcc dot gnu.org @ 2021-10-19 11:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102834
--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> ---
Created attachment 51632
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51632&action=edit
32-bit avx512f-pr96891-3.s
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/102834] gcc.target/i386/avx512f-pr96891-3.c FAILs
2021-10-19 11:22 [Bug target/102834] New: gcc.target/i386/avx512f-pr96891-3.c FAILs ro at gcc dot gnu.org
2021-10-19 11:23 ` [Bug target/102834] " ro at gcc dot gnu.org
@ 2021-10-19 11:23 ` ro at gcc dot gnu.org
2021-10-20 1:14 ` crazylht at gmail dot com
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: ro at gcc dot gnu.org @ 2021-10-19 11:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102834
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |12.0
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/102834] gcc.target/i386/avx512f-pr96891-3.c FAILs
2021-10-19 11:22 [Bug target/102834] New: gcc.target/i386/avx512f-pr96891-3.c FAILs ro at gcc dot gnu.org
2021-10-19 11:23 ` [Bug target/102834] " ro at gcc dot gnu.org
2021-10-19 11:23 ` ro at gcc dot gnu.org
@ 2021-10-20 1:14 ` crazylht at gmail dot com
2021-10-25 14:02 ` ro at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: crazylht at gmail dot com @ 2021-10-20 1:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102834
--- Comment #2 from Hongtao.liu <crazylht at gmail dot com> ---
(In reply to Rainer Orth from comment #1)
> Created attachment 51632 [details]
> 32-bit avx512f-pr96891-3.s
It relies on the existence of the pattern one_cmpldi2_doubleword, so that the
avx512bw_cmpv64qi3 and one_cmpldi2_doubleword will be combined to
avx512bw_cmpv64qi3 w/ adjustment of imm operand, but on 32-bit Solaris/x86
one_cmpldi2_doubleword is not existed.
(define_expand "one_cmpl<mode>2"
[(set (match_operand:SWIM1248s 0 "nonimmediate_operand")
(not:SWIM1248s (match_operand:SWIM1248s 1 "nonimmediate_operand")))]
(define_mode_iterator SWIM1248s
[(QI "TARGET_QIMODE_MATH")
(HI "TARGET_HIMODE_MATH")
SI (DI "TARGET_64BIT || (TARGET_STV && TARGET_SSE2)")])
mstv
Target Mask(STV) Save
Disable Scalar to Vector optimization pass transforming 64-bit integer
computations into a vector ones.
Guess stv is disabled on on 32-bit Solaris/x86, if that, the fail should be
expected and xfail should be added for 32-bit Solaris/x86
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/102834] gcc.target/i386/avx512f-pr96891-3.c FAILs
2021-10-19 11:22 [Bug target/102834] New: gcc.target/i386/avx512f-pr96891-3.c FAILs ro at gcc dot gnu.org
` (2 preceding siblings ...)
2021-10-20 1:14 ` crazylht at gmail dot com
@ 2021-10-25 14:02 ` ro at gcc dot gnu.org
2021-10-26 12:35 ` cvs-commit at gcc dot gnu.org
2021-10-26 12:37 ` ro at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: ro at gcc dot gnu.org @ 2021-10-25 14:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102834
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |ro at gcc dot gnu.org
Ever confirmed|0 |1
Last reconfirmed| |2021-10-25
Status|UNCONFIRMED |NEW
URL| |https://gcc.gnu.org/piperma
| |il/gcc-patches/2021-October
| |/582496.html
--- Comment #3 from Rainer Orth <ro at gcc dot gnu.org> ---
Mine, patch posted.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/102834] gcc.target/i386/avx512f-pr96891-3.c FAILs
2021-10-19 11:22 [Bug target/102834] New: gcc.target/i386/avx512f-pr96891-3.c FAILs ro at gcc dot gnu.org
` (3 preceding siblings ...)
2021-10-25 14:02 ` ro at gcc dot gnu.org
@ 2021-10-26 12:35 ` cvs-commit at gcc dot gnu.org
2021-10-26 12:37 ` ro at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-10-26 12:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102834
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Rainer Orth <ro@gcc.gnu.org>:
https://gcc.gnu.org/g:a1516b50f291e132d76e3dc79ea91148f8713deb
commit r12-4713-ga1516b50f291e132d76e3dc79ea91148f8713deb
Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date: Tue Oct 26 14:30:07 2021 +0200
testsuite: i386: Fix gcc.target/i386/avx512f-pr96891-3.c on Solaris
[PR102834]
gcc.target/i386/avx512f-pr96891-3.c currently FAILs on 32-bit Solaris/x86:
FAIL: gcc.target/i386/avx512f-pr96891-3.c scan-assembler-times
(?n)vpcmp[bwdq][ \\\\t]*\\\\\$7 4
There are only 3 instances of the expected pattern because Solaris/x86
defaults to -mno-stv. Fixed by compiling with -mstv and
-mno-stackrealign. Tested on i386-pc-solaris2.11 and
x86_64-pc-linux-gnu.
2021-10-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
gcc/testsuite:
PR testsuite/102834
* gcc.target/i386/avx512f-pr96891-3.c: Add -mstv -mno-stackrealign
to dg-options.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/102834] gcc.target/i386/avx512f-pr96891-3.c FAILs
2021-10-19 11:22 [Bug target/102834] New: gcc.target/i386/avx512f-pr96891-3.c FAILs ro at gcc dot gnu.org
` (4 preceding siblings ...)
2021-10-26 12:35 ` cvs-commit at gcc dot gnu.org
@ 2021-10-26 12:37 ` ro at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: ro at gcc dot gnu.org @ 2021-10-26 12:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102834
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #5 from Rainer Orth <ro at gcc dot gnu.org> ---
Fixed for GCC 12.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-10-26 12:37 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-19 11:22 [Bug target/102834] New: gcc.target/i386/avx512f-pr96891-3.c FAILs ro at gcc dot gnu.org
2021-10-19 11:23 ` [Bug target/102834] " ro at gcc dot gnu.org
2021-10-19 11:23 ` ro at gcc dot gnu.org
2021-10-20 1:14 ` crazylht at gmail dot com
2021-10-25 14:02 ` ro at gcc dot gnu.org
2021-10-26 12:35 ` cvs-commit at gcc dot gnu.org
2021-10-26 12:37 ` ro 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).