Disable av1_calc_indices_dim2 sse2 SIMD Disable av1_calc_indices_dim2 sse2 SIMD and its unit test due to c/SIMD mismatch. Re-enable it after mismatch is fixed. BUG=aomedia:2932 Change-Id: I93bfb6f497cbf4516467f460b4ca6a90d506d867
diff --git a/av1/common/av1_rtcd_defs.pl b/av1/common/av1_rtcd_defs.pl index f1b87fc..ea16b43 100644 --- a/av1/common/av1_rtcd_defs.pl +++ b/av1/common/av1_rtcd_defs.pl
@@ -364,12 +364,12 @@ } add_proto qw/void av1_quantize_b/, "const tran_low_t *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, const qm_val_t * qm_ptr, const qm_val_t * iqm_ptr, int log_scale"; -##Krishna SSE2 TODO add_proto qw/void av1_calc_indices_dim1/, "const int *data, const int *centroids, uint8_t *indices, int n, int k"; specialize qw/av1_calc_indices_dim1 sse2 avx2/; +# TODO(any): Disable av1_calc_indices_dim2 sse2 version due to c/SIMD mismatch. Re-enable it after mismatch is fixed. add_proto qw/void av1_calc_indices_dim2/, "const int *data, const int *centroids, uint8_t *indices, int n, int k"; - specialize qw/av1_calc_indices_dim2 sse2 avx2/; + specialize qw/av1_calc_indices_dim2 avx2/; # ENCODEMB INVOKE if (aom_config("CONFIG_AV1_HIGHBITDEPTH") eq "yes") {
diff --git a/test/av1_k_means_test.cc b/test/av1_k_means_test.cc index c158766..d55c692 100644 --- a/test/av1_k_means_test.cc +++ b/test/av1_k_means_test.cc
@@ -279,10 +279,12 @@ SSE2, AV1KmeansTest1, ::testing::Combine(::testing::Values(&av1_calc_indices_dim1_sse2), ::testing::ValuesIn(kValidBlockSize))); -INSTANTIATE_TEST_SUITE_P( - SSE2, AV1KmeansTest2, - ::testing::Combine(::testing::Values(&av1_calc_indices_dim2_sse2), - ::testing::ValuesIn(kValidBlockSize))); +// TODO(any): Disable av1_calc_indices_dim2 sse2 SIMD and its unit test due to +// c/SIMD mismatch. Re-enable it after mismatch is fixed. +// INSTANTIATE_TEST_SUITE_P( +// SSE2, AV1KmeansTest2, +// ::testing::Combine(::testing::Values(&av1_calc_indices_dim2_sse2), +// ::testing::ValuesIn(kValidBlockSize))); #endif } // namespace AV1Kmeans