drop the MD byte-swap micro-optimizations on clang architectures
authornaddy <naddy@openbsd.org>
Tue, 7 May 2024 14:26:48 +0000 (14:26 +0000)
committernaddy <naddy@openbsd.org>
Tue, 7 May 2024 14:26:48 +0000 (14:26 +0000)
commit3a22adf90f02a48c220ef03ba895de849d198c94
tree7cdd1ded52e04c4f0bad3763c0baa397a34dee2e
parenta0f96aadde5dd17218c3abc1c06d735fd7eb8cf4
drop the MD byte-swap micro-optimizations on clang architectures

The compiler already translates the generic code into arithmetic
byte-swap instructions or byte-swapping memory load and store
instructions if available on an architecture.

ok deraadt@ guenther@
sys/arch/amd64/include/endian.h
sys/arch/arm/include/endian.h
sys/arch/arm64/include/endian.h
sys/arch/i386/include/endian.h
sys/arch/powerpc/include/endian.h
sys/arch/powerpc64/include/endian.h