Received: from [140.186.70.92] (port=56107 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMU9n-0000rU-Ge for qemu-devel@nongnu.org; Wed, 09 Jun 2010 18:54:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMU9j-0000uk-PU for qemu-devel@nongnu.org; Wed, 09 Jun 2010 18:53:57 -0400 Received: from hall.aurel32.net ([88.191.82.174]:58576) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMU9j-0000ua-JJ for qemu-devel@nongnu.org; Wed, 09 Jun 2010 18:53:55 -0400 Date: Thu, 10 Jun 2010 00:53:53 +0200 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH 01/35] tcg-s390: Adjust compilation flags. Message-ID: <20100609225353.GE3008@ohm.aurel32.net> References: <1275678883-7082-1-git-send-email-rth@twiddle.net> <1275678883-7082-2-git-send-email-rth@twiddle.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1275678883-7082-2-git-send-email-rth@twiddle.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: qemu-devel@nongnu.org, agraf@suse.de On Fri, Jun 04, 2010 at 12:14:09PM -0700, Richard Henderson wrote: > 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(-) Thanks, applied. > 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" > -- > 1.7.0.1 > > > -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net