]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/bfin/ChangeLog
sim: bfin: fix corner case Logical shift issues
authorMike Frysinger <vapier@gentoo.org>
Mon, 19 Mar 2012 05:06:23 +0000 (05:06 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 19 Mar 2012 05:06:23 +0000 (05:06 +0000)
commite62bb22a4b6fa21c1138ab1d3e999d84b27b5e2b
tree865ef2909a802b726b04fa1099b488da2e8ad0cb
parent509deab2dcc19550953aa1c886b0f0cac7f9b8bd
sim: bfin: fix corner case Logical shift issues

From: Robin Getz <robin.getz@analog.com>

Overflow with shift operations happens independently of saturation, but
we have the logic merged.  Extend the lshift function so that callers
can tell it when to handle each independently, and then do so when it's
needed.

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