sim: bfin: skip acc/ASTAT updates for moves
authorMike Frysinger <vapier@gentoo.org>
Tue, 15 Mar 2011 20:10:12 +0000 (20:10 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 15 Mar 2011 20:10:12 +0000 (20:10 +0000)
commite3809a37d45651f2a08be03dda0b48275a6e04d8
tree073bf21bd375759adfce4bf8a7ada4a1d6680ad0
parent86d3d8de687fda121bd8d12a9d0e9f00e7284bf1
sim: bfin: skip acc/ASTAT updates for moves

No point in moving unchanged acc values to the acc regs, and avoid
updating the acc ASTAT bits when only reading.  This fixes incorrect
changing of the ASTAT bits when they're only being read.

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