src/sim/bfin ChangeLog bfin-sim.c
vapier@sourceware.org
vapier@sourceware.org
Sat Jun 18 20:59:00 GMT 2011
CVSROOT: /cvs/src
Module name: src
Changes by: vapier@sourceware.org 2011-06-18 20:59:24
Modified files:
sim/bfin : ChangeLog bfin-sim.c
Log message:
sim: bfin: handle odd shift values with shift insns
The shift magnitude is a 5-bit signed value. When it is between 0 and
15, then we do the requested shift, but when it is outside of that, we
have to do the opposite.
That means we flip between lshift and ashiftrt to match the hardware.
Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/bfin/ChangeLog.diff?cvsroot=src&r1=1.53&r2=1.54
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/bfin/bfin-sim.c.diff?cvsroot=src&r1=1.23&r2=1.24
More information about the Gdb-cvs
mailing list