aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/ChangeLog
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-06-18 20:04:32 +0000
committerMike Frysinger <vapier@gentoo.org>2011-06-18 20:04:32 +0000
commit388aa9fe20b5692d76ca36c61619bdb887d174b0 (patch)
treea032de16503cb20bc8a4bd0fcee086e9eded170e /sim/bfin/ChangeLog
parentf2a56d0ad70bc43ea8c56272ea1d5261b2028cb5 (diff)
downloadbinutils-388aa9fe20b5692d76ca36c61619bdb887d174b0.zip
binutils-388aa9fe20b5692d76ca36c61619bdb887d174b0.tar.gz
binutils-388aa9fe20b5692d76ca36c61619bdb887d174b0.tar.bz2
sim: bfin: handle V/VS saturation in dsp mac insns
Some saturation cases with dsp mac insns were not setting the V flag. So implement that part and split up the logic between the dual macs. 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/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog
index 4c3692f..27d38a7 100644
--- a/sim/bfin/ChangeLog
+++ b/sim/bfin/ChangeLog
@@ -1,5 +1,15 @@
2011-06-18 Robin Getz <robin.getz@analog.com>
+ * bfin-sim.c (decode_macfunc): Add nosat_acc to track acc value
+ before saturation, set sat when more cases saturate, and set the
+ overflow bit based on these results. For M_TFU, M_IU, M_FU, and
+ M_W32, change the max values compared against.
+ (decode_dsp32mac_0): Delete v_i and add v_0 and v_1. Pass v_1
+ when processing MAC1 and pass v_0 when processing MAC0. Combine
+ the results into the V/VS ASTAT bits.
+
+2011-06-18 Robin Getz <robin.getz@analog.com>
+
* bfin-sim.c (extract_mult): Call saturate_s32 when MM is set
and mmod is M_IU. Call saturate_s16 when MM is set and mmod
is M_TFU.