• Janne Grunau's avatar
    x86: use emms after ff_int32_to_float_fmul_scalar_sse · 8563f988
    Janne Grunau authored
    Intel's Instruction Set Reference (as of September 2015) clearly states
    that cvtpi2ps switches to MMX state. Actual CPUs do not switch if the
    source is a memory location. The Instruction Set Reference from 1999
    (Order Number 243191) describes this behaviour but all later versions
    I've seen have make no distinction whether MMX registers or memory is
    used as source.
    The documentation for the matching SSE2 instruction to convert to double
    (cvtpi2pd) was fixed (see the valgrind bug
    https://bugs.kde.org/show_bug.cgi?id=210264).
    
    It will take time to get a clarification and fixes in place. In the
    meantime it makes sense to change ff_int32_to_float_fmul_scalar_sse to
    be correct according to the documentation. The vast majority of users
    will have SSE2 so a change to the SSE version has little effect.
    
    Fixes fate-checkasm on x86 valgrind targets.
    
    Valgrind 'bug' reported as https://bugs.kde.org/show_bug.cgi?id=357059
    8563f988
Name
Last commit
Last update
..
Makefile Loading commit data...
ac3dsp.asm Loading commit data...
ac3dsp_init.c Loading commit data...
apedsp.asm Loading commit data...
apedsp_init.c Loading commit data...
audiodsp.asm Loading commit data...
audiodsp.h Loading commit data...
audiodsp_init.c Loading commit data...
audiodsp_mmx.c Loading commit data...
blockdsp.c Loading commit data...
bswapdsp.asm Loading commit data...
bswapdsp_init.c Loading commit data...
cabac.h Loading commit data...
cavsdsp.c Loading commit data...
constants.c Loading commit data...
constants.h Loading commit data...
dca.h Loading commit data...
dcadsp.asm Loading commit data...
dcadsp_init.c Loading commit data...
dct-test.c Loading commit data...
dct32.asm Loading commit data...
dct_init.c Loading commit data...
dnxhdenc.asm Loading commit data...
dnxhdenc_init.c Loading commit data...
fdct.c Loading commit data...
fdct.h Loading commit data...
fdctdsp_init.c Loading commit data...
fft.asm Loading commit data...
fft.h Loading commit data...
fft_init.c Loading commit data...
fmtconvert.asm Loading commit data...
fmtconvert_init.c Loading commit data...
fpel.asm Loading commit data...
fpel.h Loading commit data...
fpel_mmx.c Loading commit data...
h263_loopfilter.asm Loading commit data...
h263dsp_init.c Loading commit data...
h264_chromamc.asm Loading commit data...
h264_chromamc_10bit.asm Loading commit data...
h264_deblock.asm Loading commit data...
h264_deblock_10bit.asm Loading commit data...
h264_i386.h Loading commit data...
h264_idct.asm Loading commit data...
h264_idct_10bit.asm Loading commit data...
h264_intrapred.asm Loading commit data...
h264_intrapred_10bit.asm Loading commit data...
h264_intrapred_init.c Loading commit data...
h264_qpel.c Loading commit data...
h264_qpel_10bit.asm Loading commit data...
h264_qpel_8bit.asm Loading commit data...
h264_weight.asm Loading commit data...
h264_weight_10bit.asm Loading commit data...
h264chroma_init.c Loading commit data...
h264dsp_init.c Loading commit data...
hevc_deblock.asm Loading commit data...
hevc_mc.asm Loading commit data...
hevcdsp_init.c Loading commit data...
hpeldsp.asm Loading commit data...
hpeldsp.h Loading commit data...
hpeldsp_init.c Loading commit data...
hpeldsp_mmx.c Loading commit data...
hpeldsp_rnd_template.c Loading commit data...
huffyuvdsp.asm Loading commit data...
huffyuvdsp_init.c Loading commit data...
huffyuvencdsp_mmx.c Loading commit data...
idctdsp.h Loading commit data...
idctdsp_init.c Loading commit data...
idctdsp_mmx.c Loading commit data...
imdct36.asm Loading commit data...
inline_asm.h Loading commit data...
lpc.c Loading commit data...
mathops.h Loading commit data...
me_cmp.asm Loading commit data...
me_cmp_init.c Loading commit data...
mlpdsp.c Loading commit data...
mpegaudiodsp.c Loading commit data...
mpegvideo.c Loading commit data...
mpegvideodsp.c Loading commit data...
mpegvideoenc.c Loading commit data...
mpegvideoenc_qns_template.c Loading commit data...
mpegvideoenc_template.c Loading commit data...
mpegvideoencdsp.asm Loading commit data...
mpegvideoencdsp_init.c Loading commit data...
pixblockdsp.asm Loading commit data...
pixblockdsp_init.c Loading commit data...
pngdsp.asm Loading commit data...
pngdsp_init.c Loading commit data...
proresdsp.asm Loading commit data...
proresdsp_init.c Loading commit data...
qpel.asm Loading commit data...
qpeldsp.asm Loading commit data...
qpeldsp_init.c Loading commit data...
rnd_template.c Loading commit data...
rv34dsp.asm Loading commit data...
rv34dsp_init.c Loading commit data...
rv40dsp.asm Loading commit data...
rv40dsp_init.c Loading commit data...
sbrdsp.asm Loading commit data...
sbrdsp_init.c Loading commit data...
simple_idct.c Loading commit data...
simple_idct.h Loading commit data...
svq1enc.c Loading commit data...
v210enc.asm Loading commit data...
v210enc_init.c Loading commit data...
vc1dsp.asm Loading commit data...
vc1dsp.h Loading commit data...
vc1dsp_init.c Loading commit data...
vc1dsp_mmx.c Loading commit data...
videodsp.asm Loading commit data...
videodsp_init.c Loading commit data...
vorbisdsp.asm Loading commit data...
vorbisdsp_init.c Loading commit data...
vp3dsp.asm Loading commit data...
vp3dsp_init.c Loading commit data...
vp56_arith.h Loading commit data...
vp6dsp.asm Loading commit data...
vp6dsp_init.c Loading commit data...
vp8dsp.asm Loading commit data...
vp8dsp_init.c Loading commit data...
vp8dsp_loopfilter.asm Loading commit data...
vp9dsp.asm Loading commit data...
vp9dsp_init.c Loading commit data...
w64xmmtest.c Loading commit data...
xvididct.h Loading commit data...
xvididct_init.c Loading commit data...
xvididct_mmx.c Loading commit data...
xvididct_sse2.c Loading commit data...