Commit d50ba368 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Ingo Molnar

x86/lib: Fix spelling, put space between a numeral and its units

As suggested by Peter Anvin.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: H . Peter Anvin <hpa@linux.intel.com>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent bb916ff7
...@@ -61,7 +61,7 @@ ENTRY(csum_partial) ...@@ -61,7 +61,7 @@ ENTRY(csum_partial)
testl $3, %esi # Check alignment. testl $3, %esi # Check alignment.
jz 2f # Jump if alignment is ok. jz 2f # Jump if alignment is ok.
testl $1, %esi # Check alignment. testl $1, %esi # Check alignment.
jz 10f # Jump if alignment is boundary of 2bytes. jz 10f # Jump if alignment is boundary of 2 bytes.
# buf is odd # buf is odd
dec %ecx dec %ecx
......
...@@ -26,7 +26,7 @@ void *memmove(void *dest, const void *src, size_t n) ...@@ -26,7 +26,7 @@ void *memmove(void *dest, const void *src, size_t n)
char *ret = dest; char *ret = dest;
__asm__ __volatile__( __asm__ __volatile__(
/* Handle more 16bytes in loop */ /* Handle more 16 bytes in loop */
"cmp $0x10, %0\n\t" "cmp $0x10, %0\n\t"
"jb 1f\n\t" "jb 1f\n\t"
......
...@@ -98,7 +98,7 @@ ENTRY(memcpy) ...@@ -98,7 +98,7 @@ ENTRY(memcpy)
subq $0x20, %rdx subq $0x20, %rdx
/* /*
* At most 3 ALU operations in one cycle, * At most 3 ALU operations in one cycle,
* so append NOPS in the same 16bytes trunk. * so append NOPS in the same 16 bytes trunk.
*/ */
.p2align 4 .p2align 4
.Lcopy_backward_loop: .Lcopy_backward_loop:
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
ENTRY(memmove) ENTRY(memmove)
CFI_STARTPROC CFI_STARTPROC
/* Handle more 32bytes in loop */ /* Handle more 32 bytes in loop */
mov %rdi, %rax mov %rdi, %rax
cmp $0x20, %rdx cmp $0x20, %rdx
jb 1f jb 1f
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment