aboutsummaryrefslogtreecommitdiffstats
path: root/tests/checkasm/llviddspenc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-08-31 22:32:43 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-04 11:04:45 +0200
commite7866e00c8b0c3dab657a9e2b90527b04f1146bb (patch)
tree5c29f93e0d681db00dbfabaa5ce748100d0a1729 /tests/checkasm/llviddspenc.c
parent3f82b385163d37238825d116ca943aab576fa94f (diff)
downloadffmpeg-e7866e00c8b0c3dab657a9e2b90527b04f1146bb.tar.gz
tests/checkasm/llvidencdsp: Don't use declare_func_emms
Only sub_media_pred has an MMXEXT version, so one can use the version with the stricter check (that checks that the MMX registers have not been clobbered) for sub_left_predict. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests/checkasm/llviddspenc.c')
-rw-r--r--tests/checkasm/llviddspenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/checkasm/llviddspenc.c b/tests/checkasm/llviddspenc.c
index e12003aeeb..c2eb63519f 100644
--- a/tests/checkasm/llviddspenc.c
+++ b/tests/checkasm/llviddspenc.c
@@ -81,8 +81,8 @@ static void check_sub_left_pred(LLVidEncDSPContext *c)
LOCAL_ALIGNED_32(uint8_t, src0, [MAX_STRIDE * MAX_HEIGHT]);
LOCAL_ALIGNED_32(uint8_t, src1, [MAX_STRIDE * MAX_HEIGHT]);
- declare_func_emms(AV_CPU_FLAG_MMX, void, uint8_t *dst, const uint8_t *src,
- ptrdiff_t stride, ptrdiff_t width, int height);
+ declare_func(void, uint8_t *dst, const uint8_t *src,
+ ptrdiff_t stride, ptrdiff_t width, int height);
memset(dst0, 0, MAX_STRIDE * MAX_HEIGHT);
memset(dst1, 0, MAX_STRIDE * MAX_HEIGHT);