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>
pull/388/head
Andreas Rheinhardt 2 years ago
parent f224c195e0
commit 18afaa20f1
  1. 2
      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); \

Loading…
Cancel
Save