]> granicus.if.org Git - libvpx/commitdiff
use unaligned load
authorJohann <johannkoenig@google.com>
Tue, 11 Jan 2011 16:22:29 +0000 (11:22 -0500)
committerJohann <johannkoenig@google.com>
Tue, 11 Jan 2011 16:22:29 +0000 (11:22 -0500)
source buffer is not guaranteed to be aligned for odd size buffers

Change-Id: Id0b1fd40ba3bd6c994bcfada788feccd2b53c5a9

vp8/encoder/x86/temporal_filter_apply_sse2.asm

index 0127b012ef0623ae09b6680f64e68187c8ce64e7..f2adcccba67c9917987f8f85f932c0f4671510f5 100644 (file)
@@ -84,7 +84,7 @@ temporal_filter_apply_load_8:
         jmp         temporal_filter_apply_load_finished
 
 temporal_filter_apply_load_16:
-        movdqa      xmm0,           [rsi]  ; src (frame1)
+        movdqu      xmm0,           [rsi]  ; src (frame1)
         lea         rsi,            [rsi + rbp] ; += stride
         movdqa      xmm1,           xmm0
         punpcklbw   xmm0,           xmm7   ; src[ 0- 7]