fix comment in RtlPrefetchMemoryNonTemporal
authorThomas Bluemel <thomas@reactsoft.com>
Tue, 29 Nov 2005 11:09:42 +0000 (11:09 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Tue, 29 Nov 2005 11:09:42 +0000 (11:09 +0000)
svn path=/trunk/; revision=19747

reactos/lib/rtl/i386/mem_asm.S

index 5ad5a39..d1552c5 100644 (file)
@@ -158,6 +158,6 @@ _RtlCompareMemory@12:
        prefetchnta byte ptr [ecx]  // prefechnta(address)\r
        sub edx, eax                // count = count - cache_line_size\r
        add ecx, eax                // address = address + cache_line_size\r
        prefetchnta byte ptr [ecx]  // prefechnta(address)\r
        sub edx, eax                // count = count - cache_line_size\r
        add ecx, eax                // address = address + cache_line_size\r
-       cmp edx, 0                  // if(count) <= 0\r
+       cmp edx, 0                  // if(count) > 0\r
        ja fetch_next_line          //     goto fetch_next_line\r
        ret\r
        ja fetch_next_line          //     goto fetch_next_line\r
        ret\r