pgsql: Include _mm512_zextsi128_si512() in AVX-512 configure probes. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Include _mm512_zextsi128_si512() in AVX-512 configure probes.
Date
Msg-id E1uTjRB-0030Ao-21@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Include _mm512_zextsi128_si512() in AVX-512 configure probes.

Commit 43da39430 added a dependency on this intrinsic to our
AVX-512 CRC code.  It turns out this intrinsic was added to
gcc later than the other ones we were using, so that there
are platforms where the new code fails to compile.  Since only
relatively old (pre-gcc-10) compilers are affected, it doesn't
seem worth trying to make the AVX-512 CRC code actually work
on these platforms.  Just add the new intrinsic to the configure
probe, so that we'll conclude the code can't be built.

Author: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Nathan Bossart <nathandbossart@gmail.com>
Discussion: https://postgr.es/m/3350336.1750690281@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ccd5bc93fdfeae22c935f405b0687be5cfa9caa4

Modified Files
--------------
config/c-compiler.m4 | 1 +
configure            | 1 +
meson.build          | 1 +
3 files changed, 3 insertions(+)


pgsql-committers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: pgsql: Improve runtime and output of tests for replication slots checkp
Next
From: Jelte Fennema-Nio
Date:
Subject: Re: pgsql: Improve runtime and output of tests for replication slots checkp