You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
checkasm/llviddspenc: Use declare_func_emms only when needed
There is no MMX code for diff_bytes since commit
230ea38de1
, 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:
@@ -52,8 +52,8 @@ static void check_diff_bytes(LLVidEncDSPContext *c)
|
||||
LOCAL_ALIGNED_32(uint8_t, src2, [MAX_STRIDE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, src3, [MAX_STRIDE]);
|
||||
|
||||
declare_func_emms(AV_CPU_FLAG_MMX, void, uint8_t *dst, const uint8_t *src1,
|
||||
const uint8_t *src2, intptr_t w);
|
||||
declare_func(void, uint8_t *dst, const uint8_t *src1,
|
||||
const uint8_t *src2, intptr_t w);
|
||||
|
||||
memset(dst0, 0, MAX_STRIDE);
|
||||
memset(dst1, 0, MAX_STRIDE);
|
||||
|
Reference in New Issue
Block a user