bad shifts generated in sim code

Doug Evans dje@transmeta.com
Tue Dec 10 00:40:00 GMT 2002


I found these in sim/m32r/decodex.c

          unsigned int val = (((insn >> -8) & (3 << 0)));

          unsigned int val = (((insn >> -12) & (1 << 0)));

Someone want to fess up?



More information about the Cgen mailing list