sim: bfin: fix M_IH saturation size
authorMike Frysinger <vapier@gentoo.org>
Sat, 18 Jun 2011 20:10:57 +0000 (20:10 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 18 Jun 2011 20:10:57 +0000 (20:10 +0000)
commita0a71a7f8b85f3d25403d140b7fb14b54b3e7f4a
tree82501167712b1235f722213e1e7ab8e728560b7c
parent388aa9fe20b5692d76ca36c61619bdb887d174b0
sim: bfin: fix M_IH saturation size

This reverts the previous commit and does it right.  This change got
lost in the shuffle of patches I have pending.

Basically the logic is to change the 32bit saturation (and then masked
to 16bits) to a proper 16bit saturation.

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