Commit 73657d88 authored by Loren Merritt's avatar Loren Merritt
Browse files

ssim broke on amd64 w/ pic.


git-svn-id: svn://svn.videolan.org/x264/trunk@557 df754926-b1dd-0310-bc7b-ec298dee348c
parent 1808700e
...@@ -816,8 +816,13 @@ x264_pixel_ssim_end4_sse2: ...@@ -816,8 +816,13 @@ x264_pixel_ssim_end4_sse2:
mulps xmm0, xmm4 mulps xmm0, xmm4
divps xmm1, xmm0 ; ssim divps xmm1, xmm0 ; ssim
neg parm3d neg parm3q
movdqu xmm3, [mask_ff + parm3d*4 + 16 GLOBAL] %ifdef __PIC__
lea rax, [mask_ff + 16 GLOBAL]
movdqu xmm3, [rax + parm3q*4]
%else
movdqu xmm3, [mask_ff + parm3q*4 + 16]
%endif
pand xmm1, xmm3 pand xmm1, xmm3
movhlps xmm0, xmm1 movhlps xmm0, xmm1
addps xmm0, xmm1 addps xmm0, xmm1
......
Supports Markdown
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