From: Thomas Bluemel Date: Tue, 29 Nov 2005 11:09:42 +0000 (+0000) Subject: fix comment in RtlPrefetchMemoryNonTemporal X-Git-Tag: backups/ros-branch-0_2_9@19949~185 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=73f5202b01495018281e5ad21881d4b47f70d684;ds=sidebyside fix comment in RtlPrefetchMemoryNonTemporal svn path=/trunk/; revision=19747 --- diff --git a/reactos/lib/rtl/i386/mem_asm.S b/reactos/lib/rtl/i386/mem_asm.S index 5ad5a3928d7..d1552c50342 100644 --- a/reactos/lib/rtl/i386/mem_asm.S +++ b/reactos/lib/rtl/i386/mem_asm.S @@ -158,6 +158,6 @@ _RtlCompareMemory@12: prefetchnta byte ptr [ecx] // prefechnta(address) sub edx, eax // count = count - cache_line_size add ecx, eax // address = address + cache_line_size - cmp edx, 0 // if(count) <= 0 + cmp edx, 0 // if(count) > 0 ja fetch_next_line // goto fetch_next_line ret