mirror of https://git.ffmpeg.org/ffmpeg.git
checkasm/pixblockdsp: Be strict about MMX
There is no MMX code for pixblockdsp after commit
92b5800277
, 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
42921190cb
commit
b4e2d67636
|
@ -48,7 +48,7 @@
|
||||||
#define check_get_pixels(type, aligned) \
|
#define check_get_pixels(type, aligned) \
|
||||||
do { \
|
do { \
|
||||||
int i; \
|
int i; \
|
||||||
declare_func_emms(AV_CPU_FLAG_MMX, void, int16_t *block, const uint8_t *pixels, ptrdiff_t line_size); \
|
declare_func(void, int16_t *block, const uint8_t *pixels, ptrdiff_t line_size); \
|
||||||
\
|
\
|
||||||
for (i = 0; i < BUF_UNITS; i++) { \
|
for (i = 0; i < BUF_UNITS; i++) { \
|
||||||
int src_offset = i * 64 * sizeof(type) + (aligned ? 8 : 1) * i; \
|
int src_offset = i * 64 * sizeof(type) + (aligned ? 8 : 1) * i; \
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
#define check_diff_pixels(type, aligned) \
|
#define check_diff_pixels(type, aligned) \
|
||||||
do { \
|
do { \
|
||||||
int i; \
|
int i; \
|
||||||
declare_func_emms(AV_CPU_FLAG_MMX, void, int16_t *av_restrict block, const uint8_t *s1, const uint8_t *s2, ptrdiff_t stride); \
|
declare_func(void, int16_t *av_restrict block, const uint8_t *s1, const uint8_t *s2, ptrdiff_t stride); \
|
||||||
\
|
\
|
||||||
for (i = 0; i < BUF_UNITS; i++) { \
|
for (i = 0; i < BUF_UNITS; i++) { \
|
||||||
int src_offset = i * 64 * sizeof(type) + (aligned ? 8 : 1) * i; \
|
int src_offset = i * 64 * sizeof(type) + (aligned ? 8 : 1) * i; \
|
||||||
|
|
Loading…
Reference in New Issue