Fix issue in add_residual intrinsic function
authorYunqing Wang <yunqingwang@google.com>
Thu, 7 Mar 2013 17:15:32 +0000 (09:15 -0800)
committerYunqing Wang <yunqingwang@google.com>
Thu, 7 Mar 2013 17:22:27 +0000 (09:22 -0800)
commit3162371544da4bfd956951ca43422d3d8c2ca195
tree0d53a6f885921efef72fa41c459a1e3f8124e4fe
parenteb6ef2417f9a386ba8d91e934d6e8691b8312a98
Fix issue in add_residual intrinsic function

Yaowu found this function had a compiling issue with MSVC because
of using _mm_storel_pi((__m64 *)(dest + 0 * stride), (__m128)p0).
To be safe, changed back to use integer store instruction.

Also, for some build, diff could not always be 16-byte aligned.
Changed that in the code.

Change-Id: I9995e5446af15dad18f3c5c0bad1ae68abef6c0d
vp9/decoder/x86/vp9_dequantize_x86.c