]> granicus.if.org Git - postgresql/commit
Improve our method for probing the availability of ARM CRC instructions.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 May 2018 22:06:43 +0000 (18:06 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 May 2018 22:06:43 +0000 (18:06 -0400)
commit1c72ec6f498945eb5981cdedd448aec3977477c8
tree581be6b9afa1d1f13d663f0d4030e6f2e7c0f96e
parent40f52b16dd31aa9ddc3bd42daa78459562693567
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
configure
configure.in
src/include/pg_config.h.in
src/port/pg_crc32c_armv8_choose.c