HomeFreeBSD

amd64: bring back asm bcmp, shared with memcmp

Description

amd64: bring back asm bcmp, shared with memcmp

Turns out clang converts "memcmp(foo, bar, len) == 0" and similar to
bcmp calls.

Reviewed by: emaste (previous version), jhb (previous version)
Differential Revision: https://reviews.freebsd.org/D34673

(cherry picked from commit fbc002cb72d2d9bb435cce99630d5d7da9f59390)

Details

Provenance
mjgAuthored on Mar 25 2022, 3:04 PM
Reviewer
emaste
Differential Revision
D34673: amd64: bring back asm bcmp, code shared with memcmp
Parents
rGa7318b86e4ff: CTL: Rework 05c3e8e87142 using %zu format.
Branches
Unknown
Tags
Unknown