Commit 82ed3f9a authored by Jan Kratochvil's avatar Jan Kratochvil Committed by John Koleszar
Browse files

Fix --as=nasm compatibility for new asm code.

s/movd/movq/

Change-Id: Id1a56de91551f8dc796f14f1056c565dfc1ba626
parent e4ef8508
...@@ -24,7 +24,7 @@ sym(vp8_short_inv_walsh4x4_mmx): ...@@ -24,7 +24,7 @@ sym(vp8_short_inv_walsh4x4_mmx):
movq mm0, [rdx + 0] ;ip[0] movq mm0, [rdx + 0] ;ip[0]
movq mm1, [rdx + 8] ;ip[4] movq mm1, [rdx + 8] ;ip[4]
movd mm7, rax movq mm7, rax
movq mm2, [rdx + 16] ;ip[8] movq mm2, [rdx + 16] ;ip[8]
movq mm3, [rdx + 24] ;ip[12] movq mm3, [rdx + 24] ;ip[12]
......
...@@ -50,7 +50,7 @@ sym(vp8_temporal_filter_apply_sse2): ...@@ -50,7 +50,7 @@ sym(vp8_temporal_filter_apply_sse2):
; 0x8000 >> (16 - strength) ; 0x8000 >> (16 - strength)
mov rdx, 16 mov rdx, 16
sub rdx, arg(4) ; 16 - strength sub rdx, arg(4) ; 16 - strength
movd xmm4, rdx ; can't use rdx w/ shift movq xmm4, rdx ; can't use rdx w/ shift
movdqa xmm5, [GLOBAL(_const_top_bit)] movdqa xmm5, [GLOBAL(_const_top_bit)]
psrlw xmm5, xmm4 psrlw xmm5, xmm4
movdqa [rsp + rounding_bit], xmm5 movdqa [rsp + rounding_bit], xmm5
......
...@@ -55,7 +55,7 @@ sym(vp9_filter_block1d8_v8_ssse3): ...@@ -55,7 +55,7 @@ sym(vp9_filter_block1d8_v8_ssse3):
mov rcx, 0x0400040 mov rcx, 0x0400040
movdqa xmm4, [rdx] ;load filters movdqa xmm4, [rdx] ;load filters
movd xmm5, rcx movq xmm5, rcx
packsswb xmm4, xmm4 packsswb xmm4, xmm4
pshuflw xmm0, xmm4, 0b ;k0_k1 pshuflw xmm0, xmm4, 0b ;k0_k1
pshuflw xmm1, xmm4, 01010101b ;k2_k3 pshuflw xmm1, xmm4, 01010101b ;k2_k3
...@@ -173,7 +173,7 @@ sym(vp9_filter_block1d16_v8_ssse3): ...@@ -173,7 +173,7 @@ sym(vp9_filter_block1d16_v8_ssse3):
mov rcx, 0x0400040 mov rcx, 0x0400040
movdqa xmm4, [rdx] ;load filters movdqa xmm4, [rdx] ;load filters
movd xmm5, rcx movq xmm5, rcx
packsswb xmm4, xmm4 packsswb xmm4, xmm4
pshuflw xmm0, xmm4, 0b ;k0_k1 pshuflw xmm0, xmm4, 0b ;k0_k1
pshuflw xmm1, xmm4, 01010101b ;k2_k3 pshuflw xmm1, xmm4, 01010101b ;k2_k3
...@@ -323,7 +323,7 @@ sym(vp9_filter_block1d8_h8_ssse3): ...@@ -323,7 +323,7 @@ sym(vp9_filter_block1d8_h8_ssse3):
mov rcx, 0x0400040 mov rcx, 0x0400040
movdqa xmm4, [rdx] ;load filters movdqa xmm4, [rdx] ;load filters
movd xmm5, rcx movq xmm5, rcx
packsswb xmm4, xmm4 packsswb xmm4, xmm4
pshuflw xmm0, xmm4, 0b ;k0_k1 pshuflw xmm0, xmm4, 0b ;k0_k1
pshuflw xmm1, xmm4, 01010101b ;k2_k3 pshuflw xmm1, xmm4, 01010101b ;k2_k3
...@@ -430,7 +430,7 @@ sym(vp9_filter_block1d16_h8_ssse3): ...@@ -430,7 +430,7 @@ sym(vp9_filter_block1d16_h8_ssse3):
mov rcx, 0x0400040 mov rcx, 0x0400040
movdqa xmm4, [rdx] ;load filters movdqa xmm4, [rdx] ;load filters
movd xmm5, rcx movq xmm5, rcx
packsswb xmm4, xmm4 packsswb xmm4, xmm4
pshuflw xmm0, xmm4, 0b ;k0_k1 pshuflw xmm0, xmm4, 0b ;k0_k1
pshuflw xmm1, xmm4, 01010101b ;k2_k3 pshuflw xmm1, xmm4, 01010101b ;k2_k3
......
...@@ -50,7 +50,7 @@ sym(vp9_temporal_filter_apply_sse2): ...@@ -50,7 +50,7 @@ sym(vp9_temporal_filter_apply_sse2):
; 0x8000 >> (16 - strength) ; 0x8000 >> (16 - strength)
mov rdx, 16 mov rdx, 16
sub rdx, arg(4) ; 16 - strength sub rdx, arg(4) ; 16 - strength
movd xmm4, rdx ; can't use rdx w/ shift movq xmm4, rdx ; can't use rdx w/ shift
movdqa xmm5, [GLOBAL(_const_top_bit)] movdqa xmm5, [GLOBAL(_const_top_bit)]
psrlw xmm5, xmm4 psrlw xmm5, xmm4
movdqa [rsp + rounding_bit], xmm5 movdqa [rsp + rounding_bit], xmm5
......
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