]> granicus.if.org Git - libx264/commitdiff
* common/amd64/mc-a.asm: removed useless global variables
authorSam Hocevar <sam@videolan.org>
Sun, 25 Sep 2005 19:52:57 +0000 (19:52 +0000)
committerSam Hocevar <sam@videolan.org>
Sun, 25 Sep 2005 19:52:57 +0000 (19:52 +0000)
git-svn-id: svn://svn.videolan.org/x264/trunk@302 df754926-b1dd-0310-bc7b-ec298dee348c

common/amd64/mc-a.asm

index 6470aa1efdcd6fd097b45eebbe87c00b9c96f003..fd3838ae1e5076ac6b34c8f3f3ed5ae9e8464e22 100644 (file)
@@ -368,12 +368,6 @@ ALIGN 16
 eights    times 4   dw 8
 thirty2s  times 4   dw 32
 
-SECTION .data
-x264_mc_chroma_sse_dx:
-    dw  0
-x264_mc_chroma_sse_dy:
-    dw  0
-
 SECTION .text
 
 ALIGN 16
@@ -388,13 +382,13 @@ x264_mc_chroma_sse:
     push    r12
     push    r13
 
-    mov     [x264_mc_chroma_sse_dx], r8d
-    mov     [x264_mc_chroma_sse_dy], r9d
+    movd    mm0, r8d
+    movd    mm1, r9d
 
     pxor    mm3, mm3
 
-    pshufw  mm5, [x264_mc_chroma_sse_dx], 0    ; mm5 - dx
-    pshufw  mm6, [x264_mc_chroma_sse_dy], 0    ; mm6 - dy
+    pshufw  mm5, mm0, 0    ; mm5 - dx
+    pshufw  mm6, mm1, 0    ; mm6 - dy
 
     movq    mm4, [eights]
     movq    mm0, mm4