sim: bfin: set ASTAT AV/AVS when shifting accumulators overflow
authorMike Frysinger <vapier@gentoo.org>
Sat, 18 Jun 2011 22:03:10 +0000 (22:03 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 18 Jun 2011 22:03:10 +0000 (22:03 +0000)
commit1f20b1457b31ca6925063318467fec344a236de3
treecc049b5c3954aa305de6f9939121518624693913
parentb4876e0485f5d16a5d9e213c0b15466323170cf0
sim: bfin: set ASTAT AV/AVS when shifting accumulators overflow

The LSHIFT/ASHIFT insns that work with accumulators lacked AV/AVS
handling in the ASTAT register, so add it to match the hardware.

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