1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

checkasm/blockdsp: Be strict about MMX

There is no MMX code for blockdsp after commit
ee551a21dd, 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>
This commit is contained in:
Andreas Rheinhardt 2022-10-08 01:25:48 +02:00
parent f224c195e0
commit 18afaa20f1

View File

@ -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); \