Commit ada65af9 authored by Ronald S. Bultje's avatar Ronald S. Bultje
Browse files

Don't access upper 32 bits of a 32-bit int on 64-bit systems.

Originally committed as revision 25140 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 8328ad13
...@@ -284,7 +284,7 @@ HADAMARD8_DIFF_SSE2 ssse3, 9 ...@@ -284,7 +284,7 @@ HADAMARD8_DIFF_SSE2 ssse3, 9
INIT_XMM INIT_XMM
; sse16_sse2(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h) ; sse16_sse2(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h)
cglobal sse16_sse2, 5, 5, 8 cglobal sse16_sse2, 5, 5, 8
shr r4, 1 shr r4d, 1
pxor m0, m0 ; mm0 = 0 pxor m0, m0 ; mm0 = 0
pxor m7, m7 ; mm7 holds the sum pxor m7, m7 ; mm7 holds the sum
......
Markdown is supported
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