From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkEZ0-00032E-AJ for qemu-devel@nongnu.org; Thu, 08 Oct 2015 13:02:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZkEYK-0007A3-5C for qemu-devel@nongnu.org; Thu, 08 Oct 2015 13:01:06 -0400 Received: from hall.aurel32.net ([2001:bc8:30d7:100::1]:53631) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkEYJ-00079V-TF for qemu-devel@nongnu.org; Thu, 08 Oct 2015 13:00:24 -0400 Date: Thu, 8 Oct 2015 18:15:51 +0200 From: Aurelien Jarno Message-ID: <20151008161551.GA7306@aurel32.net> References: <1443788657-14537-1-git-send-email-james.hogan@imgtec.com> <1443788657-14537-5-git-send-email-james.hogan@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1443788657-14537-5-git-send-email-james.hogan@imgtec.com> Subject: Re: [Qemu-devel] [PATCH v3 4/6] tcg/mips: Support r6 JR encoding List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: James Hogan Cc: Leon Alrae , qemu-devel@nongnu.org, Richard Henderson On 2015-10-02 13:24, James Hogan wrote: > MIPSr6 encodes JR as JALR with zero as the link register, and the pre-r6 > JR encoding is removed. Update TCG to use the new encoding when built > for r6. > > We still use the old encoding for pre-r6, so as not to confuse return > prediction stack hardware which may detect only particular encodings of > the return instruction. > > Signed-off-by: James Hogan > Reviewed-by: Richard Henderson > Cc: Aurelien Jarno > --- > Changes in v2: > - Turn #define into enum (Richard). > --- > tcg/mips/tcg-target.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) Reviewed-by: Aurelien Jarno -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://www.aurel32.net