public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/86680] possible gcc optimization
       [not found] <bug-86680-4@http.gcc.gnu.org/bugzilla/>
@ 2023-06-09 18:13 ` pinskia at gcc dot gnu.org
  2024-06-26  6:08 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-06-09 18:13 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |8.0

--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
These days we get:
  _1 = (unsigned long) &__bss_end1;
  _7 = _1 + 18446744073709551615;
  _6 = (unsigned long) &__bss_start1;
  _11 = _7 - _6;
  _12 = _11 >> 3;
  _13 = _12 + 1;
  _14 = _13 * 8;
  __builtin_memset (&__bss_start1, 0, _14); [tail call]


Or
((((end - 1) - start) >> 3) + 1) * 8

In theory (I think) we could do:
(end - start + 7) & -8

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

* [Bug middle-end/86680] possible gcc optimization
       [not found] <bug-86680-4@http.gcc.gnu.org/bugzilla/>
  2023-06-09 18:13 ` [Bug middle-end/86680] possible gcc optimization pinskia at gcc dot gnu.org
@ 2024-06-26  6:08 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-06-26  6:08 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.0                         |---

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

end of thread, other threads:[~2024-06-26  6:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-86680-4@http.gcc.gnu.org/bugzilla/>
2023-06-09 18:13 ` [Bug middle-end/86680] possible gcc optimization pinskia at gcc dot gnu.org
2024-06-26  6:08 ` pinskia 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).