RE: Improve CRC32C performance on SSE4.2 - Mailing list pgsql-hackers

From Devulapalli, Raghuveer
Subject RE: Improve CRC32C performance on SSE4.2
Date
Msg-id PH8PR11MB82862F0F720DABB913AA31B3FBFC2@PH8PR11MB8286.namprd11.prod.outlook.com
Whole thread Raw
In response to Re: Improve CRC32C performance on SSE4.2  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: Improve CRC32C performance on SSE4.2
List pgsql-hackers
> I think the idea behind USE_SSE42_CRC32C is to avoid the function pointer
> overhead if possible.  I looked at switching to always using runtime checks for this
> stuff, and we concluded that we'd better not [0].
>
> [0] https://postgr.es/m/flat/20231030161706.GA3011%40nathanxps13

Does that mean we want this feature for the new PCLMUL (and AVX-512) crc32c implementations too? The code for that will
looka little ugly, I might need to think about a cleaner way to do this.  

Raghuveer



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Unneeded volatile qualifier in fmgr.c
Next
From: Nathan Bossart
Date:
Subject: Re: Improve CRC32C performance on SSE4.2