diff crc32-test.c @ 1:90cb48b87dcc

*: don't hardcode the list of impls in multiple places
author Paper <paper@tflc.us>
date Mon, 09 Feb 2026 01:18:06 -0500
parents 422835bc1aca
children ead9f84d11db
line wrap: on
line diff
--- a/crc32-test.c	Mon Feb 09 01:15:00 2026 -0500
+++ b/crc32-test.c	Mon Feb 09 01:18:06 2026 -0500
@@ -11,9 +11,8 @@
 #undef DOUBLE
 	;
 	static const crc32_r_spec crc[] = {
-		crc32c_r,
-		crc32qw_r,
-		crc32x86_vpclmulqdq_r
+#define CRC32_IMPL(name) crc32##name##_r,
+#include "crc32-impls.h"
 	};
 	size_t i;