Re: [PATCH] loongarch/crypto: Clean up useless assignment operations

From: WANG Xuerui
Date: Tue Feb 27 2024 - 02:43:22 EST


On 2/26/24 16:25, 关文涛 wrote:
Sure,but we not seem to have "crc.w.d.w" dword asm in loongarch 32bit mode,now the whole file can only run in 64bit mode?

Thanks.

Sorry. I have checked the manual and it turns out you & Yuli are correct: even though the narrower CRC instructions doesn't require GRLEN=64, they still *aren't* part of LA32 (LoongArch reference manual v1.10, Volume 1, Table 2-1). Counter-intuitive as it is, the original patch is correct nevertheless.

I'm going to amend my review shortly.

--
WANG "xen0n" Xuerui

Linux/LoongArch mailing list: https://lore.kernel.org/loongarch/