sim: bfin: fix accumulator edge case saturation
authorMike Frysinger <vapier@gentoo.org>
Sat, 18 Jun 2011 17:27:01 +0000 (17:27 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 18 Jun 2011 17:27:01 +0000 (17:27 +0000)
commit73aae8efb21ca7ff1c792fe4d2c394eecc346958
tree355ab6e40228049339c35bbf5abdd5f57c9da067
parent886ea33b698889a48276ee7d5faf4c3ba26c9c0b
sim: bfin: fix accumulator edge case saturation

When the accumulator saturates, it needs to be greater than, but not
equal to, the largest unsigned value as this is what the hardware does.

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
This page took 0.025235 seconds and 4 git commands to generate.