Date: Fri, 15 Nov 1996 19:50:25 +1100 From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, jkh@time.cdrom.com Cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, jkh@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/i386 locore.s Message-ID: <199611150850.TAA05787@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611150850.TAA05787>