Commit 2214207d authored by Hendrik Leppkes's avatar Hendrik Leppkes

Merge commit '8563f988'

* commit '8563f988':
  x86: use emms after ff_int32_to_float_fmul_scalar_sse
Merged-by: 's avatarHendrik Leppkes <h.leppkes@gmail.com>
parents 0eefc758 8563f988
......@@ -61,7 +61,14 @@ cglobal int32_to_float_fmul_scalar, 4, 4, %1, dst, src, mul, len
mova [dstq+lenq+16], m2
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment