sid thumb file generation error

Frank Ch. Eigler fche@redhat.com
Wed Jul 9 19:40:00 GMT 2003


Hi -

>  > A related problem was pointed out by a thumb sid user on the net a while
>  > ago: the sid decoders were confused by the different base-insn-size for
>  > arm vs thumb.
> 
> For my own education, do you recall what change caused this?
> IIRC, the sid arm/thumb simulator was working pretty well in this regard
> at one point.

I have no direct recollection.  Either a sid or a cgen change could
have resulted in the base_insn_size interpretation mismatch for the
thumb instructions, but there appears to be no relevant sid ChangeLog
entry.

Anyway, the proposed patch I posted seems to solve the problem in a
reasonably elegant way: it lets cgen understand that different ISAs
have different base-insn-size units.

- FChE



More information about the Cgen mailing list