Received: from eggs.gnu.org ([2001:4830:134:3::10]:60515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7u2A-0000BM-JA for qemu-devel@nongnu.org; Wed, 24 Jun 2015 19:24:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7u27-0007bh-5c for qemu-devel@nongnu.org; Wed, 24 Jun 2015 19:24:46 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:1380) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7u26-0007bE-Ve for qemu-devel@nongnu.org; Wed, 24 Jun 2015 19:24:43 -0400 From: Yongbok Kim Date: Thu, 25 Jun 2015 00:24:13 +0100 Message-ID: <1435188267-54510-2-git-send-email-yongbok.kim@imgtec.com> In-Reply-To: <1435188267-54510-1-git-send-email-yongbok.kim@imgtec.com> References: <1435188267-54510-1-git-send-email-yongbok.kim@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v4 01/15] target-mips: fix {RD, WR}PGPR in microMIPS List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: leon.alrae@imgtec.com, aurelien@aurel32.net rt, rs were swapped Signed-off-by: Yongbok Kim Reviewed-by: Aurelien Jarno Reviewed-by: Leon Alrae --- target-mips/translate.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target-mips/translate.c b/target-mips/translate.c index 1d128ee..97b74ba 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -12991,12 +12991,12 @@ static void gen_pool32axf (CPUMIPSState *env, DisasContext *ctx, int rt, int rs) case RDPGPR: check_cp0_enabled(ctx); check_insn(ctx, ISA_MIPS32R2); - gen_load_srsgpr(rt, rs); + gen_load_srsgpr(rs, rt); break; case WRPGPR: check_cp0_enabled(ctx); check_insn(ctx, ISA_MIPS32R2); - gen_store_srsgpr(rt, rs); + gen_store_srsgpr(rs, rt); break; default: goto pool32axf_invalid; -- 1.7.5.4