From patchwork Fri Jun 4 19:14:09 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 54668 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 0FAA6B7D1F for ; Sat, 5 Jun 2010 05:16:42 +1000 (EST) Received: from localhost ([127.0.0.1]:59989 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKcNj-0004F6-00 for incoming@patchwork.ozlabs.org; Fri, 04 Jun 2010 15:16:39 -0400 Received: from [140.186.70.92] (port=37410 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKcMC-0004B4-Oj for qemu-devel@nongnu.org; Fri, 04 Jun 2010 15:15:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OKcMB-00027Z-LP for qemu-devel@nongnu.org; Fri, 04 Jun 2010 15:15:04 -0400 Received: from are.twiddle.net ([75.149.56.221]:54741) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKcMB-00026f-1k for qemu-devel@nongnu.org; Fri, 04 Jun 2010 15:15:03 -0400 Received: from anchor.twiddle.home (anchor.twiddle.home [172.31.0.4]) by are.twiddle.net (Postfix) with ESMTPS id 2AEA2F7B; Fri, 4 Jun 2010 12:14:59 -0700 (PDT) Received: from anchor.twiddle.home (anchor.twiddle.home [127.0.0.1]) by anchor.twiddle.home (8.14.4/8.14.4) with ESMTP id o54JEugn007165; Fri, 4 Jun 2010 12:14:56 -0700 Received: (from rth@localhost) by anchor.twiddle.home (8.14.4/8.14.4/Submit) id o54JEsTa007164; Fri, 4 Jun 2010 12:14:54 -0700 From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 4 Jun 2010 12:14:09 -0700 Message-Id: <1275678883-7082-2-git-send-email-rth@twiddle.net> X-Mailer: git-send-email 1.7.0.1 In-Reply-To: <1275678883-7082-1-git-send-email-rth@twiddle.net> References: <1275678883-7082-1-git-send-email-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: agraf@suse.de, aurelien@aurel32.net Subject: [Qemu-devel] [PATCH 01/35] tcg-s390: Adjust compilation flags. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Force -m31/-m64 based on s390/s390x target. Force -march=z990. The TCG backend will always require the long-displacement facility, so the compiler may as well make use of that as well. Signed-off-by: Richard Henderson --- configure | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 653c8d2..65f87a2 100755 --- a/configure +++ b/configure @@ -697,7 +697,12 @@ case "$cpu" in fi ;; s390) - QEMU_CFLAGS="-march=z900 $QEMU_CFLAGS" + QEMU_CFLAGS="-m31 -march=z990 $QEMU_CFLAGS" + LDFLAGS="-m31 $LDFLAGS" + ;; + s390x) + QEMU_CFLAGS="-m64 -march=z990 $QEMU_CFLAGS" + LDFLAGS="-m64 $LDFLAGS" ;; i386) QEMU_CFLAGS="-m32 $QEMU_CFLAGS"