bad shifts generated in sim code
Frank Ch. Eigler
fche@redhat.com
Fri Dec 13 08:49:00 GMT 2002
Hi -
On Tue, Dec 10, 2002 at 12:40:08AM -0800, Doug Evans wrote:
> I found these in sim/m32r/decodex.c
> unsigned int val = (((insn >> -8) & (3 << 0)));
> unsigned int val = (((insn >> -12) & (1 << 0)));
> [...]
Do these bad shifts still occur with current cgen?
FWIW, working on sim/m32r may be a short-lived pleasure, if the
target-obsoleting eagerness of gdb guys ends up getting that target
removed. You're welcome to work in sid land. :-)
- FChE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/cgen/attachments/20021213/33912e23/attachment.sig>
More information about the Cgen
mailing list