Fix m68k error printing
Nathan Sidwell
nathan@codesourcery.com
Wed Nov 15 16:38:00 GMT 2006
I discovered the code that prints out the list of cpus that support a particular
instruction was broken. For instance
fsmull %fp0,%fp2
will print
tst.s:1: Error: invalid instruction for this architecture; needs 68040 [68ec030,
68ec040], 68060 [68ec040, 68ec060], 547x [5475, 5474, 5473, 5472, 5471, 5470,
5480, 5481, 5482, 5483, 5484, 5485], 548x [5485, 5484, 5483, 5482, 5481, 5480]
-- statement `fsmull %fp0,%fp2' ignored
which, if you look carefully, repeats various processors several times. With
this patch, the output is now,
tst.s:1: Error: invalid instruction for this architecture; needs 68040
[68ec040], 68060 [68ec060], 547x [5470, 5471, 5472, 5473, 5474, 5475], 548x
[5480, 5481, 5482, 5483, 5484, 5485] -- statement `fsmull %fp0,%fp2' ignored
which is better.
ok?
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: all.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20061115/b4766124/attachment.ksh>
More information about the Binutils
mailing list