summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-08 01:25:48 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-11 14:18:54 +0200
commit18afaa20f15a6624b47047c0002b01c57da2fd7e (patch)
tree18eb2b07a3e0f7766d700cf4c7c3d91d90e8bf35 /tests
parentf224c195e00ec0235e4f85207208deca5ed7eb47 (diff)
checkasm/blockdsp: Be strict about MMX
There is no MMX code for blockdsp after commit ee551a21ddcbf81afe183d9489c534ee80f263a0, so use declare_func instead of declare_func_emms() to also test that we are not in MMX mode after return. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/checkasm/blockdsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkasm/blockdsp.c b/tests/checkasm/blockdsp.c
index 99d79209e4..22a2f79455 100644
--- a/tests/checkasm/blockdsp.c
+++ b/tests/checkasm/blockdsp.c
@@ -42,7 +42,7 @@
#define check_clear(func, size) \
do { \
if (check_func(h.func, "blockdsp." #func)) { \
- declare_func_emms(AV_CPU_FLAG_MMX, void, int16_t *block); \
+ declare_func(void, int16_t *block); \
randomize_buffers(size); \
call_ref(buf0); \
call_new(buf1); \