]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/msp430/ChangeLog
MSP430: sim: Fix incorrect simulation of unsigned widening multiply
[thirdparty/binutils-gdb.git] / sim / msp430 / ChangeLog
index 0f27982068c8a15c620d08757225914f98db3ec2..41da2a734bd05cad8deb08bd8c12bf2fc5a60f08 100644 (file)
@@ -1,3 +1,10 @@
+2020-08-05  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
+       * msp430-sim.c (put_op): For unsigned multiplication, explicitly cast
+       operands to the unsigned type before multiplying.
+       * msp430-sim.h (struct msp430_cpu_state): Fix types used to store hwmult
+       operands.
+
 2020-01-22  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
 
        * msp430-sim.c (msp430_step_once): Ignore the carry flag when executing