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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note the replacement to memcmp is only valid if there is no padding bytes (or
bits) and if there only integer types.

Also branchless might not be faster depending on if the structure crosses a
cache line boundaries and how many elements are equal.


Oh next time please don't just link to the compiler explorer, please paste the
testcase in the comments or attach it.
Note bugzilla attachments can be done via a text box too.

Reply via email to