Commit 66b6b874 authored by James Zern's avatar James Zern Committed by Gerrit Code Review
Browse files

Merge "vpx: fix nasm build errors"

parents c8678fb7 bc4bc9b6
......@@ -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
......
......@@ -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
......
......@@ -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
......
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