]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Ia32/EfiCopyMem.S
Sync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / EfiCommonLib / Ia32 / EfiCopyMem.S
index ed41ff994d3331b03ac03951ca229ad99e253657..580c3fe94b8433278fa6eabb9c31dfb67355883e 100644 (file)
@@ -75,16 +75,16 @@ ASM_PFX(EfiCommonLibCopyMem):
   movl  %esi, %eax\r
   addl  %ecx, %eax                    # Source + Count\r
   cmpl  %edi, %eax\r
-  jle   _StartByteCopy\r
+  jbe   _StartByteCopy\r
 \r
   movl  %edi, %eax\r
   addl  %ecx, %eax                    # Dest + Count\r
   cmpl  %esi, %eax\r
-  jle   _StartByteCopy\r
+  jbe   _StartByteCopy\r
 \r
   cmpl  %edi, %esi\r
   je    _CopyMemDone\r
-  jl    _CopyOverlapped               # too bad -- overlaps\r
+  jb    _CopyOverlapped               # too bad -- overlaps\r
 \r
   # Pick up misaligned start bytes to get destination pointer 4-byte aligned\r
 _StartByteCopy: \r