https://bugs.kde.org/show_bug.cgi?id=386945

--- Comment #12 from Markus Trippelsdorf <octopl...@yandex.com> ---
(In reply to Julian Seward from comment #11)
> (In reply to Markus Trippelsdorf from comment #10)
> > For some reason I cannot CC Aaron Sawdey, who wrote the PPC strcmp patch:
> 
> I can't move this along without further input.  Maybe Aaron doesn't have
> an account at the KDE bugzilla.
> 
> In particular I'd like to understand why there are misaligned loads
> happening.

As already mentioned above, Aaron describes his algorithm here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80479#c10
Quote: »If both strings have alignment > 8 we cannot inadvertently cross a page
boundary doing 8B loads. For any argument that has smaller alignment, it emits
a runtime check to see if the inline code would cross a 4k boundary. If so, the
library function call is used instead of the inline code.«

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to