forked from FFmpeg/FFmpeg
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:
parent
f224c195e0
commit
18afaa20f1
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
||||||
#define check_clear(func, size) \
|
#define check_clear(func, size) \
|
||||||
do { \
|
do { \
|
||||||
if (check_func(h.func, "blockdsp." #func)) { \
|
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); \
|
randomize_buffers(size); \
|
||||||
call_ref(buf0); \
|
call_ref(buf0); \
|
||||||
call_new(buf1); \
|
call_new(buf1); \
|
||||||
|
|
Loading…
Add table
Reference in a new issue