From patchwork Wed Aug 21 12:23:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bastian Koppelmann X-Patchwork-Id: 11106535 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BD115174A for ; Wed, 21 Aug 2019 12:25:55 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9D8D9206BA for ; Wed, 21 Aug 2019 12:25:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9D8D9206BA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mail.uni-paderborn.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:47954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i0PgY-0003lu-Mt for patchwork-qemu-devel@patchwork.kernel.org; Wed, 21 Aug 2019 08:25:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35850) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i0Pe7-0000Sz-U8 for qemu-devel@nongnu.org; Wed, 21 Aug 2019 08:23:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i0Pe6-0008Hc-Uo for qemu-devel@nongnu.org; Wed, 21 Aug 2019 08:23:23 -0400 Received: from zuban.uni-paderborn.de ([131.234.189.17]:48702 helo=mail.uni-paderborn.de) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i0Pe6-0008H9-Ow for qemu-devel@nongnu.org; Wed, 21 Aug 2019 08:23:22 -0400 Received: from magmaria.uni-paderborn.de ([131.234.189.24] helo=localhost.localdomain) by mail.uni-paderborn.de with esmtp (Exim 4.89 zuban) id 1i0Pe5-0001Dg-Ks; Wed, 21 Aug 2019 14:23:21 +0200 Received: from mail.uni-paderborn.de by magmaria with queue id 3651646-3; Wed, 21 Aug 2019 12:23:19 GMT X-Envelope-From: From: Bastian Koppelmann To: qemu-devel@nongnu.org Date: Wed, 21 Aug 2019 14:23:10 +0200 Message-Id: <20190821122315.18015-1-kbastian@mail.uni-paderborn.de> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-PMX-Version: 6.4.7.2805085, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2019.8.21.120617, AntiVirus-Engine: 5.63.0, AntiVirus-Data: 2019.8.13.5630000 X-IMT-Spam-Score: 0.0 () X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 131.234.189.17 Subject: [Qemu-devel] [PATCH v2 0/5] tricore: Convert to translate_loop (resend) X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kbastian@mail.uni-paderborn.de, david.brenken@efs-auto.de, richard.henderson@linaro.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" (sorry about the noise, git-sendmail just quit with "Temporary local problem - please try later" after sending two of the mails) Hi, I finally came around to port TriCore to the "new" translate_loop infrastructure. This is necessary such that TriCore can be used in the upcoming plugin API [1]. Cheers, Bastian [1] (https://lists.gnu.org/archive/html/qemu-devel/2019-06/msg03165.html) v1 -> v2: [03/05] Now also save hflags in tricore_tr_init_disas_context() [04/05] New patch that raises EXCP_DEBUG for breakpoints, TriCore debug insns [05/05] New patch that properly fetches 16 bit insns and does the page boundary check. Bastian Koppelmann (5): target/tricore: Use DisasContextBase API target-tricore: Make env a member of DisasContext target/tricore: Use translate_loop target/tricore: Implement a qemu excptions helper target/tricore: Fix tricore_tr_translate_insn target/tricore/helper.h | 1 + target/tricore/op_helper.c | 7 + target/tricore/translate.c | 581 ++++++++++++++++++++----------------- 3 files changed, 326 insertions(+), 263 deletions(-) --- 2.23.0