From owner-cvs-all Tue Nov 27 12:53:48 2001 Delivered-To: cvs-all@freebsd.org Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by hub.freebsd.org (Postfix) with ESMTP id 44EAA37B417 for ; Tue, 27 Nov 2001 12:53:43 -0800 (PST) Received: (qmail 771 invoked from network); 27 Nov 2001 20:53:55 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 27 Nov 2001 20:53:55 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200111272051.fARKpQD98956@freefall.freebsd.org> Date: Tue, 27 Nov 2001 12:53:39 -0800 (PST) From: John Baldwin To: John Baldwin Subject: RE: cvs commit: src/lib/libc/i386 SYS.h src/lib/libc/i386/gen rf Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 <>< 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