LoongArch: Simplify __arch_bitrev32() implementation

LoongArch has the bitrev.w instruction to reverse bits in a 32-bit
integer, thus there's no need to reverse the bytes and use bitrev.4b.

Signed-off-by: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
This commit is contained in:
Xi Ruoyao 2025-12-06 10:39:39 +08:00 • committed by Huacai Chen
commit 17fcc4bd7e