From 78594e1f210cb58d756e034727a29bffcc4d287d Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 10 Oct 2008 20:07:08 +0000 Subject: [PATCH] Save one byte of code. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27959 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/lib/arch/x86/arch_string.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/kernel/lib/arch/x86/arch_string.S b/src/system/kernel/lib/arch/x86/arch_string.S index 1723e2239c..cc24688949 100644 --- a/src/system/kernel/lib/arch/x86/arch_string.S +++ b/src/system/kernel/lib/arch/x86/arch_string.S @@ -86,7 +86,7 @@ FUNCTION(memset_generic): 1: // lwordwise // prepare %eax -- the low byte must be copied to the other bytes mov %al, %ah - mov %ax, %dx + mov %eax, %edx shl $16, %eax mov %dx, %ax