From patchwork Fri Mar 8 09:54:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bastian Koppelmann X-Patchwork-Id: 10844457 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5CD1B139A for ; Fri, 8 Mar 2019 10:06:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 47CB42DC14 for ; Fri, 8 Mar 2019 10:06:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3BDA12E047; Fri, 8 Mar 2019 10:06:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8FA0D2E07D for ; Fri, 8 Mar 2019 10:06:32 +0000 (UTC) Received: from localhost ([127.0.0.1]:40280 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2COd-00029b-Nm for patchwork-qemu-devel@patchwork.kernel.org; Fri, 08 Mar 2019 05:06:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2CDS-0000wl-CT for qemu-devel@nongnu.org; Fri, 08 Mar 2019 04:54:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h2CDR-0006VE-4k for qemu-devel@nongnu.org; Fri, 08 Mar 2019 04:54:58 -0500 Received: from mail.uni-paderborn.de ([131.234.142.9]:49532) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h2CDQ-0006U3-7T for qemu-devel@nongnu.org; Fri, 08 Mar 2019 04:54:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.uni-paderborn.de; s=20170601; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=jITVBf7zAST7QXSgf2jENpbtJDBAOtDwfLIHcUZWBk0=; b=jswOKqGpXUBo812So0DtZPpRO/ kJXXzdCHLGVt0hnf/s+aBKr6cGi72QJnmAp1Fi+IDamPfYltWj5QZGCrctSYYC03Bfwt+dlFbS61J jzQh2a07iW8UHGoOh9+TZCe4D1zxjKG9GErtiMVRWsoSZv1IK7IaZNXPn90YYBE5qJ4A=; From: Bastian Koppelmann To: qemu-devel@nongnu.org Date: Fri, 8 Mar 2019 10:54:32 +0100 Message-Id: <20190308095433.12116-2-kbastian@mail.uni-paderborn.de> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190308095433.12116-1-kbastian@mail.uni-paderborn.de> References: <20190308095433.12116-1-kbastian@mail.uni-paderborn.de> MIME-Version: 1.0 X-IMT-Spam-Score: 0.0 () X-PMX-Version: 6.4.6.2792898, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2019.3.8.94816, AntiVirus-Engine: 5.58.0, AntiVirus-Data: 2019.2.22.5580002 X-IMT-Authenticated-Sender: uid=kbastian,ou=People,o=upb,c=de X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 131.234.142.9 Subject: [Qemu-devel] [PULL 1/2] tricore: fixed RCR_CADD instruction X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: david.brenken@efs-auto.de, robert.rasche@efs-auto.de, georg.hofstetter@efs-auto.de, christian.richter@efs-auto.de, lars.biermanski@efs-auto.de Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: David Brenken Signed-off-by: Christian Richter Signed-off-by: David Brenken Signed-off-by: Georg Hofstetter Signed-off-by: Robert Rasche Signed-off-by: Lars Biermanski Message-Id: <20190207073928.4048-2-david.brenken@efs-auto.org> Signed-off-by: Bastian Koppelmann --- target/tricore/translate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/tricore/translate.c b/target/tricore/translate.c index 14f0ddfa1e..5846f95316 100644 --- a/target/tricore/translate.c +++ b/target/tricore/translate.c @@ -5867,8 +5867,8 @@ static void decode_rcr_cond_select(CPUTriCoreState *env, DisasContext *ctx) switch (op2) { case OPC2_32_RCR_CADD: - gen_condi_add(TCG_COND_NE, cpu_gpr_d[r1], const9, cpu_gpr_d[r3], - cpu_gpr_d[r4]); + gen_condi_add(TCG_COND_NE, cpu_gpr_d[r1], const9, cpu_gpr_d[r4], + cpu_gpr_d[r3]); break; case OPC2_32_RCR_CADDN: gen_condi_add(TCG_COND_EQ, cpu_gpr_d[r1], const9, cpu_gpr_d[r3], From patchwork Fri Mar 8 09:54:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bastian Koppelmann X-Patchwork-Id: 10844459 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A73D4139A for ; Fri, 8 Mar 2019 10:08:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 91B882DC14 for ; Fri, 8 Mar 2019 10:08:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 85E332E07D; Fri, 8 Mar 2019 10:08:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 351492DC14 for ; Fri, 8 Mar 2019 10:08:30 +0000 (UTC) Received: from localhost ([127.0.0.1]:40296 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2CQX-0002xP-H9 for patchwork-qemu-devel@patchwork.kernel.org; Fri, 08 Mar 2019 05:08:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2CDS-0000x7-Ly for qemu-devel@nongnu.org; Fri, 08 Mar 2019 04:54:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h2CDR-0006Vv-U4 for qemu-devel@nongnu.org; Fri, 08 Mar 2019 04:54:58 -0500 Received: from mail.uni-paderborn.de ([131.234.142.9]:49544) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h2CDR-0006V5-Lg for qemu-devel@nongnu.org; Fri, 08 Mar 2019 04:54:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.uni-paderborn.de; s=20170601; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=KOX5whi9oKNov8lDICHJlbtvIKCCxhsaOIZJPnTnW8o=; b=n1t7z55KcUI5DDKdSayak1bXqL 6Ye7i0YnucVm6NY5DpcK23sAr1nLjbsgm/NxowftlSvN6ViWrts8FAPT0rOIuFVXHsMRhZh08dPvN YWAKOed2pr0GaLug22wM6GGJ4/lZJxP+iFRjAWtz3ngGS1A3edzTAmFpg8OUPFBDwcSw=; From: Bastian Koppelmann To: qemu-devel@nongnu.org Date: Fri, 8 Mar 2019 10:54:33 +0100 Message-Id: <20190308095433.12116-3-kbastian@mail.uni-paderborn.de> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190308095433.12116-1-kbastian@mail.uni-paderborn.de> References: <20190308095433.12116-1-kbastian@mail.uni-paderborn.de> MIME-Version: 1.0 X-IMT-Spam-Score: 0.0 () X-PMX-Version: 6.4.6.2792898, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2019.3.8.94816, AntiVirus-Engine: 5.58.0, AntiVirus-Data: 2019.2.22.5580002 X-IMT-Authenticated-Sender: uid=kbastian,ou=People,o=upb,c=de X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 131.234.142.9 Subject: [Qemu-devel] [PULL 2/2] tricore: fixed RCR_CADDN instruction X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: david.brenken@efs-auto.de, robert.rasche@efs-auto.de, georg.hofstetter@efs-auto.de, christian.richter@efs-auto.de, lars.biermanski@efs-auto.de Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: David Brenken Signed-off-by: Christian Richter Signed-off-by: David Brenken Signed-off-by: Georg Hofstetter Signed-off-by: Robert Rasche Signed-off-by: Lars Biermanski Message-Id: <20190207073928.4048-3-david.brenken@efs-auto.org> Signed-off-by: Bastian Koppelmann --- target/tricore/translate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/tricore/translate.c b/target/tricore/translate.c index 5846f95316..b12c391be5 100644 --- a/target/tricore/translate.c +++ b/target/tricore/translate.c @@ -5871,8 +5871,8 @@ static void decode_rcr_cond_select(CPUTriCoreState *env, DisasContext *ctx) cpu_gpr_d[r3]); break; case OPC2_32_RCR_CADDN: - gen_condi_add(TCG_COND_EQ, cpu_gpr_d[r1], const9, cpu_gpr_d[r3], - cpu_gpr_d[r4]); + gen_condi_add(TCG_COND_EQ, cpu_gpr_d[r1], const9, cpu_gpr_d[r4], + cpu_gpr_d[r3]); break; case OPC2_32_RCR_SEL: temp = tcg_const_i32(0);