https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105992
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Hongtao.liu from comment #1) > I'm wondering would targetm.overlap_op_by_pieces_p helps here. The code is generated by targetm.overlap_op_by_pieces_p. It compares 4 byte at a time with branches.