Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a3c64ed

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 80bfdc0 commit a3c64ed

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
@@ -1941,11 +1941,11 @@ if test x"$USE_SSE42_CRC32C" = x"1"; then
19411941
AC_MSG_RESULT(SSE 4.2)
19421942
else
19431943
if test x"$USE_SSE42_CRC32C_WITH_RUNTIME_CHECK" = x"1"; then
1944-
AC_DEFINE(USE_SSE42_CRC32C_WITH_RUNTIME_CHECK, 1, [Define to 1 to use Intel SSSE 4.2 CRC instructions with a runtime check.])
1944+
AC_DEFINE(USE_SSE42_CRC32C_WITH_RUNTIME_CHECK, 1, [Define to 1 to use Intel SSE 4.2 CRC instructions with a runtime check.])
19451945
PG_CRC32C_OBJS="pg_crc32c_sse42.o pg_crc32c_sb8.o pg_crc32c_choose.o"
19461946
AC_MSG_RESULT(SSE 4.2 with runtime check)
19471947
else
1948-
AC_DEFINE(USE_SLICING_BY_8_CRC32C, 1, [Define to 1 to use Intel SSE 4.2 CRC instructions with a runtime check.])
1948+
AC_DEFINE(USE_SLICING_BY_8_CRC32C, 1, [Define to 1 to use software CRC-32C implementation (slicing-by-8).])
19491949
PG_CRC32C_OBJS="pg_crc32c_sb8.o"
19501950
AC_MSG_RESULT(slicing-by-8)
19511951
fi

src/include/pg_config.h.in

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

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

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

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

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

0 commit comments

Comments
 (0)