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: bad shifts generated in sim code


>>>>> "Doug" == Doug Evans <dje@transmeta.com> writes:

  Doug> I found these in sim/m32r/decodex.c
  Doug>           unsigned int val = (((insn >> -8) & (3 << 0)));
  Doug>           unsigned int val = (((insn >> -12) & (1 << 0)));

  Doug> Someone want to fess up?

I'm not sure there is any fessing to do.  Has this file been
regenerated lately?  There was a bug in decoder generation that
generated negative shifts which I thought we'd fixed.

Ben


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