Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2001 12:53:39 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/lib/libc/i386 SYS.h src/lib/libc/i386/gen rf
Message-ID:  <XFMail.011127125339.jhb@FreeBSD.org>
In-Reply-To: <200111272051.fARKpQD98956@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 27-Nov-01 John Baldwin wrote:
> jhb         2001/11/27 12:51:26 PST
> 
>   Modified files:
>     lib/libc/i386        SYS.h 
>     lib/libc/i386/gen    rfork_thread.S 
>     lib/libc/i386/sys    Ovfork.S brk.S exect.S ptrace.S sbrk.S 
>   Log:
>   Use 'mov' instead of 'lea' for setting the syscall number in %eax as that
>   is clearer about what we are actually doing.
>   
>   Requested by:   bde

This could also save 1 byte per syscall stub as well, but that
micro-optimization is just a side effect.  The real intent was to make the code
clearer.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.011127125339.jhb>