Fix carry/overflow problems
authorMichael Meissner <gnu@the-meissners.org>
Wed, 19 Nov 1997 18:30:47 +0000 (18:30 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Wed, 19 Nov 1997 18:30:47 +0000 (18:30 +0000)
sim/common/ChangeLog

index f5440d414b9524ad8e8e74250db4586e8cbf86f2..e4cf1570b1a8661e1f2afdbdf03ff437792ba530 100644 (file)
@@ -1,3 +1,11 @@
+Wed Nov 19 13:25:48 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * sim-alu.h (ALU{32,64}_*): Rewrite 32 and 64 bit ALU support to
+       correctly set the carry and overflow bits for those types.
+       (ALU{8,16,32,64}_{ADD,SUB}_CA): Take VAL argument to add along
+       with carry, so carry is correct after doing both adds.
+       (ALU*): Space out '\' to make it easier to read.
+
 Tue Nov 18 15:53:45 1997  Doug Evans  <devans@canuck.cygnus.com>
 
        * sim-core.c (sim_core_signal): Use sim_stopped instead of