public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/114189] New: Target implements obsolete vcond{,u,eq} expanders
@ 2024-03-01 10:16 rguenth at gcc dot gnu.org
2024-03-01 10:23 ` [Bug target/114189] " rguenth at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-03-01 10:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114189
Bug ID: 114189
Summary: Target implements obsolete vcond{,u,eq} expanders
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: rguenth at gcc dot gnu.org
Target Milestone: ---
The listed targets implement any of vcond, vcondu or vcondeq expanders where
the modern way of exposing vector conditional instructions is using
mask generating vec_cmp{,u,eq} and vcond_mask expanders.
vcond, vcondu and vcondeq optabs will be retired in the future.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/114189] Target implements obsolete vcond{,u,eq} expanders
2024-03-01 10:16 [Bug target/114189] New: Target implements obsolete vcond{,u,eq} expanders rguenth at gcc dot gnu.org
@ 2024-03-01 10:23 ` rguenth at gcc dot gnu.org
2024-06-14 10:24 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-03-01 10:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114189
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
The following shows them all:
grep 'vcond[<eu]' gcc/config/*/*.md
ia64 and sparc are the only targets that do not implement any vec_cmp{,u,eq}
pattern.
mips, sparc and ia64 do not implement any vcond_mask pattern.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/114189] Target implements obsolete vcond{,u,eq} expanders
2024-03-01 10:16 [Bug target/114189] New: Target implements obsolete vcond{,u,eq} expanders rguenth at gcc dot gnu.org
2024-03-01 10:23 ` [Bug target/114189] " rguenth at gcc dot gnu.org
@ 2024-06-14 10:24 ` rguenth at gcc dot gnu.org
2024-06-17 5:47 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-06-14 10:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114189
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Created attachment 58426
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58426&action=edit
patch to remove use of the legacy optabs
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/114189] Target implements obsolete vcond{,u,eq} expanders
2024-03-01 10:16 [Bug target/114189] New: Target implements obsolete vcond{,u,eq} expanders rguenth at gcc dot gnu.org
2024-03-01 10:23 ` [Bug target/114189] " rguenth at gcc dot gnu.org
2024-06-14 10:24 ` rguenth at gcc dot gnu.org
@ 2024-06-17 5:47 ` rguenth at gcc dot gnu.org
2024-06-17 5:48 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-06-17 5:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114189
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
arm is OK -
https://ci.linaro.org/job/tcwg_gcc_check--master-arm-precommit/7755/artifact/artifacts/artifacts.precommit/notify/mail-body.txt
loongarch is also reportedly OK
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/114189] Target implements obsolete vcond{,u,eq} expanders
2024-03-01 10:16 [Bug target/114189] New: Target implements obsolete vcond{,u,eq} expanders rguenth at gcc dot gnu.org
` (2 preceding siblings ...)
2024-06-17 5:47 ` rguenth at gcc dot gnu.org
@ 2024-06-17 5:48 ` rguenth at gcc dot gnu.org
2024-06-17 15:48 ` pinskia at gcc dot gnu.org
2024-06-26 3:13 ` cvs-commit at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-06-17 5:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114189
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
aarch64 reports just
FAIL: gcc.target/aarch64/if-compare_2.c check-function-bodies bar1
FAIL: gcc.target/aarch64/if-compare_2.c check-function-bodies bar2
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/114189] Target implements obsolete vcond{,u,eq} expanders
2024-03-01 10:16 [Bug target/114189] New: Target implements obsolete vcond{,u,eq} expanders rguenth at gcc dot gnu.org
` (3 preceding siblings ...)
2024-06-17 5:48 ` rguenth at gcc dot gnu.org
@ 2024-06-17 15:48 ` pinskia at gcc dot gnu.org
2024-06-26 3:13 ` cvs-commit at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-06-17 15:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114189
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2024-06-17
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/114189] Target implements obsolete vcond{,u,eq} expanders
2024-03-01 10:16 [Bug target/114189] New: Target implements obsolete vcond{,u,eq} expanders rguenth at gcc dot gnu.org
` (4 preceding siblings ...)
2024-06-17 15:48 ` pinskia at gcc dot gnu.org
@ 2024-06-26 3:13 ` cvs-commit at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-06-26 3:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114189
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by hongtao Liu <liuhongt@gcc.gnu.org>:
https://gcc.gnu.org/g:aac00d09859cc5934bd0f7493d537b8430337773
commit r15-1638-gaac00d09859cc5934bd0f7493d537b8430337773
Author: liuhongt <hongtao.liu@intel.com>
Date: Thu Jun 20 12:41:13 2024 +0800
Optimize a < 0 ? -1 : 0 to (signed)a >> 31.
Try to optimize x < 0 ? -1 : 0 into (signed) x >> 31
and x < 0 ? 1 : 0 into (unsigned) x >> 31.
Move the optimization did in ix86_expand_int_vcond to match.pd
gcc/ChangeLog:
PR target/114189
* match.pd: Simplify a < 0 ? -1 : 0 to (signed) >> 31 and a <
0 ? 1 : 0 to (unsigned) a >> 31 for vector integer type.
gcc/testsuite/ChangeLog:
* gcc.target/i386/avx2-pr115517.c: New test.
* gcc.target/i386/avx512-pr115517.c: New test.
* g++.target/i386/avx2-pr115517.C: New test.
* g++.target/i386/avx512-pr115517.C: New test.
* g++.dg/tree-ssa/pr88152-1.C: Adjust testcase.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-06-26 3:13 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-01 10:16 [Bug target/114189] New: Target implements obsolete vcond{,u,eq} expanders rguenth at gcc dot gnu.org
2024-03-01 10:23 ` [Bug target/114189] " rguenth at gcc dot gnu.org
2024-06-14 10:24 ` rguenth at gcc dot gnu.org
2024-06-17 5:47 ` rguenth at gcc dot gnu.org
2024-06-17 5:48 ` rguenth at gcc dot gnu.org
2024-06-17 15:48 ` pinskia at gcc dot gnu.org
2024-06-26 3:13 ` cvs-commit 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).