]> granicus.if.org Git - libx264/commitdiff
missing emms in plane_copy_mmx
authorLoren Merritt <pengvado@videolan.org>
Mon, 9 Oct 2006 17:44:47 +0000 (17:44 +0000)
committerLoren Merritt <pengvado@videolan.org>
Mon, 9 Oct 2006 17:44:47 +0000 (17:44 +0000)
git-svn-id: svn://svn.videolan.org/x264/trunk@585 df754926-b1dd-0310-bc7b-ec298dee348c

common/amd64/mc-a2.asm
common/i386/mc-a2.asm

index f9a511d67fed108f841152fa6334beb060fc9bec..3591d1ea82c4a272650ae48e1b10c1ba3cb8e920 100644 (file)
@@ -321,6 +321,7 @@ x264_plane_copy_mmxext:
     add    rdi, rdx
     add    rsi, rax
     sub    parm6d, 1
-    jge    .loopy
-    rep ret
+    jg     .loopy
+    emms
+    ret
 
index 05551d9a5624ab84743495b2727f1632bd580d3a..240468defa31e37ce85d32a6829b366c1208d44f 100644 (file)
@@ -324,9 +324,10 @@ x264_plane_copy_mmxext:
     add    edi, ebx
     add    esi, eax
     sub    dword [esp+36], 1
-    jge    .loopy
+    jg     .loopy
     pop    ebx
     pop    esi
     pop    edi
+    emms
     ret