ffmpeg/libavutil/x86
Martin Storsjö 7ec2354c38 x86: Remove inline MMX assembly that clobbers the FPU state
These inline implementations of AV_COPY64, AV_SWAP64 and AV_ZERO64
are known to clobber the FPU state - which has to be restored
with the 'emms' instruction afterwards.

This was known and signaled with the FF_COPY_SWAP_ZERO_USES_MMX
define, which calling code seems to have been supposed to check,
in order to call emms_c() after using them. See
0b1972d409,
29c4c0886d and
df215e5758 for history on earlier
fixes in the same area.

However, new code can use these AV_*64() macros without knowing
about the need to call emms_c().

Just get rid of these dangerous inline assembly snippets; this
doesn't make any difference for 64 bit architectures anyway.

Signed-off-by: Martin Storsjö <martin@martin.st>
2024-02-09 23:55:52 +02:00
..
Makefile
asm.h
bswap.h
cpu.c
cpu.h
cpuid.asm
emms.asm
fixed_dsp.asm
fixed_dsp_init.c
float_dsp.asm
float_dsp_init.c
imgutils.asm
imgutils_init.c
intmath.h
intreadwrite.h x86: Remove inline MMX assembly that clobbers the FPU state 2024-02-09 23:55:52 +02:00
lls.asm
lls_init.c
pixelutils.asm
pixelutils.h
pixelutils_init.c
timer.h
tx_float.asm
tx_float_init.c x86/tx_init: propely indicate the extended available transform sizes 2024-02-09 18:08:42 +01:00
w64xmmtest.h
x86inc.asm
x86util.asm