public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "crazylht at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/109048] [13 regression] redundant mask compare generated by vectorizer. Date: Tue, 07 Mar 2023 06:13:23 +0000 [thread overview] Message-ID: <bug-109048-4-hGBh2INjD2@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-109048-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109048 --- Comment #2 from Hongtao.liu <crazylht at gmail dot com> --- Lots of logic operation for mask in ifcvt <bb 17> [local count: 531502205]: # i_18 = PHI <i_47(26), 0(42)> # ivtmp_15 = PHI <ivtmp_43(26), 256(42)> # DEBUG i => NULL # DEBUG BEGIN_STMT _38 = (long unsigned int) i_18; _37 = _38 * 4; _36 = af_24(D) + _37; x_20 = *_36; # DEBUG x => NULL # DEBUG BEGIN_STMT # DEBUG D#1 => NULL # DEBUG z => NULL # DEBUG BEGIN_STMT _50 = x_20 >= 0.0; _52 = x_20 < iftmp.0_34; _53 = _50 & _52; _55 = x_20 >= iftmp.0_34; _56 = _50 & _55; _74 = x_20 < 0.0; _ifc__73 = _74 ? 2.0e+0 : prephitmp_41; _ifc__75 = _53 ? prephitmp_41 : _ifc__73; prephitmp_17 = _56 ? iftmp.1_16 : _ifc__75; # DEBUG t1 => D#2 # DEBUG BEGIN_STMT # DEBUG neg_t1 => -D#2 # DEBUG BEGIN_STMT # DEBUG t2 => prephitmp_17 # DEBUG BEGIN_STMT _12 = res_28(D) + _37; _26 = *_12; _27 = _26 + x_20; _45 = prephitmp_17 + _27; *_12 = _45; # DEBUG BEGIN_STMT i_47 = i_18 + 1; # DEBUG i => i_47 # DEBUG BEGIN_STMT ivtmp_43 = ivtmp_15 - 1;
next prev parent reply other threads:[~2023-03-07 6:13 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-03-07 6:01 [Bug tree-optimization/109048] New: " crazylht at gmail dot com 2023-03-07 6:03 ` [Bug tree-optimization/109048] " crazylht at gmail dot com 2023-03-07 6:13 ` crazylht at gmail dot com [this message] 2023-03-07 6:22 ` crazylht at gmail dot com 2023-03-07 6:34 ` crazylht at gmail dot com 2023-03-07 9:17 ` rguenth at gcc dot gnu.org 2023-03-07 9:38 ` jakub at gcc dot gnu.org 2023-03-07 10:09 ` rguenther at suse dot de 2023-03-27 8:26 ` rguenth at gcc dot gnu.org 2023-03-27 9:18 ` rguenth at gcc dot gnu.org 2023-03-27 10:37 ` rguenth at gcc dot gnu.org 2023-03-28 12:20 ` rguenth at gcc dot gnu.org 2023-04-13 7:30 ` rguenth at gcc dot gnu.org 2023-04-13 8:14 ` crazylht at gmail 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-109048-4-hGBh2INjD2@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: linkBe 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).