From owner-cvs-sys Fri Nov 15 00:53:45 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA27822 for cvs-sys-outgoing; Fri, 15 Nov 1996 00:53:45 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA27815; Fri, 15 Nov 1996 00:53:39 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.7.6/8.6.9) id TAA05787; Fri, 15 Nov 1996 19:50:25 +1100 Date: Fri, 15 Nov 1996 19:50:25 +1100 From: Bruce Evans Message-Id: <199611150850.TAA05787@godzilla.zeta.org.au> To: bde@zeta.org.au, jkh@time.cdrom.com Subject: Re: cvs commit: src/sys/i386/i386 locore.s Cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, jkh@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> Erm, the movl looks OK to me, and the lea isn't an i386 instruction so >> it doesn't compile. > >[scratches his head] > >Why did this compile for me? And why did that single fix (suggested Probably because it wasn't enabled in -current. >by Don Lewis, BTW, who knows far more about the x86 instruction set >than I) result in USERCONFIG_BOOT working where it did not before? Because -stable has a different `lea' instruction than -current (without the `$'). Previously -stable had a different (broken) movl instruction than -current (without the `$'). `lea' (without the `$') does work but is not normally used on x86's because it is larger in some cases and slower in some cases but never smaller or faster. Bruce