tests/checkasm/png: Don't use declare_func_emms for add_paeth_pred

There is an x86 implementation using MMX registers, but it actually
issues emms on its own (since 57a29f2e7d).

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2026-04-02 12:19:43 +02:00
parent fcea2aa75d
commit 14c30b9d19

View File

@@ -69,8 +69,8 @@ static void check_add_paeth_prediction(const PNGDSPContext *c)
randomize_buf(src, BUF_SIZE);
randomize_buf(top_buf, BUF_SIZE);
declare_func_emms(AV_CPU_FLAG_MMX, void, uint8_t * dst, const uint8_t *src,
const uint8_t *top, int w, int bpp);
declare_func(void, uint8_t * dst, const uint8_t *src,
const uint8_t *top, int w, int bpp);
const int bpps[] = {3, 4, 6, 8};
for (int i = 0; i < FF_ARRAY_ELEMS(bpps); i++) {