gas bug (target==coldfire)
Rolf Fiedler (Rolf.Fiedler@ferrari.de)
Wed, 15 Oct 1997 08:24:21 +0100 (MET)
Hi there,
yesterday I discovered a bug in the gas for m68k (-m5200, coldfire)
from the cygnus cdk (beta18).
the instruction movew #nnnn,%sr
is assembled into $46c0 $nnnn
which is really movew %d0,%sr
$nnnn -> illegal opcode or some other
but it should be $46fc $nnnn
the workaround for this is simple
movew #nnnn,%d0
movew %d0,%sr
Ok, that's what I found out, now the questions
Has anybody found/fixed that bug yet?
If I would fix it, how can that fix be put in the main gas source tree?
Kind regards,
Rolf
+-----------------+----------------------------------------------------------+
| _____ | Rolf Fiedler |
| / ___/ | Electronic Design Engineer |
| / _/ | Ferrari electronic GmbH |
| /_/e/r/r/a/r/i/ | phone: +49 3328 4559 0 E-Mail: Rolf.Fiedler@Ferrari.DE |
| electronic | fax : +49 3328 4559 60 |
+-----------------+----------------------------------------------------------+