sim: bfin: handle the MM flag in M_IU/M_TFU modes with dsp insns
authorMike Frysinger <vapier@gentoo.org>
Sat, 18 Jun 2011 19:44:14 +0000 (19:44 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 18 Jun 2011 19:44:14 +0000 (19:44 +0000)
commitf2a56d0ad70bc43ea8c56272ea1d5261b2028cb5
tree7c1e1e97bb4ca5a2399bb7c47ef0d9ef057426eb
parentef26d60eba5736240c27c545e275667bb4b0fbd1
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>
sim/bfin/ChangeLog
sim/bfin/bfin-sim.c