From patchwork Tue Sep 11 11:18:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Maciej W. Rozycki" X-Patchwork-Id: 183081 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 D407A2C007A for ; Tue, 11 Sep 2012 21:19:16 +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=1347967157; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Date:From:To:CC:Subject:In-Reply-To:Message-ID: References:User-Agent:MIME-Version:Content-Type:Mailing-List: Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:Sender:Delivered-To; bh=6Ey3dQhPCXEJHY7PEbHx8IE+3OU=; b=BcI48OEgJYcNqG4PxRe9P81Z90acD7OQeLRx9vWXLyRr6BLWkDizfuOzsuukpL MFKzxyXQArhKWyTrQ5iL+/2d8yJTyxRXV0X7G99ppaGoltDj5r0YOJmZOSy1mduj dQPD1N4xrdQ7jcIaeplXMlemQBsIbyYfI4PX5S3YHfvps= 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:Received:Received:Date:From:To:CC:Subject:In-Reply-To:Message-ID:References:User-Agent:MIME-Version:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=uq3bBMM8R9M59sKia82qppF7qfZqw73jk4WKgEjDru2O4xnfQqtzI8Q43PL0t6 FEPeuXalgbOKojxM6rZP0FgP9RFjikNObx9GJj6PZH9sC+xDjteN/TVZLXxPDPBr 2rSjNs95ZcCJczIwkOZ9FTsJvFlDS6K2oNwGDx0Jql8Go=; Received: (qmail 24251 invoked by alias); 11 Sep 2012 11:19:12 -0000 Received: (qmail 24235 invoked by uid 22791); 11 Sep 2012 11:19:10 -0000 X-SWARE-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, KHOP_THREADED, RCVD_IN_HOSTKARMA_W, RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 11 Sep 2012 11:18:57 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1TBOUZ-0005Nj-8t from Maciej_Rozycki@mentor.com ; Tue, 11 Sep 2012 04:18:55 -0700 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 11 Sep 2012 04:18:55 -0700 Received: from [172.30.7.121] (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.1.289.1; Tue, 11 Sep 2012 12:18:52 +0100 Date: Tue, 11 Sep 2012 12:18:40 +0100 From: "Maciej W. Rozycki" To: Segher Boessenkool CC: David Edelsohn , James Lemke , Nathan Sidwell , Catherine Moore , Nathan Froyd , GCC Patches Subject: Re: [PATCH] PowerPC VLE port In-Reply-To: <4B04BCD2-1748-425A-BCDC-37C70E476C84@kernel.crashing.org> Message-ID: References: <504DF221.5010604@codesourcery.com> <4B04BCD2-1748-425A-BCDC-37C70E476C84@kernel.crashing.org> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 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 On Tue, 11 Sep 2012, Segher Boessenkool wrote: > > > 2012-09-10 Maciej W. Rozycki > > > > > > gcc/ > > > * config/rs6000/rs6000.c (print_operand) <'c'>: Remove. > > > * config/rs6000/spe.md: Remove a leftover comment. > > > > Okay. > > This patch wasn't sent to gcc-patches -- can we see it please? Umm, I didn't notice a cc to gcc-patches was removed in the course of discussion, sorry about that. Here's the change concerned. Maciej gcc-powerpc-print-operand-c.patch Index: gcc/config/rs6000/spe.md =================================================================== --- gcc/config/rs6000/spe.md (revision 191161) +++ gcc/config/rs6000/spe.md (working copy) @@ -2945,8 +2945,6 @@ "mfspefscr %0" [(set_attr "type" "vecsimple")]) -;; FP comparison stuff. - ;; Flip the GT bit. (define_insn "e500_flip_gt_bit" [(set (match_operand:CCFP 0 "cc_reg_operand" "=y") Index: gcc/config/rs6000/rs6000.c =================================================================== --- gcc/config/rs6000/rs6000.c (revision 191161) +++ gcc/config/rs6000/rs6000.c (working copy) @@ -14659,14 +14659,6 @@ print_operand (FILE *file, rtx x, int co /* %c is output_addr_const if a CONSTANT_ADDRESS_P, otherwise output_operand. */ - case 'c': - /* X is a CR register. Print the number of the GT bit of the CR. */ - if (GET_CODE (x) != REG || ! CR_REGNO_P (REGNO (x))) - output_operand_lossage ("invalid %%c value"); - else - fprintf (file, "%d", 4 * (REGNO (x) - CR0_REGNO) + 1); - return; - case 'D': /* Like 'J' but get to the GT bit only. */ gcc_assert (REG_P (x));