This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src/include/opcode ChangeLog bfin.h
- From: vapier at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 18 Jun 2011 19:42:55 -0000
- Subject: src/include/opcode ChangeLog bfin.h
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