From patchwork Wed Jun 12 11:05:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier Hainque X-Patchwork-Id: 250731 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 1A25F2C0098 for ; Wed, 12 Jun 2013 21:05:16 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; q=dns; s= default; b=GOei01MQdXLGEh+DGvPgtAqaCqWdOQHvKF2rchQklcZCxDsfh3XfU npzTxZblM+HYYzp2CVyyb9UzGQWuB55WhKP4k71sgcD7Zq360CXfQG8rZEYaDfMF E1qO30fu47518XNyHPdVEfibhNNsnpfjFFUSPGTxYiShsfr1lcn498= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=default; bh=LGQ++nP9j2E/3lU9oFM352zRJNM=; b=KhYy3IGS5dssdOOimR9o9o4tYzcw ZjPqDlHBtWg3/25Zx/AQch9pfEbnLrO5kuqVrZnRhvuRf2nOdPwHVKXZuuhHeBGP oML71dW75xAXjnrysX2uYmjq4Z3PXPpHGR1gISeLh71+XKYRnm5JHRZfI59xBPat yh+GrteKe8Q0Trw= Received: (qmail 30410 invoked by alias); 12 Jun 2013 11:05:04 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 30390 invoked by uid 89); 12 Jun 2013 11:05:04 -0000 X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL, BAYES_00, KHOP_THREADED autolearn=ham version=3.3.1 X-Spam-User: qpsmtpd, 2 recipients Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 12 Jun 2013 11:05:03 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 6DD8C264C61C; Wed, 12 Jun 2013 13:03:01 +0200 (CEST) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pkYaUzhxE1Tu; Wed, 12 Jun 2013 13:03:01 +0200 (CEST) Received: from idefix.act-europe.fr (idefix.act-europe.fr [10.10.1.101]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id 4595E264C614; Wed, 12 Jun 2013 13:03:01 +0200 (CEST) Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: SPE detection broken on Linux (bits/predefs.h: No such file or directory) From: Olivier Hainque In-Reply-To: Date: Wed, 12 Jun 2013 13:05:00 +0200 Cc: Olivier Hainque , Roland Stigge , GCC Patches , doko@gcc.gnu.org, Eric Botcazou Message-Id: <75B90F36-BAB6-4577-8A0A-101B288BCFEA@adacore.com> References: <51B6E1A8.2040607@antcom.de> To: David Edelsohn On Jun 11, 2013, at 16:50 , David Edelsohn wrote: >> I solved this in gcc/config/rs6000/t-linux by replacing the line >> >> MULTIARCH_DIRNAME = powerpc-linux-gnuspe$(if $(findstring >> rs6000/e500-double.h, $(tm_file_list)),,v1) >> >> with >> >> MULTIARCH_DIRNAME = powerpc-linux-gnuspe$(if $(findstring >> 8548,$(with_cpu)),,v1) > > Olivier was the person who removed e500-double.h and added 8548 > support. I would like to hear his and Eric's comment since they seem > to be doing the most work on e500 at the moment. The suggested update is in line with this part of the change we did at the time: so looks correct to me. Thanks! For the records, a summary of the history that led to the change, plus a first version of the patches is available at http://gcc.gnu.org/ml/gcc-patches/2012-05/msg00464.html An adjusted version of the whole set of patches, eventually checked-in was provided at http://gcc.gnu.org/ml/gcc-patches/2012-05/msg01021.html With Kind Regards, Olivier Index: gcc/config.gcc =================================================================== --- gcc/config.gcc (revision 187145) +++ gcc/config.gcc (working copy) @@ -2828,6 +2828,13 @@ mips*-*-vxworks) with_arch=mips2 ;; + powerpc*-*-*spe*) + if test x$enable_e500_double = xyes; then + with_cpu=8548 + else + with_cpu=8540 + fi + ;; sparc-leon*-*) with_cpu=v8; ;; @@ -3509,11 +3516,6 @@ c_target_objs="${c_target_objs} rs6000-c.o" cxx_target_objs="${cxx_target_objs} rs6000-c.o" tmake_file="rs6000/t-rs6000 ${tmake_file}" - - if test x$enable_e500_double = xyes - then - tm_file="$tm_file rs6000/e500-double.h" - fi ;; sh[123456ble]*-*-* | sh-*-*)