Message ID | 1581381644-13678-23-git-send-email-tsimpson@quicinc.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=O/iN=37=nongnu.org=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@kernel.org> 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 EA954921 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 11 Feb 2020 00:48:18 +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 C0B1020733 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 11 Feb 2020 00:48:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="jcOq5E4h" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C0B1020733 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=quicinc.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:41646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1j1Jir-00058B-NR for patchwork-qemu-devel@patchwork.kernel.org; Mon, 10 Feb 2020 19:48:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59812) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <tsimpson@qualcomm.com>) id 1j1Jbu-0000yR-EL for qemu-devel@nongnu.org; Mon, 10 Feb 2020 19:41:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <tsimpson@qualcomm.com>) id 1j1Jbs-00056y-94 for qemu-devel@nongnu.org; Mon, 10 Feb 2020 19:41:06 -0500 Received: from alexa-out-sd-02.qualcomm.com ([199.106.114.39]:59203) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <tsimpson@qualcomm.com>) id 1j1Jbr-0004tJ-SO for qemu-devel@nongnu.org; Mon, 10 Feb 2020 19:41:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1581381663; x=1612917663; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=XvPDQ06QJAnE0LvuEKqjARcpYRacbb4M49NBEs3Qx5s=; b=jcOq5E4hF6kf+R1AdWpy3kwKO/q47Es5+j31gj64Rqy0o49sHewA3fUm 0nfkLKZrnHuJVjJ5q1PkUIYwchgIdNMk6M3SzDF/WHjpzpWseg9n7ne+u 5NVABj0eM1beXjZimdsy8ulVoSYnWvdIKZx+FJva0b9zU0K2yXLtn0n8t s=; Received: from unknown (HELO ironmsg02-sd.qualcomm.com) ([10.53.140.142]) by alexa-out-sd-02.qualcomm.com with ESMTP; 10 Feb 2020 16:41:00 -0800 Received: from vu-tsimpson-aus.qualcomm.com (HELO vu-tsimpson1-aus.qualcomm.com) ([10.222.150.1]) by ironmsg02-sd.qualcomm.com with ESMTP; 10 Feb 2020 16:40:59 -0800 Received: by vu-tsimpson1-aus.qualcomm.com (Postfix, from userid 47164) id 9DA2F1BB0; Mon, 10 Feb 2020 18:40:59 -0600 (CST) From: Taylor Simpson <tsimpson@quicinc.com> To: qemu-devel@nongnu.org Subject: [RFC PATCH 22/66] Hexagon generator phase 2 - qemu_wrap_generated.h Date: Mon, 10 Feb 2020 18:40:00 -0600 Message-Id: <1581381644-13678-23-git-send-email-tsimpson@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1581381644-13678-1-git-send-email-tsimpson@quicinc.com> References: <1581381644-13678-1-git-send-email-tsimpson@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 199.106.114.39 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: riku.voipio@iki.fi, richard.henderson@linaro.org, laurent@vivier.eu, Taylor Simpson <tsimpson@quicinc.com>, philmd@redhat.com, aleksandar.m.mail@gmail.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> |
Series |
Hexagon patch series
|
expand
|
diff --git a/target/hexagon/do_qemu.py b/target/hexagon/do_qemu.py index 992dbc3..43acdd7 100755 --- a/target/hexagon/do_qemu.py +++ b/target/hexagon/do_qemu.py @@ -771,3 +771,17 @@ realf.write(f.getvalue()) realf.close() f.close() +## +## Generate the qemu_wrap_generated.h file +## Gives a default definition of fWRAP_<tag> for each instruction +## +f = StringIO() +for tag in tags: + f.write( "#ifndef fWRAP_%s\n" % tag ) + f.write( "#define fWRAP_%s(GENHLPR, SHORTCODE) GENHLPR\n" % tag ) + f.write( "#endif\n\n" ) +realf = open('qemu_wrap_generated.h', 'wt') +realf.write(f.getvalue()) +realf.close() +f.close() +
Gives a default definition of fWRAP_<tag> for each instruction Signed-off-by: Taylor Simpson <tsimpson@quicinc.com> --- target/hexagon/do_qemu.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+)