Merge "vpx: fix nasm build errors"

This commit is contained in:
James Zern 2017-10-03 21:47:49 +00:00 committed by Gerrit Code Review
commit 66b6b87471
3 changed files with 4 additions and 4 deletions

View File

@ -26,13 +26,13 @@ sym(vpx_plane_add_noise_sse2):
mov rdx, 0x01010101
mov rax, arg(2)
mul rdx
movd xmm3, rax
movq xmm3, rax
pshufd xmm3, xmm3, 0 ; xmm3 is 16 copies of char in blackclamp
mov rdx, 0x01010101
mov rax, arg(3)
mul rdx
movd xmm4, rax
movq xmm4, rax
pshufd xmm4, xmm4, 0 ; xmm4 is 16 copies of char in whiteclamp
movdqu xmm5, xmm3 ; both clamp = black clamp + white clamp

View File

@ -72,7 +72,7 @@ SECTION .text
paddd m6, m4
mov r1, ssem ; r1 = unsigned int *sse
movd [r1], m7 ; store sse
movd rax, m6 ; store sum as return value
movd eax, m6 ; store sum as return value
%endif
RET
%endmacro

View File

@ -61,7 +61,7 @@ cglobal d45_predictor_4x4, 3, 4, 4, dst, stride, above, goffset
psrlq m3, 8
movd [dstq+strideq ], m3
psrlq m0, 56
movd tempq, m0
movd tempd, m0
mov [dstq+strideq+3], tempb
RESTORE_GOT