src/sim/bfin ChangeLog bfin-sim.c

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:
	sim/bfin       : ChangeLog bfin-sim.c 

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/sim/bfin/ChangeLog.diff?cvsroot=src&r1=1.49&r2=1.50
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/bfin/bfin-sim.c.diff?cvsroot=src&r1=1.19&r2=1.20



More information about the Gdb-cvs mailing list