Fix invalid left shift of negative value
authorDominik Vogt <vogt@linux.vnet.ibm.com>
Tue, 15 Dec 2015 13:09:14 +0000 (14:09 +0100)
committerAndreas Arnez <arnez@linux.vnet.ibm.com>
Tue, 15 Dec 2015 13:09:14 +0000 (14:09 +0100)
commit1d19cae752a7b032b8253feb4fa3b9f1dc162823
treefcd5b5f015c8f9dc4e541049369e89e52ab6c8ba
parent08832196accd270fa053e8125c21e7a54ab19fe0
Fix invalid left shift of negative value

Fix occurrences of left-shifting negative constants in C code.

sim/arm/ChangeLog:

* thumbemu.c (handle_T2_insn): Fix left shift of negative value.
* armemu.c (handle_v6_insn): Likewise.

sim/avr/ChangeLog:

* interp.c (sign_ext): Fix left shift of negative value.

sim/mips/ChangeLog:

* micromips.igen (process_isa_mode): Fix left shift of negative
value.

sim/msp430/ChangeLog:

* msp430-sim.c (get_op, put_op): Fix left shift of negative value.

sim/v850/ChangeLog:

* simops.c (v850_bins): Fix left shift of negative value.
sim/arm/ChangeLog
sim/arm/armemu.c
sim/arm/thumbemu.c
sim/avr/ChangeLog
sim/avr/interp.c
sim/mips/ChangeLog
sim/mips/micromips.igen
sim/msp430/ChangeLog
sim/msp430/msp430-sim.c
sim/v850/ChangeLog
sim/v850/simops.c