From patchwork Mon Dec 15 12:14:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Huber X-Patchwork-Id: 421129 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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id CC3211400B7 for ; Mon, 15 Dec 2014 23:15:13 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id; q=dns; s=default; b=fLJmMKUDV6Oj R9U1rCMlcScquZZnVhZOnHnalq9JCZMf2MussRtznVzNYYN4jpslGsSoEysck8LY BQQvxFj4FiLeExIVVTyqfsjszExWbsco/u1vTVULUAJn2PrsJeCq++gev9QMzHEP i0GCox+kTNSdPcq4uA34eZYTj7f4cfE= 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:from :to:cc:subject:date:message-id; s=default; bh=wOTu16ACII+ICA6vgK cHb85mek0=; b=L473Ak8qMgehIfKPILsTUdCe+l+hy42JHOW1B7OoBCy+A729Vw Iq79yDjuOvwl5eLqgE5/DdXUunsuyGBFlh0GKi8fKxXs9vthjTWYtk23yp+zMZ1Y 65exd4o7aybNXIXDg3pI1i7wTQsGc9q7AvBQU0wX07koBkWv3IOnHKHEg= Received: (qmail 32538 invoked by alias); 15 Dec 2014 12:15:06 -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 32523 invoked by uid 89); 15 Dec 2014 12:15:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: mail-out.m-online.net Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.9) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Mon, 15 Dec 2014 12:15:04 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3k1M455dVcz3hjQM; Mon, 15 Dec 2014 13:15:01 +0100 (CET) Received: from mail.embedded-brains.de (host-82-135-62-35.customer.m-online.net [82.135.62.35]) by mail.mnet-online.de (Postfix) with ESMTP id 3k1M435XzCzvh4G; Mon, 15 Dec 2014 13:14:59 +0100 (CET) Received: by mail.embedded-brains.de (Postfix, from userid 65534) id BAAB7652CFD; Mon, 15 Dec 2014 13:14:58 +0100 (CET) Received: from self.eb.z (unknown [192.168.100.11]) by mail.embedded-brains.de (Postfix) with ESMTP id 2545765253A; Mon, 15 Dec 2014 13:14:58 +0100 (CET) From: Sebastian Huber To: gcc-patches@gcc.gnu.org Cc: devel@rtems.org, Sebastian Huber Subject: [PATCH v2] RTEMS: Add e6500 multilibs for PowerPC Date: Mon, 15 Dec 2014 13:14:57 +0100 Message-Id: <1418645697-14102-1-git-send-email-sebastian.huber@embedded-brains.de> X-IsSubscribed: yes Use 32-bit instructions only since currenlty there is no demand for a larger address space. Provide one multilib with FPU and AltiVec support and one without. This patch should be applied to GCC 4.9 and mainline. I do not have write access, so in case this gets approved, please commit it for me. v2: Move MULTILIB_OPTIONS += m32 to right position in the file. gcc/ChangeLog 2014-12-15 Sebastian Huber * config/rs6000/t-rtems: Add e6500 multilibs. --- gcc/config/rs6000/t-rtems | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/config/rs6000/t-rtems b/gcc/config/rs6000/t-rtems index e935947..eadda0d 100644 --- a/gcc/config/rs6000/t-rtems +++ b/gcc/config/rs6000/t-rtems @@ -24,14 +24,17 @@ MULTILIB_MATCHES = MULTILIB_EXCEPTIONS = MULTILIB_REQUIRED = -MULTILIB_OPTIONS += mcpu=403/mcpu=505/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400/mcpu=8540 -MULTILIB_DIRNAMES += m403 m505 m603e m604 m860 m7400 m8540 +MULTILIB_OPTIONS += mcpu=403/mcpu=505/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400/mcpu=8540/mcpu=e6500 +MULTILIB_DIRNAMES += m403 m505 m603e m604 m860 m7400 m8540 me6500 + +MULTILIB_OPTIONS += m32 +MULTILIB_DIRNAMES += m32 MULTILIB_OPTIONS += msoft-float/mfloat-gprs=double MULTILIB_DIRNAMES += nof gprsdouble -MULTILIB_OPTIONS += mno-spe -MULTILIB_DIRNAMES += nospe +MULTILIB_OPTIONS += mno-spe/mno-altivec +MULTILIB_DIRNAMES += nospe noaltivec MULTILIB_MATCHES += ${MULTILIB_MATCHES_ENDIAN} MULTILIB_MATCHES += ${MULTILIB_MATCHES_SYSV} @@ -72,3 +75,5 @@ MULTILIB_REQUIRED += mcpu=8540 MULTILIB_REQUIRED += mcpu=8540/msoft-float/mno-spe MULTILIB_REQUIRED += mcpu=8540/mfloat-gprs=double MULTILIB_REQUIRED += mcpu=860 +MULTILIB_REQUIRED += mcpu=e6500/m32 +MULTILIB_REQUIRED += mcpu=e6500/m32/msoft-float/mno-altivec