sim: bfin: handle V/VS saturation in dsp mac insns
authorMike Frysinger <vapier@gentoo.org>
Sat, 18 Jun 2011 20:04:32 +0000 (20:04 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 18 Jun 2011 20:04:32 +0000 (20:04 +0000)
commit388aa9fe20b5692d76ca36c61619bdb887d174b0
treea032de16503cb20bc8a4bd0fcee086e9eded170e
parentf2a56d0ad70bc43ea8c56272ea1d5261b2028cb5
sim: bfin: handle V/VS saturation in dsp mac insns

Some saturation cases with dsp mac insns were not setting the V flag.
So implement that part and split up the logic between the dual macs.

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