sim: bfin: handle AN (negative overflows) in dsp mult insns
authorMike Frysinger <vapier@gentoo.org>
Tue, 15 Mar 2011 20:09:39 +0000 (20:09 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 15 Mar 2011 20:09:39 +0000 (20:09 +0000)
commit86d3d8de687fda121bd8d12a9d0e9f00e7284bf1
treef3d7d49f05cc0c98bfab9e63ce1902213d31623a
parent9b7509d90051f21ad1af0f86c079ab3a35ae0c1e
sim: bfin: handle AN (negative overflows) in dsp mult insns

The current dsp mult handler does not take care of overflows which turn
values negative (and thus set AN in ASTAT).  So implement it.

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