simd_cmp_impl,S64_V256V256: use correct store fn
u64 -> s64
quiets ubsan warnings:
call to function (unknown) through pointer to incorrect function type
'void (*)(void *, long long)'
Change-Id: I3331e11b0780dea3af435952db639354c7028738
diff --git a/test/simd_cmp_impl.h b/test/simd_cmp_impl.h
index 4a9c1f7..46f46d7 100644
--- a/test/simd_cmp_impl.h
+++ b/test/simd_cmp_impl.h
@@ -1590,10 +1590,10 @@
typeid(CArg2) == typeid(c_v256)) {
// S64_V256V256
error = CompareSimd2Args<int64_t, v256, v256, CRet, CArg1, CArg2>(
- reinterpret_cast<fptr>(u64_store_aligned),
+ reinterpret_cast<fptr>(s64_store_aligned),
reinterpret_cast<fptr>(v256_load_aligned),
reinterpret_cast<fptr>(v256_load_aligned), simd, d,
- reinterpret_cast<fptr>(c_u64_store_aligned),
+ reinterpret_cast<fptr>(c_s64_store_aligned),
reinterpret_cast<fptr>(c_v256_load_aligned),
reinterpret_cast<fptr>(c_v256_load_aligned),
reinterpret_cast<fptr>(ref_simd), ref_d, s1, s2);