This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] sim: bfin: always do 16bit sign extension with the SEARCH insn
- From: Mike Frysinger <vapier at gentoo dot org>
- To: gdb-patches at sourceware dot org
- Cc: Robin Getz <robin dot getz at analog dot com>
- Date: Wed, 23 Mar 2011 23:13:48 -0400
- Subject: Re: [PATCH] sim: bfin: always do 16bit sign extension with the SEARCH insn
- References: <1300846420-16352-1-git-send-email-vapier@gentoo.org>
On Tue, Mar 22, 2011 at 10:13 PM, Mike Frysinger wrote:
> 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.
committed
-mike