Skip to content

Commit 8989f52

Browse files
committed
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.
1 parent 851f4b4 commit 8989f52

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

configure.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2037,11 +2037,11 @@ if test x"$USE_SSE42_CRC32C" = x"1"; then
20372037
AC_MSG_RESULT(SSE 4.2)
20382038
else
20392039
if test x"$USE_SSE42_CRC32C_WITH_RUNTIME_CHECK" = x"1"; then
2040-
AC_DEFINE(USE_SSE42_CRC32C_WITH_RUNTIME_CHECK, 1, [Define to 1 to use Intel SSSE 4.2 CRC instructions with a runtime check.])
2040+
AC_DEFINE(USE_SSE42_CRC32C_WITH_RUNTIME_CHECK, 1, [Define to 1 to use Intel SSE 4.2 CRC instructions with a runtime check.])
20412041
PG_CRC32C_OBJS="pg_crc32c_sse42.o pg_crc32c_sb8.o pg_crc32c_choose.o"
20422042
AC_MSG_RESULT(SSE 4.2 with runtime check)
20432043
else
2044-
AC_DEFINE(USE_SLICING_BY_8_CRC32C, 1, [Define to 1 to use Intel SSE 4.2 CRC instructions with a runtime check.])
2044+
AC_DEFINE(USE_SLICING_BY_8_CRC32C, 1, [Define to 1 to use software CRC-32C implementation (slicing-by-8).])
20452045
PG_CRC32C_OBJS="pg_crc32c_sb8.o"
20462046
AC_MSG_RESULT(slicing-by-8)
20472047
fi

src/include/pg_config.h.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -893,13 +893,13 @@
893893
/* Use replacement snprintf() functions. */
894894
#undef USE_REPL_SNPRINTF
895895

896-
/* Define to 1 to use Intel SSE 4.2 CRC instructions with a runtime check. */
896+
/* Define to 1 to use software CRC-32C implementation (slicing-by-8). */
897897
#undef USE_SLICING_BY_8_CRC32C
898898

899899
/* Define to 1 use Intel SSE 4.2 CRC instructions. */
900900
#undef USE_SSE42_CRC32C
901901

902-
/* Define to 1 to use Intel SSSE 4.2 CRC instructions with a runtime check. */
902+
/* Define to 1 to use Intel SSE 4.2 CRC instructions with a runtime check. */
903903
#undef USE_SSE42_CRC32C_WITH_RUNTIME_CHECK
904904

905905
/* Define to build with systemd support. (--with-systemd) */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy