public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/89163] Missed optimization: sar and shr equivalent for non-negative numbers
       [not found] <bug-89163-4@http.gcc.gnu.org/bugzilla/>
@ 2021-08-10  4:50 ` pinskia at gcc dot gnu.org
  2024-03-20 12:42 ` xry111 at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-10  4:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89163

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
   Last reconfirmed|2019-02-04 00:00:00         |2021-8-9

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tree-optimization/89163] Missed optimization: sar and shr equivalent for non-negative numbers
       [not found] <bug-89163-4@http.gcc.gnu.org/bugzilla/>
  2021-08-10  4:50 ` [Bug tree-optimization/89163] Missed optimization: sar and shr equivalent for non-negative numbers pinskia at gcc dot gnu.org
@ 2024-03-20 12:42 ` xry111 at gcc dot gnu.org
  2024-03-20 12:44 ` xry111 at gcc dot gnu.org
  2024-03-20 14:07 ` Explorer09 at gmail dot com
  3 siblings, 0 replies; 4+ messages in thread
From: xry111 at gcc dot gnu.org @ 2024-03-20 12:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89163

Xi Ruoyao <xry111 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Explorer09 at gmail dot com

--- Comment #2 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
*** Bug 114406 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tree-optimization/89163] Missed optimization: sar and shr equivalent for non-negative numbers
       [not found] <bug-89163-4@http.gcc.gnu.org/bugzilla/>
  2021-08-10  4:50 ` [Bug tree-optimization/89163] Missed optimization: sar and shr equivalent for non-negative numbers pinskia at gcc dot gnu.org
  2024-03-20 12:42 ` xry111 at gcc dot gnu.org
@ 2024-03-20 12:44 ` xry111 at gcc dot gnu.org
  2024-03-20 14:07 ` Explorer09 at gmail dot com
  3 siblings, 0 replies; 4+ messages in thread
From: xry111 at gcc dot gnu.org @ 2024-03-20 12:44 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89163

Xi Ruoyao <xry111 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xry111 at gcc dot gnu.org

--- Comment #3 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
Maybe we can at least perform the canonization for shifting a constant as
114406 requests.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tree-optimization/89163] Missed optimization: sar and shr equivalent for non-negative numbers
       [not found] <bug-89163-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2024-03-20 12:44 ` xry111 at gcc dot gnu.org
@ 2024-03-20 14:07 ` Explorer09 at gmail dot com
  3 siblings, 0 replies; 4+ messages in thread
From: Explorer09 at gmail dot com @ 2024-03-20 14:07 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89163

--- Comment #4 from Kang-Che Sung <Explorer09 at gmail dot com> ---
(In reply to Xi Ruoyao from comment #2)
> *** Bug 114406 has been marked as a duplicate of this bug. ***

I can't say bug 114406 is an exact duplicate of this one. Although my report
mainly addresses right shift, I also mentioned division, modulo and
multiplication. These can also be optimized where the signedness of the
operations do not matter.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-20 14:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-89163-4@http.gcc.gnu.org/bugzilla/>
2021-08-10  4:50 ` [Bug tree-optimization/89163] Missed optimization: sar and shr equivalent for non-negative numbers pinskia at gcc dot gnu.org
2024-03-20 12:42 ` xry111 at gcc dot gnu.org
2024-03-20 12:44 ` xry111 at gcc dot gnu.org
2024-03-20 14:07 ` Explorer09 at gmail dot com

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).