Subject: Re: CVS commit: syssrc/sys/lib/libkern/arch/i386
To: None <fvdl@netbsd.org>
From: Charles M. Hannum <root@ihack.net>
List: source-changes
Date: 09/24/2001 14:19:01
On 21 Sep 2001 17:14:31 +0300, Frank van der Linden wrote:
>
> Module Name: syssrc
> Committed By: fvdl
> Date: Fri Sep 21 14:14:30 UTC 2001
>
> Modified Files:
> syssrc/sys/lib/libkern/arch/i386: memcmp.S
>
> Log Message:
> Make new gas happy. Use movzbl instead of xorl + movb.
This sort of thing may seem obvious, but remember that movzbl incurs an
extra penalty on the 386 and 486. It's usually preferrable to zero the
target register outside the loop and use movb.