[rz@linux-m68k.org: Re: m68k, extendqidi2 problem]
Andreas Schwab
schwab@suse.de
Thu Mar 18 10:47:00 GMT 2004
Jim Wilson <wilson@specifixinc.com> writes:
> Perhaps the 68020 case was left alone to avoid the risk of breaking it.
> Or maybe it was left alone because smi/ext is a lot easier to understand
> than movl/smi.
"move%.b %1,%R0;extb%.l %R0;move%.l %R0,%0;smi %0" should be at least as
fast as "move%.b %1,%R0;extb%.l %R0;smi %0;extb%.l %0" whereever it is
applicable, but the former is faster at least on 68020 and 68030.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Gcc
mailing list