src/include/opcode ChangeLog bfin.h
vapier@sourceware.org
vapier@sourceware.org
Sat Jun 18 19:42:00 GMT 2011
CVSROOT: /cvs/src
Module name: src
Changes by: vapier@sourceware.org 2011-06-18 19:42:55
Modified files:
include/opcode : ChangeLog bfin.h
Log message:
sim: bfin: fix sign extension in dsp insns with MM flag
After testing the hardware with all the different dsp flags, the MM flag
triggers sign extension in all modes. So drop the limited use of it, and
the local custom helper that was also extending unsigned values. We also
can see that the flag checks in the mult/mac insns have the same behavior
with sign extending, so add a helper func to keep the logic the same in
both places.
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/include/opcode/ChangeLog.diff?cvsroot=src&r1=1.440&r2=1.441
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/opcode/bfin.h.diff?cvsroot=src&r1=1.8&r2=1.9
More information about the Binutils-cvs
mailing list