]> granicus.if.org Git - postgresql/commitdiff
Fix incorrect description of USE_SLICING_BY_8_CRC32C.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 4 Apr 2018 08:20:53 +0000 (11:20 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 4 Apr 2018 08:25:49 +0000 (11:25 +0300)
And a typo in the description of USE_SSE42_CRC32C_WITH_RUNTIME_CHECK,
spotted by Daniel Gustafsson.

configure.in
src/include/pg_config.h.in

index cb9831637e400964a294695a01242c9c3857a45a..29f88ac2a628e1a2c80131b0c4b0adcad625a7b0 100644 (file)
@@ -1918,11 +1918,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
index 4931f4cf80e6cd71e0bf07a9c9c464a2c78ba3b0..5cfd94e8cb56d5a782131839d2babe9148e7b1f1 100644 (file)
 /* 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 select SysV-style semaphores. */