public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/113607] [14] RISC-V rv64gcv vector: Runtime mismatch at -O3
Date: Tue, 30 Jan 2024 22:21:07 +0000 [thread overview]
Message-ID: <bug-113607-4-JHoUVV4O0m@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-113607-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113607
--- Comment #22 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Robin Dapp from comment #19)
> What seems odd to me is that in fre5 we simplify
>
> _429 = .COND_SHL (mask_patt_205.47_276, vect_cst__262, vect_cst__262, { 0,
> ... });
> vect_prephitmp_129.51_282 = _429;
> vect_iftmp.55_287 = VEC_COND_EXPR <mask_patt_209.54_286,
> vect_prephitmp_129.51_282, vect_cst__262>;
this is:
_429 = mask_patt_205.47_276[i] ? vect_cst__262[i] : (vect_cst__262 <<
{0,..})[i];
vect_iftmp.55_287 = mask_patt_209.54_286[i] ? _429 [i] : vect_cst__262[i]
Which should have folded into:
tmp_ = mask_patt_205.47_276 | ~mask_patt_209.54_286;
_429 = .COND_SHL (tmp_, vect_cst__262, vect_cst__262, { 0, ... });
What is the definition of mask_patt_209.54_286 and mask_patt_205.47_276?
is `mask_patt_209.54_286 = ~mask_patt_205.47_276` ?
If so then this is a valid transformation I think.
next prev parent reply other threads:[~2024-01-30 22:21 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-25 23:05 [Bug target/113607] New: " patrick at rivosinc dot com
2024-01-26 1:52 ` [Bug target/113607] " juzhe.zhong at rivai dot ai
2024-01-26 1:52 ` juzhe.zhong at rivai dot ai
2024-01-26 2:12 ` juzhe.zhong at rivai dot ai
2024-01-26 7:58 ` rdapp at gcc dot gnu.org
2024-01-26 8:05 ` patrick at rivosinc dot com
2024-01-26 8:12 ` patrick at rivosinc dot com
2024-01-26 8:14 ` rdapp at gcc dot gnu.org
2024-01-26 8:19 ` juzhe.zhong at rivai dot ai
2024-01-26 9:09 ` juzhe.zhong at rivai dot ai
2024-01-26 9:38 ` rdapp at gcc dot gnu.org
2024-01-26 9:42 ` juzhe.zhong at rivai dot ai
2024-01-26 9:42 ` pinskia at gcc dot gnu.org
2024-01-26 9:59 ` juzhe.zhong at rivai dot ai
2024-01-28 6:08 ` pinskia at gcc dot gnu.org
2024-01-29 3:27 ` juzhe.zhong at rivai dot ai
2024-01-29 12:29 ` rdapp at gcc dot gnu.org
2024-01-29 16:30 ` rdapp at gcc dot gnu.org
2024-01-29 19:50 ` rdapp at gcc dot gnu.org
2024-01-30 21:03 ` rdapp at gcc dot gnu.org
2024-01-30 22:12 ` juzhe.zhong at rivai dot ai
2024-01-30 22:14 ` pinskia at gcc dot gnu.org
2024-01-30 22:21 ` pinskia at gcc dot gnu.org [this message]
2024-01-31 8:28 ` rdapp at gcc dot gnu.org
2024-01-31 20:31 ` [Bug middle-end/113607] " cvs-commit at gcc dot gnu.org
2024-02-02 18:20 ` patrick at rivosinc dot com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-113607-4-JHoUVV4O0m@http.gcc.gnu.org/bugzilla/ \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).