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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |121714
           Assignee|rguenth at gcc dot gnu.org         |pinskia at gcc dot 
gnu.org

--- Comment #19 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I am taking this one over from Richard because I have posted a first part and a
patch in the pipeline. 

I posted the first part here:
https://gcc.gnu.org/pipermail/gcc-patches/2025-August/693637.html

Which moves the optimization from strlen and it is very similar to what Richard
did in comment #1.

The second part is going to be PR 121714 which is comment #1 "Possibly we could
consider vector modes / compares (for greater size)".

The third part which I might not get to until next year will be the non power
of 2 sizes.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121714
[Bug 121714] memcmp == 0 optimization should use MAX_FIXED_MODE_SIZE rather
than word_mode

Reply via email to