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: [RFA:] Fix lsb? bug with insn fields beyond base insn size.


> From: Doug Evans <dje@transmeta.com>
> Date: Fri, 21 Jun 2002 13:54:10 -0700 (PDT)

> Are you sure you want the +1 here (grep for >>>)?

Yes.  The highest bit-number minus the lowest bit-number is the
number of bits less one.  If the field starts at bit 2 and ends
at bit 2 it's one bit long.  Oh... it's everything else that is
wrong.  Oops.  :-(

> [unless of course you rework the fieldpart high/low calculations]

Yup.  Sorry, please ignore that patch.  New patch forthcoming.

brgds, H-P


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