Received: from eggs.gnu.org ([2001:4830:134:3::10]:55596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8Ohf-0005Vl-Fd for qemu-devel@nongnu.org; Mon, 14 Dec 2015 03:41:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8Ohe-0001u6-N9 for qemu-devel@nongnu.org; Mon, 14 Dec 2015 03:41:55 -0500 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:33976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8Ohe-0001tu-Hf for qemu-devel@nongnu.org; Mon, 14 Dec 2015 03:41:54 -0500 Received: by mail-wm0-x231.google.com with SMTP id p66so50838494wmp.1 for ; Mon, 14 Dec 2015 00:41:54 -0800 (PST) From: Alvise Rigo Date: Mon, 14 Dec 2015 09:41:30 +0100 Message-Id: <1450082498-27109-7-git-send-email-a.rigo@virtualopensystems.com> In-Reply-To: <1450082498-27109-1-git-send-email-a.rigo@virtualopensystems.com> References: <1450082498-27109-1-git-send-email-a.rigo@virtualopensystems.com> Subject: [Qemu-devel] [RFC v6 06/14] configure: Use slow-path for atomic only when the softmmu is enabled List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, mttcg@listserver.greensocs.com Cc: claudio.fontana@huawei.com, pbonzini@redhat.com, jani.kokkonen@huawei.com, tech@virtualopensystems.com, alex.bennee@linaro.org, rth@twiddle.net Use the new slow path for atomic instruction translation when the softmmu is enabled. Suggested-by: Jani Kokkonen Suggested-by: Claudio Fontana Signed-off-by: Alvise Rigo --- configure | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure b/configure index b9552fd..cc3891a 100755 --- a/configure +++ b/configure @@ -4794,6 +4794,7 @@ echo "Install blobs $blobs" echo "KVM support $kvm" echo "RDMA support $rdma" echo "TCG interpreter $tcg_interpreter" +echo "use ld/st excl $softmmu" echo "fdt support $fdt" echo "preadv support $preadv" echo "fdatasync $fdatasync" @@ -5186,6 +5187,9 @@ fi if test "$tcg_interpreter" = "yes" ; then echo "CONFIG_TCG_INTERPRETER=y" >> $config_host_mak fi +if test "$softmmu" = "yes" ; then + echo "CONFIG_TCG_USE_LDST_EXCL=y" >> $config_host_mak +fi if test "$fdatasync" = "yes" ; then echo "CONFIG_FDATASYNC=y" >> $config_host_mak fi -- 2.6.4