summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2018-04-04 11:20:53 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2018-04-04 11:25:26 +0300
commit7be511a767cf41f808ee77911bec0f341d04c5fc (patch)
treee8dfea4858197444c44a5b611ff581b4bf09b3b6
parent77b9c507d4cf94580ff1b58379a5769f11df08eb (diff)
Fix incorrect description of USE_SLICING_BY_8_CRC32C.
And a typo in the description of USE_SSE42_CRC32C_WITH_RUNTIME_CHECK, spotted by Daniel Gustafsson.
-rw-r--r--configure.in4
-rw-r--r--src/include/pg_config.h.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index ee04a7ee519..ae1302329a2 100644
--- a/configure.in
+++ b/configure.in
@@ -1957,11 +1957,11 @@ if test x"$USE_SSE42_CRC32C" = x"1"; then
AC_MSG_RESULT(SSE 4.2)
else
if test x"$USE_SSE42_CRC32C_WITH_RUNTIME_CHECK" = x"1"; then
- AC_DEFINE(USE_SSE42_CRC32C_WITH_RUNTIME_CHECK, 1, [Define to 1 to use Intel SSSE 4.2 CRC instructions with a runtime check.])
+ AC_DEFINE(USE_SSE42_CRC32C_WITH_RUNTIME_CHECK, 1, [Define to 1 to use Intel SSE 4.2 CRC instructions with a runtime check.])
PG_CRC32C_OBJS="pg_crc32c_sse42.o pg_crc32c_sb8.o pg_crc32c_choose.o"
AC_MSG_RESULT(SSE 4.2 with runtime check)
else
- AC_DEFINE(USE_SLICING_BY_8_CRC32C, 1, [Define to 1 to use Intel SSE 4.2 CRC instructions with a runtime check.])
+ AC_DEFINE(USE_SLICING_BY_8_CRC32C, 1, [Define to 1 to use software CRC-32C implementation (slicing-by-8).])
PG_CRC32C_OBJS="pg_crc32c_sb8.o"
AC_MSG_RESULT(slicing-by-8)
fi
diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in
index f7ac5658cc4..aa569c52594 100644
--- a/src/include/pg_config.h.in
+++ b/src/include/pg_config.h.in
@@ -850,13 +850,13 @@
/* Use replacement snprintf() functions. */
#undef USE_REPL_SNPRINTF
-/* Define to 1 to use Intel SSE 4.2 CRC instructions with a runtime check. */
+/* Define to 1 to use software CRC-32C implementation (slicing-by-8). */
#undef USE_SLICING_BY_8_CRC32C
/* Define to 1 use Intel SSE 4.2 CRC instructions. */
#undef USE_SSE42_CRC32C
-/* Define to 1 to use Intel SSSE 4.2 CRC instructions with a runtime check. */
+/* Define to 1 to use Intel SSE 4.2 CRC instructions with a runtime check. */
#undef USE_SSE42_CRC32C_WITH_RUNTIME_CHECK
/* Define to build with systemd support. (--with-systemd) */