Add save/restore xmm registers in x86 assembly code
authorJohann <johannkoenig@google.com>
Thu, 7 Apr 2011 17:17:22 +0000 (13:17 -0400)
committerJohann <johannkoenig@google.com>
Mon, 18 Apr 2011 20:30:38 +0000 (16:30 -0400)
commitc7cfde42a9ec05b72d15ebaa9a59cefed4cd323a
tree395d38ba42df5e8be5abe33baa028bc937226155
parentd889035fe6802b64567c2ed250c1dff0eb377acf
Add save/restore xmm registers in x86 assembly code

Went through the code and fixed it. Verified on Windows.

Where possible, remove dependencies on xmm[67]

Current code relies on pushing rbp to the stack to get 16 byte
alignment. This broke when rbp wasn't pushed
(vp8/encoder/x86/sad_sse3.asm). Work around this by using unaligned
memory accesses. Revisit this and the offsets in
vp8/encoder/x86/sad_sse3.asm in another change to SAVE_XMM.

Change-Id: I5f940994d3ebfd977c3d68446cef20fd78b07877
vp8/common/x86/idctllm_sse2.asm
vp8/common/x86/subpixel_ssse3.asm
vp8/encoder/x86/dct_sse2.asm
vp8/encoder/x86/encodeopt.asm
vp8/encoder/x86/sad_sse2.asm
vp8/encoder/x86/sad_sse3.asm
vp8/encoder/x86/sad_ssse3.asm
vp8/encoder/x86/variance_impl_sse2.asm
vpx_ports/x86_abi_support.asm