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

ssim broke on amd64 w/ pic.

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