Improve our method for probing the availability of ARM CRC instructions.
Tom Lane <tgl@sss.pgh.pa.us>
Improve our method for probing the availability of ARM CRC instructions. Instead of depending on glibc's getauxval() function, just try to execute the CRC code, and trap SIGILL if that happens. Thomas Munro Discussion: https://postgr.es/m/HE1PR0801MB1323D171938EABC04FFE7FA9E3110@HE1PR0801MB1323.eurprd08.prod.outlook.com
Files
| Path | Change | +/− |
|---|---|---|
| configure | modified | +2 −43 |
| configure.in | modified | +2 −19 |
| src/include/pg_config.h.in | modified | +0 −3 |
| src/port/pg_crc32c_armv8_choose.c | modified | +25 −8 |
Discussion
- Optimize Arm64 crc32c implementation in Postgresql 39 messages · 2018-01-10 → 2018-05-03