]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Add POWER8 VSX and S390 VX CRC32 copy tests
authorNathan Moinvaziri <nathan@nathanm.com>
Wed, 18 Feb 2026 08:08:25 +0000 (00:08 -0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Wed, 18 Feb 2026 14:05:03 +0000 (15:05 +0100)
test/test_crc32_copy.cc

index b72884325a0e4799b11a6ee2d7a328e1338b0992..d39744801709108775ef9f0e7c362bbe181d98e7 100644 (file)
@@ -70,6 +70,12 @@ TEST_CRC32_COPY(braid, crc32_copy_braid, 1)
 #  ifdef RISCV_CRC32_ZBC
     TEST_CRC32_COPY(riscv, crc32_copy_riscv64_zbc, test_cpu_features.riscv.has_zbc)
 #  endif
+#  ifdef POWER8_VSX_CRC32
+    TEST_CRC32_COPY(power8, crc32_copy_power8, test_cpu_features.power.has_arch_2_07)
+#  endif
+#  ifdef S390_CRC32_VX
+    TEST_CRC32_COPY(vx, crc32_copy_s390_vx, test_cpu_features.s390.has_vx)
+#  endif
 #  ifdef X86_PCLMULQDQ_CRC
     TEST_CRC32_COPY(pclmulqdq, crc32_copy_pclmulqdq, test_cpu_features.x86.has_pclmulqdq)
 #  endif