aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/ChangeLog
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-03-27 04:03:05 +0000
committerMike Frysinger <vapier@gentoo.org>2011-03-27 04:03:05 +0000
commit36aef94270988051fc9186dfaf4d1e4493e02086 (patch)
tree84f8515b76b0401576cd21294278d266af6c4ad5 /sim/bfin/ChangeLog
parentf65d3d6b99f2399eb80708faea6f5e361244e8de (diff)
downloadgdb-36aef94270988051fc9186dfaf4d1e4493e02086.zip
gdb-36aef94270988051fc9186dfaf4d1e4493e02086.tar.gz
gdb-36aef94270988051fc9186dfaf4d1e4493e02086.tar.bz2
sim: bfin: handle saturation with RND12 sub insns
The current handling of the subtraction insn with the RND12 modifier works when saturation isn't involved. So add handling for this edge case to match the hardware. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/bfin/ChangeLog')
-rw-r--r--sim/bfin/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog
index 008edf0..a28da1a 100644
--- a/sim/bfin/ChangeLog
+++ b/sim/bfin/ChangeLog
@@ -1,5 +1,10 @@
2011-03-26 Robin Getz <robin.getz@analog.com>
+ * bfin-sim.c (decode_dsp32alu_0): Set result to 0x7FFFFFFF when
+ the result was 0x80000000 for RND12 subtraction.
+
+2011-03-26 Robin Getz <robin.getz@analog.com>
+
* bfin-sim.c (decode_dsp32alu_0): Set VS when V is set.
2011-03-24 Mike Frysinger <vapier@gentoo.org>