From patchwork Thu Aug 16 02:02:50 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Segher Boessenkool X-Patchwork-Id: 177887 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]) by ozlabs.org (Postfix) with SMTP id A89382C008F for ; Thu, 16 Aug 2012 12:26:32 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1345688794; h=Comment: DomainKey-Signature:Received:Received:Received:Received: In-Reply-To:References:Mime-Version:Content-Type:Message-Id:Cc: Content-Transfer-Encoding:From:Subject:Date:To:Mailing-List: Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:Sender:Delivered-To; bh=woTOrFb7Dsuhd6M4XLE9mfy4xQk=; b=Sk2BB11L2BqwNP1J5HPC3sp12qhscMeGFvJwKjNLiWwcLQ/wMQw+A2rWFu4dZX jct0MPYke+lrkq/Z5LmTe0X8pNi14YAwa46eCmaZmPZ2OB6ELRLWe1FqekTEDXpw CoQ44JEWhgsdlNvz5r03GBCg1+txbXarM2mnjW/C4vtt8= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:In-Reply-To:References:Mime-Version:Content-Type:Message-Id:Cc:Content-Transfer-Encoding:From:Subject:Date:To:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=Q2H8lBvhGBEYS5h6OvVWCf0zBv7KRcZ6B6LCkSugfFO1a9cjl0SbVJ1pV+H5Ge ShlGDhMFW26qiZGLybCQpTFoHV4iH7mXdiYRiWi9xvJbEJND/ccTBQN/8vqn1v6J iN1bgwN1ywlYflN1v9a1r5vTTHSWlS1l5IkZeR/YrIe1Y=; Received: (qmail 30043 invoked by alias); 16 Aug 2012 02:26:27 -0000 Received: (qmail 29954 invoked by uid 22791); 16 Aug 2012 02:26:27 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL, BAYES_00, KHOP_THREADED, SARE_SUB_GETRID, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from gate.crashing.org (HELO gate.crashing.org) (63.228.1.57) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 16 Aug 2012 02:26:10 +0000 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.13.8) with ESMTP id q7G2Q6hT023533; Wed, 15 Aug 2012 21:26:07 -0500 In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v753.1) Message-Id: <665753A9-9F1B-4C04-BBC4-7D63B2606E91@kernel.crashing.org> Cc: gcc-patches@gcc.gnu.org, meissner@gcc.gnu.org From: Segher Boessenkool Subject: Re: [PATCH 5/7] rs6000: Get rid of old-mnemonics Date: Thu, 16 Aug 2012 04:02:50 +0200 To: David Edelsohn X-IsSubscribed: yes 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 > This patch is okay, but the longlong.h patch is incomplete. It no > longer should test for _ARCH_COM or _ARCH_PWR, because those will not > work. Committed the following as pre-approved off-list: 2012-08-15 Segher Boessenkool * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling. */ \ || defined (__powerpc__) /* gcc */ \ || defined (__POWERPC__) /* BEOS */ \ || defined (__ppc__) /* Darwin */ \ @@ -914,14 +912,6 @@ } while (0) #define SMUL_TIME 14 #define UDIV_TIME 120 -#elif defined (_ARCH_PWR) -#define UMUL_TIME 8 -#define smul_ppmm(xh, xl, m0, m1) \ - __asm__ ("mul %0,%2,%3" : "=r" (xh), "=q" (xl) : "r" (m0), "r" (m1)) -#define SMUL_TIME 4 -#define sdiv_qrnnd(q, r, nh, nl, d) \ - __asm__ ("div %0,%2,%4" : "=r" (q), "=q" (r) : "r" (nh), "1" (nl), "r" (d)) -#define UDIV_TIME 100 #endif #endif /* 32-bit POWER architecture variants. */ --- trunk/libgcc/longlong.h 2012/08/16 01:36:47 190433 +++ trunk/libgcc/longlong.h 2012/08/16 01:49:57 190434 @@ -850,8 +850,6 @@ FIXME: What's needed for gcc PowerPC VxWorks? __vxworks__ is not good enough, since that hits ARM and m68k too. */ #if (defined (_ARCH_PPC) /* AIX */ \ - || defined (_ARCH_PWR) /* AIX */ \ - || defined (_ARCH_COM) /* AIX