From: James Zern Date: Thu, 10 Dec 2015 07:53:11 +0000 (-0800) Subject: dc_left_pred[48]: fix pic builds X-Git-Tag: v1.6.0~487^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=40ee78bc19d5c16f7f808cfac8ae2e0cd49039cf;p=libvpx dc_left_pred[48]: fix pic builds GET_GOT modifies the stack pointer so the offset for left's address will be wrong if loaded afterword. Change-Id: Iff9433aec45f5f6fe1a59ed8080c589bad429536 --- diff --git a/vpx_dsp/x86/intrapred_sse2.asm b/vpx_dsp/x86/intrapred_sse2.asm index edbf05e33..0acb023d8 100644 --- a/vpx_dsp/x86/intrapred_sse2.asm +++ b/vpx_dsp/x86/intrapred_sse2.asm @@ -47,9 +47,9 @@ cglobal dc_predictor_4x4, 4, 5, 3, dst, stride, above, left, goffset INIT_XMM sse2 cglobal dc_left_predictor_4x4, 2, 5, 2, dst, stride, above, left, goffset + movifnidn leftq, leftmp GET_GOT goffsetq - movifnidn leftq, leftmp pxor m1, m1 movd m0, [leftq] psadbw m0, m1 @@ -143,9 +143,9 @@ cglobal dc_top_predictor_8x8, 3, 5, 2, dst, stride, above, left, goffset INIT_XMM sse2 cglobal dc_left_predictor_8x8, 2, 5, 2, dst, stride, above, left, goffset + movifnidn leftq, leftmp GET_GOT goffsetq - movifnidn leftq, leftmp pxor m1, m1 movq m0, [leftq] DEFINE_ARGS dst, stride, stride3