From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3fbw-0002TN-Lt for qemu-devel@nongnu.org; Wed, 04 Apr 2018 06:25:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f3fbs-0001kZ-O7 for qemu-devel@nongnu.org; Wed, 04 Apr 2018 06:25:48 -0400 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:40734) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f3fbs-0001j3-Hv for qemu-devel@nongnu.org; Wed, 04 Apr 2018 06:25:44 -0400 Received: by mail-wm0-x242.google.com with SMTP id x4so40970031wmh.5 for ; Wed, 04 Apr 2018 03:25:44 -0700 (PDT) References: <1519324303-5674-1-git-send-email-aleksandar.markovic@rt-rk.com> <1519324303-5674-7-git-send-email-aleksandar.markovic@rt-rk.com> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: <1519324303-5674-7-git-send-email-aleksandar.markovic@rt-rk.com> Date: Wed, 04 Apr 2018 11:25:42 +0100 Message-ID: <87po3fclp5.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 6/6] target/mips: introduce MTTCG-enabled builds List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aleksandar Markovic Cc: qemu-devel@nongnu.org, Aurelien Jarno , Fam Zheng , Gerd Hoffmann , Laurent Vivier , Paolo Bonzini , Peter Maydell , Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= , Richard Henderson , Riku Voipio , Yongbok Kim , Aleksandar Markovic , Goran Ferenc , Miodrag Dinic , Petar Jovanovic , Raghu Gandham Aleksandar Markovic writes: > From: Aleksandar Markovic > > Introduce MTTCG-enabled QEMU builds for mips32, mipsn32, and mips64. > > Signed-off-by: Miodrag Dinic > Signed-off-by: Aleksandar Markovic 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 ed45a3c..9b338dd 100755 > --- a/configure > +++ b/configure > @@ -6735,16 +6735,19 @@ case "$target_name" in > bflt=3D"yes" > ;; > mips|mipsel) > + mttcg=3D"yes" > TARGET_ARCH=3Dmips > echo "TARGET_ABI_MIPSO32=3Dy" >> $config_target_mak > ;; > mipsn32|mipsn32el) > + mttcg=3D"yes" > TARGET_ARCH=3Dmips64 > TARGET_BASE_ARCH=3Dmips > echo "TARGET_ABI_MIPSN32=3Dy" >> $config_target_mak > echo "TARGET_ABI32=3Dy" >> $config_target_mak > ;; > mips64|mips64el) > + mttcg=3D"yes" > TARGET_ARCH=3Dmips64 > TARGET_BASE_ARCH=3Dmips > echo "TARGET_ABI_MIPSN64=3Dy" >> $config_target_mak > diff --git a/target/mips/cpu.h b/target/mips/cpu.h > index 3fa85b0..8f41952 100644 > --- a/target/mips/cpu.h > +++ b/target/mips/cpu.h > @@ -11,6 +11,8 @@ > #include "exec/cpu-defs.h" > #include "fpu/softfloat.h" > > +#define TCG_GUEST_DEFAULT_MO (0) > + > struct CPUMIPSState; > > typedef struct CPUMIPSTLBContext CPUMIPSTLBContext; -- Alex Benn=C3=A9e