Commit c5de1def authored by Linfeng Zhang's avatar Linfeng Zhang Committed by James Zern

remove mmx sad functions (from libvpx)

Cherry-pick d0e687bf remove mmx sad functions

there are sse2 equivalents which is a reasonable modern baseline

Change-Id: I9b67ff6dd16e36179e48898257b277fee003c8be
parent b619ba36
......@@ -282,7 +282,6 @@ DSP_SRCS-$(HAVE_NEON) += arm/subtract_neon.c
DSP_SRCS-$(HAVE_MSA) += mips/sad_msa.c
DSP_SRCS-$(HAVE_MSA) += mips/subtract_msa.c
DSP_SRCS-$(HAVE_MMX) += x86/sad_mmx.asm
DSP_SRCS-$(HAVE_SSE3) += x86/sad_sse3.asm
DSP_SRCS-$(HAVE_SSSE3) += x86/sad_ssse3.asm
DSP_SRCS-$(HAVE_SSE4_1) += x86/sad_sse4.asm
......
......@@ -990,16 +990,16 @@ add_proto qw/unsigned int aom_sad16x32/, "const uint8_t *src_ptr, int src_stride
specialize qw/aom_sad16x32 msa/, "$sse2_x86inc";
add_proto qw/unsigned int aom_sad16x16/, "const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride";
specialize qw/aom_sad16x16 mmx media neon msa/, "$sse2_x86inc";
specialize qw/aom_sad16x16 media neon msa/, "$sse2_x86inc";
add_proto qw/unsigned int aom_sad16x8/, "const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride";
specialize qw/aom_sad16x8 mmx neon msa/, "$sse2_x86inc";
specialize qw/aom_sad16x8 neon msa/, "$sse2_x86inc";
add_proto qw/unsigned int aom_sad8x16/, "const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride";
specialize qw/aom_sad8x16 mmx neon msa/, "$sse2_x86inc";
specialize qw/aom_sad8x16 neon msa/, "$sse2_x86inc";
add_proto qw/unsigned int aom_sad8x8/, "const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride";
specialize qw/aom_sad8x8 mmx neon msa/, "$sse2_x86inc";
specialize qw/aom_sad8x8 neon msa/, "$sse2_x86inc";
add_proto qw/unsigned int aom_sad8x4/, "const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride";
specialize qw/aom_sad8x4 msa/, "$sse2_x86inc";
......@@ -1008,7 +1008,7 @@ add_proto qw/unsigned int aom_sad4x8/, "const uint8_t *src_ptr, int src_stride,
specialize qw/aom_sad4x8 msa/, "$sse2_x86inc";
add_proto qw/unsigned int aom_sad4x4/, "const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride";
specialize qw/aom_sad4x4 mmx neon msa/, "$sse2_x86inc";
specialize qw/aom_sad4x4 neon msa/, "$sse2_x86inc";
#
# Avg
......
This diff is collapsed.
......@@ -677,17 +677,6 @@ INSTANTIATE_TEST_CASE_P(NEON, SADx4Test, ::testing::ValuesIn(x4d_neon_tests));
//------------------------------------------------------------------------------
// x86 functions
#if HAVE_MMX
const SadMxNParam mmx_tests[] = {
make_tuple(16, 16, &aom_sad16x16_mmx, -1),
make_tuple(16, 8, &aom_sad16x8_mmx, -1),
make_tuple(8, 16, &aom_sad8x16_mmx, -1),
make_tuple(8, 8, &aom_sad8x8_mmx, -1),
make_tuple(4, 4, &aom_sad4x4_mmx, -1),
};
INSTANTIATE_TEST_CASE_P(MMX, SADTest, ::testing::ValuesIn(mmx_tests));
#endif // HAVE_MMX
#if HAVE_SSE
#if CONFIG_USE_X86INC
const SadMxNx4Param x4d_sse_tests[] = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment