aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/ChangeLog
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-06-18 20:59:54 +0000
committerMike Frysinger <vapier@gentoo.org>2011-06-18 20:59:54 +0000
commit90e13d65c1d6cc1d474a216eee760780a6c6f1ea (patch)
treee0d11805527b407571c56e4a2ed904f463ddf7f1 /sim/bfin/ChangeLog
parent99dcc4dc6501c726df79173fa254faebc68a486d (diff)
downloadgdb-90e13d65c1d6cc1d474a216eee760780a6c6f1ea.zip
gdb-90e13d65c1d6cc1d474a216eee760780a6c6f1ea.tar.gz
gdb-90e13d65c1d6cc1d474a216eee760780a6c6f1ea.tar.bz2
sim: bfin: handle large shift values with accumulator shift insns
When the shift magnitude exceeds 32 bits, the values rotate around (since the hardware is actually a barrel shifter). So handle this edge case, update the corresponding AV bit in ASTAT which was missing previously, and tweak the AZ setting based on how the hardware behaves. 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/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog
index c702981..31efa11 100644
--- a/sim/bfin/ChangeLog
+++ b/sim/bfin/ChangeLog
@@ -1,5 +1,11 @@
2011-06-18 Robin Getz <robin.getz@analog.com>
+ * bfin-sim.c (decode_dsp32shiftimm_0): When shift is greater than
+ 32, perform a left shift. Update the corresponding AV bit. Set
+ AZ when the low 32bits are also zero.
+
+2011-06-18 Robin Getz <robin.getz@analog.com>
+
* bfin-sim.c (decode_dsp32shiftimm_0): With left shift vector insns,
call lshift only when count is positive. Otherwise, call ashiftrt.
With arithmetic right shift insns, call ashiftrt when the value is