From patchwork Sat Oct 20 07:05:41 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: YeongKyoon Lee X-Patchwork-Id: 192903 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id F1BB32C00A5 for ; Sat, 20 Oct 2012 18:06:13 +1100 (EST) Received: from localhost ([::1]:38987 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPT8N-0005nJ-Nu for incoming@patchwork.ozlabs.org; Sat, 20 Oct 2012 03:06:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPT8C-0005n9-5q for qemu-devel@nongnu.org; Sat, 20 Oct 2012 03:06:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TPT8B-0002jr-2J for qemu-devel@nongnu.org; Sat, 20 Oct 2012 03:06:00 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:50125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPT8A-0002eq-Oe for qemu-devel@nongnu.org; Sat, 20 Oct 2012 03:05:58 -0400 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MC600EH1JPOFH10@mailout4.samsung.com> for qemu-devel@nongnu.org; Sat, 20 Oct 2012 16:05:54 +0900 (KST) X-AuditID: cbfee61b-b7fd46d0000046e0-bc-50824d52cf59 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 81.8B.18144.25D42805; Sat, 20 Oct 2012 16:05:54 +0900 (KST) Received: from localhost.localdomain ([182.198.1.3]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MC600C8VJPQ8200@mmp1.samsung.com> for qemu-devel@nongnu.org; Sat, 20 Oct 2012 16:05:54 +0900 (KST) From: Yeongkyoon Lee To: qemu-devel@nongnu.org Date: Sat, 20 Oct 2012 16:05:41 +0900 Message-id: <1350716743-2812-2-git-send-email-yeongkyoon.lee@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1350716743-2812-1-git-send-email-yeongkyoon.lee@samsung.com> References: <1350716743-2812-1-git-send-email-yeongkyoon.lee@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrPJMWRmVeSWpSXmKPExsVy+t9jAd0g36YAg2Uv1CyO9+5gcWD0eHJt M1MAYxSXTUpqTmZZapG+XQJXxvuXJ5kKFrBVHL3C0cA4m7WLkZNDQsBE4umWzcwQtpjEhXvr 2UBsIYFFjBJbNkV2MXIB2fOYJD4dnMsIkmATMJSYef4JE4gtIiAp8bvrNFgzs0CexLGj68Fs YYFKial7D7F3MXJwsAioStw+Ww0S5hXwlHh25g0LSFhCQEFiziQbkDCngJfEum/9jBBrPSV2 ztzBOoGRdwEjwypG0dSC5ILipPRcI73ixNzi0rx0veT83E2MYG8/k97BuKrB4hCjAAejEg+v RF9jgBBrYllxZe4hRgkOZiUR3qWLgEK8KYmVValF+fFFpTmpxYcYpTlYlMR5mz1SAoQE0hNL UrNTUwtSi2CyTBycUg2MvL/9/y4wK3cx61/w3XDT21MXdap2trGcEgpb06+QwpvYv3PpHLUL K7ds2HS9MLtj+aJtB3XuT45QkuDd93SVQuXKPRKcrxI/GCdNadjvdFt4ftqR/0F7i/zjbv3e d9H+gwi7u9SdJQqnlKf/L/lYtfn539OmTNpbt0iu2rayd9vBAB++xZXGD5RYijMSDbWYi4oT AUTXnFjyAQAA X-detected-operating-system: by eggs.gnu.org: Solaris 10 (1203?) X-Received-From: 203.254.224.34 Cc: blauwirbel@gmail.com, Yeongkyoon Lee , aurelien@aurel32.net, rth@twiddle.net Subject: [Qemu-devel] [RESEND PATCH v6 1/3] configure: Add CONFIG_QEMU_LDST_OPTIMIZATION for TCG qemu_ld/st optimization X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Enable CONFIG_QEMU_LDST_OPTIMIZATION for TCG qemu_ld/st optimization only when a host is i386 or x86_64. Signed-off-by: Yeongkyoon Lee --- configure | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) -- 1.7.5.4 diff --git a/configure b/configure index 353d788..8b15111 100755 --- a/configure +++ b/configure @@ -3848,6 +3848,12 @@ upper() { echo "$@"| LC_ALL=C tr '[a-z]' '[A-Z]' } +case "$cpu" in + i386|x86_64) + echo "CONFIG_QEMU_LDST_OPTIMIZATION=y" >> $config_target_mak + ;; +esac + echo "TARGET_SHORT_ALIGNMENT=$target_short_alignment" >> $config_target_mak echo "TARGET_INT_ALIGNMENT=$target_int_alignment" >> $config_target_mak echo "TARGET_LONG_ALIGNMENT=$target_long_alignment" >> $config_target_mak