m68k/m68k.md typo?
Andreas Schwab
schwab@suse.de
Sun Jul 21 13:59:00 GMT 2002
Richard Zidlicky <rz@linux-m68k.org> writes:
|> Hi,
|>
|> this looks like a small typo, found in 3.1 branch and probably
|> elsewhere.
No, divsl.l the correct syntax for a 32/32->32q:32r division. If you
leave out the first `l' you'll get a 64/32->32q:32r division.
|> Btw we probably shouldn't generate that insn for 68060 target
No, the 68060 only leaves out the 64 bit divide and multiply insns. The
32 bit versions are implemented in hardware. There is an error in the
MC68060UM, figure C-5 talks about 32/32->32q:32r division, but in fact
it's the 64/32->32q:32r division.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
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