This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sid thumb file generation error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]