vpx: fix nasm build errors
BUG=webm:1462,766721 Change-Id: Icfa536a8e38623636b96c396e3c94889bfde7a98
This commit is contained in:

committed by
James Zern

parent
4cae64c32c
commit
bc4bc9b622
@@ -26,13 +26,13 @@ sym(vpx_plane_add_noise_sse2):
|
|||||||
mov rdx, 0x01010101
|
mov rdx, 0x01010101
|
||||||
mov rax, arg(2)
|
mov rax, arg(2)
|
||||||
mul rdx
|
mul rdx
|
||||||
movd xmm3, rax
|
movq xmm3, rax
|
||||||
pshufd xmm3, xmm3, 0 ; xmm3 is 16 copies of char in blackclamp
|
pshufd xmm3, xmm3, 0 ; xmm3 is 16 copies of char in blackclamp
|
||||||
|
|
||||||
mov rdx, 0x01010101
|
mov rdx, 0x01010101
|
||||||
mov rax, arg(3)
|
mov rax, arg(3)
|
||||||
mul rdx
|
mul rdx
|
||||||
movd xmm4, rax
|
movq xmm4, rax
|
||||||
pshufd xmm4, xmm4, 0 ; xmm4 is 16 copies of char in whiteclamp
|
pshufd xmm4, xmm4, 0 ; xmm4 is 16 copies of char in whiteclamp
|
||||||
|
|
||||||
movdqu xmm5, xmm3 ; both clamp = black clamp + white clamp
|
movdqu xmm5, xmm3 ; both clamp = black clamp + white clamp
|
||||||
|
@@ -72,7 +72,7 @@ SECTION .text
|
|||||||
paddd m6, m4
|
paddd m6, m4
|
||||||
mov r1, ssem ; r1 = unsigned int *sse
|
mov r1, ssem ; r1 = unsigned int *sse
|
||||||
movd [r1], m7 ; store sse
|
movd [r1], m7 ; store sse
|
||||||
movd rax, m6 ; store sum as return value
|
movd eax, m6 ; store sum as return value
|
||||||
%endif
|
%endif
|
||||||
RET
|
RET
|
||||||
%endmacro
|
%endmacro
|
||||||
|
@@ -61,7 +61,7 @@ cglobal d45_predictor_4x4, 3, 4, 4, dst, stride, above, goffset
|
|||||||
psrlq m3, 8
|
psrlq m3, 8
|
||||||
movd [dstq+strideq ], m3
|
movd [dstq+strideq ], m3
|
||||||
psrlq m0, 56
|
psrlq m0, 56
|
||||||
movd tempq, m0
|
movd tempd, m0
|
||||||
mov [dstq+strideq+3], tempb
|
mov [dstq+strideq+3], tempb
|
||||||
|
|
||||||
RESTORE_GOT
|
RESTORE_GOT
|
||||||
|
Reference in New Issue
Block a user