Re: [PATCH 0/5] LoongArch: CRC optimization

2024-12-17 Thread Lulu Cheng
在 2024/12/16 下午9:19, Xi Ruoyao 写道: A generic CRC optimization pass has been implemented in r15-5850. But without target-specific code, it'll only optimize the CRC loop to a table lookup. With LoongArch-specific code we can do it better: for 64-bit LoongArch and the IEEE 802.3 polynomial or th

Re: [PATCH 0/5] LoongArch: CRC optimization

2024-12-16 Thread Jeff Law
On 12/16/24 7:15 AM, Mariam Arutunian wrote: On Mon, Dec 16, 2024 at 5:20 PM Xi Ruoyao wrote: A generic CRC optimization pass has been implemented in r15-5850.  But without target-specific code, it'll only optimize the CRC loop to a table lookup.  With LoongArch-specific code w

Re: [PATCH 0/5] LoongArch: CRC optimization

2024-12-16 Thread Mariam Arutunian
On Mon, Dec 16, 2024 at 5:20 PM Xi Ruoyao wrote: > A generic CRC optimization pass has been implemented in r15-5850. But > without target-specific code, it'll only optimize the CRC loop to a > table lookup. With LoongArch-specific code we can do it better: for > 64-bit LoongArch and the IEEE 80