aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-07-26 22:16:21 -0300
committerJames Almer <jamrial@gmail.com>2016-07-26 22:16:21 -0300
commit54a0a52be100d36291084f92b7d6aee1a4960acb (patch)
tree40778b7d09adbf486a82a55ce30dd552dd7e918a
parent461073e8091456c91842a43a44bb6cb98164d610 (diff)
downloadffmpeg-54a0a52be100d36291084f92b7d6aee1a4960acb.tar.gz
checkasm/vp9dsp: use declare_func_emms in check_loopfilter
Fixes checkasm failures on mmxext functions Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--tests/checkasm/vp9dsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkasm/vp9dsp.c b/tests/checkasm/vp9dsp.c
index 931f7882b5..441041c2b0 100644
--- a/tests/checkasm/vp9dsp.c
+++ b/tests/checkasm/vp9dsp.c
@@ -448,7 +448,7 @@ static void check_loopfilter(void)
static const char *const dir_name[2] = { "h", "v" };
static const int E[2] = { 20, 28 }, I[2] = { 10, 16 };
static const int H[2] = { 7, 11 }, F[2] = { 1, 1 };
- declare_func(void, uint8_t *dst, ptrdiff_t stride, int E, int I, int H);
+ declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t *dst, ptrdiff_t stride, int E, int I, int H);
for (bit_depth = 8; bit_depth <= 12; bit_depth += 2) {
ff_vp9dsp_init(&dsp, bit_depth, 0);