From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XIOHu-0003qn-9b for qemu-devel@nongnu.org; Fri, 15 Aug 2014 16:39:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XIOHo-0006jL-Aa for qemu-devel@nongnu.org; Fri, 15 Aug 2014 16:39:50 -0400 Sender: Richard Henderson Message-ID: <53EE7007.3020503@twiddle.net> Date: Fri, 15 Aug 2014 10:39:35 -1000 From: Richard Henderson MIME-Version: 1.0 References: <1407851110-8075-1-git-send-email-tommusta@gmail.com> <1407851110-8075-8-git-send-email-tommusta@gmail.com> In-Reply-To: <1407851110-8075-8-git-send-email-tommusta@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [V2 PATCH 7/8] target-ppc: Bug Fix: srawi List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Tom Musta , qemu-devel@nongnu.org, qemu-ppc@nongnu.org Cc: agraf@suse.de, david@gibson.dropbear.id.au On 08/12/2014 03:45 AM, Tom Musta wrote: > For 64 bit implementations, the special case of a shift by zero > should result in the sign extension of the least significant 32 bits > of the source GPR (not a direct copy of the 64 bit source GPR). > > Example: > > R3 A6212433228F41DC > srawi 3,3,0 > R3 expected : 00000000228F41DC > R3 actual : A6212433228F41DC (without this patch) Reviewed-by: Richard Henderson r~