From nobody Sat Nov 8 10:16:34 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 15501671965201009.6433837019629; Thu, 14 Feb 2019 09:59:56 -0800 (PST) Received: from localhost ([127.0.0.1]:52544 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guLIh-0004pP-Cw for importer@patchew.org; Thu, 14 Feb 2019 12:59:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guL73-0004bK-R5 for qemu-devel@nongnu.org; Thu, 14 Feb 2019 12:47:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guL72-0004Ii-Pj for qemu-devel@nongnu.org; Thu, 14 Feb 2019 12:47:53 -0500 Received: from mx2.rt-rk.com ([89.216.37.149]:52301 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1guL6z-0004Bq-By for qemu-devel@nongnu.org; Thu, 14 Feb 2019 12:47:51 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id 5CFF91A2271; Thu, 14 Feb 2019 18:47:32 +0100 (CET) Received: from rtrkw774-lin.mipstec.com (unknown [82.117.201.26]) by mail.rt-rk.com (Postfix) with ESMTPSA id 3C54B1A23B3; Thu, 14 Feb 2019 18:47:32 +0100 (CET) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Thu, 14 Feb 2019 18:47:15 +0100 Message-Id: <1550166444-22882-7-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1550166444-22882-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1550166444-22882-1-git-send-email-aleksandar.markovic@rt-rk.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PULL 06/15] target/mips: introduce MTTCG-enabled builds 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: peter.maydell@linaro.org, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" From: Aleksandar Markovic Introduce MTTCG-enabled QEMU builds for mips32, mipsn32, and mips64. Signed-off-by: Miodrag Dinic Signed-off-by: Aleksandar Markovic Acked-by: Alex Benn=C3=A9e Reviewed-by: Alex Benn=C3=A9e --- configure | 3 +++ target/mips/cpu.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/configure b/configure index fbd0825..f0f7518 100755 --- a/configure +++ b/configure @@ -7192,11 +7192,13 @@ case "$target_name" in target_compiler=3D$cross_cc_microblaze ;; mips|mipsel) + mttcg=3D"yes" TARGET_ARCH=3Dmips target_compiler=3D$cross_cc_mips echo "TARGET_ABI_MIPSO32=3Dy" >> $config_target_mak ;; mipsn32|mipsn32el) + mttcg=3D"yes" TARGET_ARCH=3Dmips64 TARGET_BASE_ARCH=3Dmips target_compiler=3D$cross_cc_mipsn32 @@ -7204,6 +7206,7 @@ case "$target_name" in echo "TARGET_ABI32=3Dy" >> $config_target_mak ;; mips64|mips64el) + mttcg=3D"yes" TARGET_ARCH=3Dmips64 TARGET_BASE_ARCH=3Dmips target_compiler=3D$cross_cc_mips64 diff --git a/target/mips/cpu.h b/target/mips/cpu.h index eccee37..a10eeb0 100644 --- a/target/mips/cpu.h +++ b/target/mips/cpu.h @@ -11,6 +11,8 @@ #include "exec/cpu-defs.h" #include "fpu/softfloat.h" =20 +#define TCG_GUEST_DEFAULT_MO (0) + struct CPUMIPSState; =20 typedef struct CPUMIPSTLBContext CPUMIPSTLBContext; --=20 2.7.4