Re: [PATCH] Add loongarch native checksum implementation.

YANG Xudong <yangxudong@ymatrix.cn>

From: YANG Xudong <yangxudong@ymatrix.cn>
To: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-hackers@lists.postgresql.org, wengyanqing@ymatrix.cn, wanghao@ymatrix.cn, John Naylor <john.naylor@enterprisedb.com>, huchangqi <huchangqi@loongson.cn>
Date: 2023-07-26T05:36:16Z
Lists: pgsql-hackers
On 2023/7/26 11:16, Michael Paquier wrote> The performance numbers 
presented upthread for the CRC computations
> are kind of nice in this environment, but honestly I have no idea how
> much this architecture is used.  Perhaps that's only something in
> China?  I am not seeing much activity around that in Japan, for
> instance, and that's really close.

The architecture is pretty new (to open source ecosystem). The support 
of it in Linux kernel and GCC were released last year.

Here is a site about the status of major open source project support of 
it. (Chinese only)

https://areweloongyet.com/



Commits

  1. Update Solution.pm for new LoongArch CRC symbol

  2. Use native CRC instructions on 64-bit LoongArch

  3. Recalculate search_path after ALTER ROLE.