sim: bfin: do not touch ASTAT[V] when shifting accumulators
authorMike Frysinger <vapier@gentoo.org>
Sat, 18 Jun 2011 21:59:38 +0000 (21:59 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 18 Jun 2011 21:59:38 +0000 (21:59 +0000)
commitb4876e0485f5d16a5d9e213c0b15466323170cf0
tree889d24e356cb0cb76684c4ff53108124623310ae
parentd5fcd950e4f812deac7669190b30efd1781a1266
sim: bfin: do not touch ASTAT[V] when shifting accumulators

If we're shifting accumulators, we don't want to touch the V bit in
ASTAT, so add size checks to the ashiftrt/lshiftrt helpers.

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