diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-06-18 19:44:14 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-06-18 19:44:14 +0000 |
commit | f2a56d0ad70bc43ea8c56272ea1d5261b2028cb5 (patch) | |
tree | 7c1e1e97bb4ca5a2399bb7c47ef0d9ef057426eb /sim/bfin/ChangeLog | |
parent | ef26d60eba5736240c27c545e275667bb4b0fbd1 (diff) | |
download | fsf-binutils-gdb-f2a56d0ad70bc43ea8c56272ea1d5261b2028cb5.zip fsf-binutils-gdb-f2a56d0ad70bc43ea8c56272ea1d5261b2028cb5.tar.gz fsf-binutils-gdb-f2a56d0ad70bc43ea8c56272ea1d5261b2028cb5.tar.bz2 |
sim: bfin: handle the MM flag in M_IU/M_TFU modes with dsp insns
Our handling of the M_IU/M_TFU modes are missing signed saturation when
the MM flag is set, so add it to match the hardware behavior.
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/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index 52b75ee..4c3692f 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 (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. + +2011-06-18 Robin Getz <robin.getz@analog.com> + * bfin-sim.c (decode_multfunc): Call new is_macmod_signed, and allow MM to sign extend all the time. (decode_macfunc): Likewise. Drop sign extension of unsigned |