mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avcodec/x86/fmtconvert: Add emms to int32_to_float_fmul_array8_sse()
this should fix checkasm on x86_64-archlinux-gcc-valgrind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
48f5244df7
commit
da6f34516b
@ -107,7 +107,14 @@ cglobal int32_to_float_fmul_array8, 5, 5, 5, c, dst, src, mul, len
|
||||
add mulq, 4
|
||||
add lenq, 32
|
||||
jl .loop
|
||||
REP_RET
|
||||
%if notcpuflag(sse2)
|
||||
;; cvtpi2ps switches to MMX even if the source is a memory location
|
||||
;; possible an error in documentation since every tested CPU disagrees with
|
||||
;; that. Use emms anyway since the vast majority of machines will use the
|
||||
;; SSE2 variant
|
||||
emms
|
||||
%endif
|
||||
RET
|
||||
%endmacro
|
||||
|
||||
INIT_XMM sse
|
||||
|
Loading…
Reference in New Issue
Block a user