This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: sid thumb file generation error
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: Doug Evans <dje at sebabeach dot org>
- Cc: cgen at sources dot redhat dot com
- Date: Wed, 9 Jul 2003 15:40:13 -0400
- Subject: Re: sid thumb file generation error
- References: <20030618064201.23BA7B536@mail.sebabeach.org> <20030708163553.0DE46B53A@mail.sebabeach.org>
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