Skip to content

Commit 7be511a

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 77b9c50 commit 7be511a

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
@@ -1957,11 +1957,11 @@ if test x"$USE_SSE42_CRC32C" = x"1"; then
19571957
AC_MSG_RESULT(SSE 4.2)
19581958
else
19591959
if test x"$USE_SSE42_CRC32C_WITH_RUNTIME_CHECK" = x"1"; then
1960-
AC_DEFINE(USE_SSE42_CRC32C_WITH_RUNTIME_CHECK, 1, [Define to 1 to use Intel SSSE 4.2 CRC instructions with a runtime check.])
1960+
AC_DEFINE(USE_SSE42_CRC32C_WITH_RUNTIME_CHECK, 1, [Define to 1 to use Intel SSE 4.2 CRC instructions with a runtime check.])
19611961
PG_CRC32C_OBJS="pg_crc32c_sse42.o pg_crc32c_sb8.o pg_crc32c_choose.o"
19621962
AC_MSG_RESULT(SSE 4.2 with runtime check)
19631963
else
1964-
AC_DEFINE(USE_SLICING_BY_8_CRC32C, 1, [Define to 1 to use Intel SSE 4.2 CRC instructions with a runtime check.])
1964+
AC_DEFINE(USE_SLICING_BY_8_CRC32C, 1, [Define to 1 to use software CRC-32C implementation (slicing-by-8).])
19651965
PG_CRC32C_OBJS="pg_crc32c_sb8.o"
19661966
AC_MSG_RESULT(slicing-by-8)
19671967
fi

src/include/pg_config.h.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -850,13 +850,13 @@
850850
/* Use replacement snprintf() functions. */
851851
#undef USE_REPL_SNPRINTF
852852

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

856856
/* Define to 1 use Intel SSE 4.2 CRC instructions. */
857857
#undef USE_SSE42_CRC32C
858858

859-
/* Define to 1 to use Intel SSSE 4.2 CRC instructions with a runtime check. */
859+
/* Define to 1 to use Intel SSE 4.2 CRC instructions with a runtime check. */
860860
#undef USE_SSE42_CRC32C_WITH_RUNTIME_CHECK
861861

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

0 commit comments

Comments
 (0)