diff options
Diffstat (limited to 'chromium/third_party/libvpx/source/libvpx/vp8/common/x86/postproc_mmx.asm')
-rw-r--r-- | chromium/third_party/libvpx/source/libvpx/vp8/common/x86/postproc_mmx.asm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chromium/third_party/libvpx/source/libvpx/vp8/common/x86/postproc_mmx.asm b/chromium/third_party/libvpx/source/libvpx/vp8/common/x86/postproc_mmx.asm index 5cf110b5326..8be3431f9b0 100644 --- a/chromium/third_party/libvpx/source/libvpx/vp8/common/x86/postproc_mmx.asm +++ b/chromium/third_party/libvpx/source/libvpx/vp8/common/x86/postproc_mmx.asm @@ -204,13 +204,16 @@ sym(vp8_mbpost_proc_down_mmx): and rcx, 15 movd DWORD PTR [rsp+rcx*4], mm1 ;d[rcx*4] + cmp edx, 8 + jl .skip_assignment + mov rcx, rdx sub rcx, 8 - and rcx, 15 movd mm1, DWORD PTR [rsp+rcx*4] ;d[rcx*4] - movd [rsi], mm1 + +.skip_assignment lea rsi, [rsi+rax] lea rdi, [rdi+rax] |