diff options
| author | Nathan Moinvaziri <nathan@nathanm.com> | 2025-12-18 16:17:18 -0800 |
|---|---|---|
| committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2025-12-28 14:07:03 +0100 |
| commit | c1fed4ba05a49fd3b5ca8743461d9782f70fa820 (patch) | |
| tree | 30d84be9e9ea4b9ebb8ffc2e9d26fc34f69a936d /test | |
| parent | 3bb64ec49623845871f157370ee3a1c43a040be4 (diff) | |
| download | Project-Tick-c1fed4ba05a49fd3b5ca8743461d9782f70fa820.tar.gz Project-Tick-c1fed4ba05a49fd3b5ca8743461d9782f70fa820.zip | |
Refactor crc32_fold functions into single crc32_copy
Diffstat (limited to 'test')
| -rw-r--r-- | test/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | test/benchmarks/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | test/benchmarks/benchmark_crc32_copy.cc (renamed from test/benchmarks/benchmark_crc32_fold_copy.cc) | 0 | ||||
| -rw-r--r-- | test/test_crc32.cc | 2 | ||||
| -rw-r--r-- | test/test_crc32_copy.cc (renamed from test/test_crc32_fold_copy.cc) | 0 |
5 files changed, 3 insertions, 3 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 2ce549e8d8..bbaf1035c2 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -180,7 +180,7 @@ if(WITH_GTEST) test_compare256.cc # compare256_neon(), etc test_compare256_rle.cc # compare256_rle(), etc test_crc32.cc # crc32_armv8(), etc - test_crc32_fold_copy.cc # crc32_fold_copy implementations + test_crc32_copy.cc # crc32_copy implementations test_inflate_sync.cc # expects a certain compressed block layout test_main.cc # cpu_check_features() test_version.cc # expects a fixed version string diff --git a/test/benchmarks/CMakeLists.txt b/test/benchmarks/CMakeLists.txt index 79f49b1fa5..c9fe520ad3 100644 --- a/test/benchmarks/CMakeLists.txt +++ b/test/benchmarks/CMakeLists.txt @@ -44,7 +44,7 @@ add_executable(benchmark_zlib benchmark_compare256_rle.cc benchmark_compress.cc benchmark_crc32.cc - benchmark_crc32_fold_copy.cc + benchmark_crc32_copy.cc benchmark_insert_string.cc benchmark_main.cc benchmark_slidehash.cc diff --git a/test/benchmarks/benchmark_crc32_fold_copy.cc b/test/benchmarks/benchmark_crc32_copy.cc index 7b16952018..7b16952018 100644 --- a/test/benchmarks/benchmark_crc32_fold_copy.cc +++ b/test/benchmarks/benchmark_crc32_copy.cc diff --git a/test/test_crc32.cc b/test/test_crc32.cc index a49c9d72bc..2a0da7eb98 100644 --- a/test/test_crc32.cc +++ b/test/test_crc32.cc @@ -140,7 +140,7 @@ TEST_CRC32(vpclmulqdq, crc32_vpclmulqdq, (test_cpu_features.x86.has_pclmulqdq && TEST_CRC32(chorba_sse41, crc32_chorba_sse41, test_cpu_features.x86.has_sse41) # endif #endif -#if defined(LOONGARCH_CRC) +#ifdef LOONGARCH_CRC INSTANTIATE_TEST_SUITE_P(crc32_alignment, crc32_align, testing::ValuesIn(align_offsets)); TEST_CRC32(loongarch64, crc32_loongarch64, test_cpu_features.loongarch.has_crc) TEST_CRC32_ALIGN(loongarch64_align, crc32_loongarch64, test_cpu_features.loongarch.has_crc) diff --git a/test/test_crc32_fold_copy.cc b/test/test_crc32_copy.cc index 81881d8e82..81881d8e82 100644 --- a/test/test_crc32_fold_copy.cc +++ b/test/test_crc32_copy.cc |
