src/sim/bfin ChangeLog bfin-sim.c

vapier@sourceware.org vapier@sourceware.org
Thu Mar 24 03:13:00 GMT 2011


CVSROOT:	/cvs/src
Module name:	src
Changes by:	vapier@sourceware.org	2011-03-24 03:13:32

Modified files:
	sim/bfin       : ChangeLog bfin-sim.c 

Log message:
	sim: bfin: always do 16bit sign extension with the SEARCH insn
	
	The Blackfin PRM does not cover this case, but the hardware is clear: even
	if the search criteria is not met (and thus a new 16bit value is loaded up
	into the accumulator), the accumulator undergoes 16bit sign extension.  So
	simply reload the low signed 16bits in that case.
	
	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.14&r2=1.15
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/bfin/bfin-sim.c.diff?cvsroot=src&r1=1.9&r2=1.10



More information about the Gdb-cvs mailing list