]> Git Repo - binutils.git/commit
sim: bfin: fix corner case Logical shift issues
authorMike Frysinger <[email protected]>
Mon, 19 Mar 2012 05:06:23 +0000 (05:06 +0000)
committerMike Frysinger <[email protected]>
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 <[email protected]>

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 <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
sim/bfin/ChangeLog
sim/bfin/bfin-sim.c
This page took 0.025741 seconds and 4 git commands to generate.