]> granicus.if.org Git - libvpx/commitdiff
Fix --as=nasm compatibility for new asm code.
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 27 Feb 2013 17:51:59 +0000 (09:51 -0800)
committerJohn Koleszar <jkoleszar@google.com>
Wed, 27 Feb 2013 17:55:38 +0000 (09:55 -0800)
s/movd/movq/

Change-Id: Id1a56de91551f8dc796f14f1056c565dfc1ba626

vp8/common/x86/iwalsh_mmx.asm
vp8/encoder/x86/temporal_filter_apply_sse2.asm
vp9/common/x86/vp9_subpixel_8t_ssse3.asm
vp9/encoder/x86/vp9_temporal_filter_apply_sse2.asm

index 4aac09484de7251d4e59609a9d416d9c878d29c5..158c3b745838ca406bf31d29c0e004ed7000aaa2 100644 (file)
@@ -24,7 +24,7 @@ sym(vp8_short_inv_walsh4x4_mmx):
 
     movq        mm0, [rdx + 0]    ;ip[0]
     movq        mm1, [rdx + 8]    ;ip[4]
-    movd        mm7, rax
+    movq        mm7, rax
 
     movq        mm2, [rdx + 16]   ;ip[8]
     movq        mm3, [rdx + 24]   ;ip[12]
index ce9d9836bdaf5023b69494df9354cf3327dfac3e..bd92b398a0b1c34205d52131ee53ea67ccdd2790 100644 (file)
@@ -50,7 +50,7 @@ sym(vp8_temporal_filter_apply_sse2):
         ; 0x8000 >> (16 - strength)
         mov         rdx,            16
         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)]
         psrlw       xmm5,           xmm4
         movdqa      [rsp + rounding_bit], xmm5
index c6d65e904379586afdb5a923af3cfc1110d578a0..b644da64c76dbfc9cf5b50597b1a5e5dddbedb4c 100644 (file)
@@ -55,7 +55,7 @@ sym(vp9_filter_block1d8_v8_ssse3):
     mov         rcx, 0x0400040
 
     movdqa      xmm4, [rdx]                 ;load filters
-    movd        xmm5, rcx
+    movq        xmm5, rcx
     packsswb    xmm4, xmm4
     pshuflw     xmm0, xmm4, 0b              ;k0_k1
     pshuflw     xmm1, xmm4, 01010101b       ;k2_k3
@@ -173,7 +173,7 @@ sym(vp9_filter_block1d16_v8_ssse3):
     mov         rcx, 0x0400040
 
     movdqa      xmm4, [rdx]                 ;load filters
-    movd        xmm5, rcx
+    movq        xmm5, rcx
     packsswb    xmm4, xmm4
     pshuflw     xmm0, xmm4, 0b              ;k0_k1
     pshuflw     xmm1, xmm4, 01010101b       ;k2_k3
@@ -323,7 +323,7 @@ sym(vp9_filter_block1d8_h8_ssse3):
     mov         rcx, 0x0400040
 
     movdqa      xmm4, [rdx]                 ;load filters
-    movd        xmm5, rcx
+    movq        xmm5, rcx
     packsswb    xmm4, xmm4
     pshuflw     xmm0, xmm4, 0b              ;k0_k1
     pshuflw     xmm1, xmm4, 01010101b       ;k2_k3
@@ -430,7 +430,7 @@ sym(vp9_filter_block1d16_h8_ssse3):
     mov         rcx, 0x0400040
 
     movdqa      xmm4, [rdx]                 ;load filters
-    movd        xmm5, rcx
+    movq        xmm5, rcx
     packsswb    xmm4, xmm4
     pshuflw     xmm0, xmm4, 0b              ;k0_k1
     pshuflw     xmm1, xmm4, 01010101b       ;k2_k3
index a559d5d5ae1b71c5ac7a60747fb751553ef757b7..d2d13b3839425b5d297e1af3823963965b049ea0 100644 (file)
@@ -50,7 +50,7 @@ sym(vp9_temporal_filter_apply_sse2):
         ; 0x8000 >> (16 - strength)
         mov         rdx,            16
         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)]
         psrlw       xmm5,           xmm4
         movdqa      [rsp + rounding_bit], xmm5