From 9c326af1d0423d59b204234cbd1d7ad19d857d69 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Sat, 16 May 2020 08:13:58 +0300 Subject: checkasm: swscale: Fix running the hscale test on 32 bit x86 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This function doesn't call emms. Signed-off-by: Martin Storsjö --- tests/checkasm/sw_scale.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/checkasm') diff --git a/tests/checkasm/sw_scale.c b/tests/checkasm/sw_scale.c index 9f0b72038d..2680e47897 100644 --- a/tests/checkasm/sw_scale.c +++ b/tests/checkasm/sw_scale.c @@ -63,9 +63,9 @@ static void check_hscale(void) // The dst parameter here is either int16_t or int32_t but we use void* to // just cover both cases. - declare_func(void, void *c, void *dst, int dstW, - const uint8_t *src, const int16_t *filter, - const int32_t *filterPos, int filterSize); + declare_func_emms(AV_CPU_FLAG_MMX, void, void *c, void *dst, int dstW, + const uint8_t *src, const int16_t *filter, + const int32_t *filterPos, int filterSize); ctx = sws_alloc_context(); if (sws_init_context(ctx, NULL, NULL) < 0) -- cgit v1.2.3