postgresql/config
Heikki Linnakangas 3dc2d62d04 Use Intel SSE 4.2 CRC instructions where available.
Modern x86 and x86-64 processors with SSE 4.2 support have special
instructions, crc32b and crc32q, for calculating CRC-32C. They greatly
speed up CRC calculation.

Whether the instructions can be used or not depends on the compiler and the
target architecture. If generation of SSE 4.2 instructions is allowed for
the target (-msse4.2 flag on gcc and clang), use them. If they are not
allowed by default, but the compiler supports the -msse4.2 flag to enable
them, compile just the CRC-32C function with -msse4.2 flag, and check at
runtime whether the processor we're running on supports it. If it doesn't,
fall back to the slicing-by-8 algorithm. (With the common defaults on
current operating systems, the runtime-check variant is what you get in
practice.)

Abhijit Menon-Sen, heavily modified by me, reviewed by Andres Freund.
2015-04-14 17:05:03 +03:00
..
ac_func_accept_argtypes.m4
acx_pthread.m4 Remove some useless code in the configure script. 2014-07-01 17:51:53 -04:00
c-compiler.m4 Use Intel SSE 4.2 CRC instructions where available. 2015-04-14 17:05:03 +03:00
c-library.m4 Remove configure test for nonstandard variants of getpwuid_r(). 2015-01-11 12:52:37 -05:00
config.guess Update config.guess and config.sub 2014-05-10 10:33:34 -04:00
config.sub Update config.guess and config.sub 2014-05-10 10:33:34 -04:00
docbook.m4
general.m4
install-sh
libtool.m4
Makefile
missing
perl.m4
prep_buildtree
programs.m4 Move PGAC_LDAP_SAFE to config/programs.m4. 2014-07-25 18:51:35 -04:00
python.m4 On OS X, link libpython normally, ignoring the "framework" framework. 2014-05-30 18:19:06 -04:00
tcl.m4 Accept tcl 8.6 in configure's probe for tclsh. 2014-05-10 10:48:01 -04:00
test_quiet_include.h