From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Improve our method for probing the availability of ARM CRC instr |
Date: | 2018-05-02 22:06:50 |
Message-ID: | E1fDzti-0005p3-DP@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/1c72ec6f498945eb5981cdedd448aec3977477c8
Modified Files
--------------
configure | 45 ++-------------------------------------
configure.in | 21 ++----------------
src/include/pg_config.h.in | 3 ---
src/port/pg_crc32c_armv8_choose.c | 33 +++++++++++++++++++++-------
4 files changed, 29 insertions(+), 73 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2018-05-03 00:29:29 | pgsql: Remove now-unnecessary cast. |
Previous Message | Tom Lane | 2018-05-02 21:33:11 | pgsql: Revert back-branch changes in power()'s behavior for NaN inputs. |