public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/34417] simplify '(x & A) % B' if 'B > A/2'
[not found] <bug-34417-4@http.gcc.gnu.org/bugzilla/>
@ 2012-02-27 4:27 ` pinskia at gcc dot gnu.org
2021-07-26 20:45 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-27 4:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34417
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-27 03:38:48 UTC ---
(In reply to comment #1)
> Confirmed.
>
> VRP could do this, though we generally avoid creating control flow and extra
> basic blocks here.
We could create a COND_EXPR here, though I don't know if that would be a good
idea on some targets.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/34417] simplify '(x & A) % B' if 'B > A/2'
[not found] <bug-34417-4@http.gcc.gnu.org/bugzilla/>
2012-02-27 4:27 ` [Bug tree-optimization/34417] simplify '(x & A) % B' if 'B > A/2' pinskia at gcc dot gnu.org
@ 2021-07-26 20:45 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-26 20:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34417
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2007-12-10 13:40:29 |2021-7-26
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #2)
> (In reply to comment #1)
> > Confirmed.
> >
> > VRP could do this, though we generally avoid creating control flow and extra
> > basic blocks here.
>
> We could create a COND_EXPR here, though I don't know if that would be a
> good idea on some targets.
Or we could just create the MIN_EXPR :) since that is what it is.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/34417] simplify '(x & A) % B' if 'B > A/2'
2007-12-10 10:56 [Bug tree-optimization/34417] New: " wouter dot vermaelen at scarlet dot be
@ 2007-12-10 13:40 ` rguenth at gcc dot gnu dot org
0 siblings, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-12-10 13:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2007-12-10 13:40 -------
Confirmed.
VRP could do this, though we generally avoid creating control flow and extra
basic blocks here.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |missed-optimization
Last reconfirmed|0000-00-00 00:00:00 |2007-12-10 13:40:29
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34417
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-07-26 20:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-34417-4@http.gcc.gnu.org/bugzilla/>
2012-02-27 4:27 ` [Bug tree-optimization/34417] simplify '(x & A) % B' if 'B > A/2' pinskia at gcc dot gnu.org
2021-07-26 20:45 ` pinskia at gcc dot gnu.org
2007-12-10 10:56 [Bug tree-optimization/34417] New: " wouter dot vermaelen at scarlet dot be
2007-12-10 13:40 ` [Bug tree-optimization/34417] " rguenth at gcc dot gnu dot 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).