sim: bfin: handle negative left saturated shifts as ashifts [BZ #18407]
authorMike Frysinger <vapier@gentoo.org>
Sun, 11 Oct 2015 07:32:11 +0000 (03:32 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 11 Oct 2015 07:42:09 +0000 (03:42 -0400)
commit3f946aa82518e878aea2cba4b6a9bcc651412c5c
treefa0d5180ab294f40a2cd5ceef6458b1b783b12ea
parent5fde150fede436dd250706d3fb1786c590e04b26
sim: bfin: handle negative left saturated shifts as ashifts [BZ #18407]

When handling left saturated ashifts with negative immediates, they
should be treated as right ashifts.  This matches hardware behavior.

Reported-by: Igor Rayak <igorr@gitatechnologies.com>
sim/bfin/ChangeLog
sim/bfin/bfin-sim.c
sim/testsuite/sim/bfin/ChangeLog
sim/testsuite/sim/bfin/ashift_left.s [new file with mode: 0644]
This page took 0.025376 seconds and 4 git commands to generate.