From patchwork Wed Oct 3 22:28:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Segher Boessenkool X-Patchwork-Id: 188950 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 8B35E2C0422 for ; Thu, 4 Oct 2012 08:30:35 +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=1349908235; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: From:To:Cc:Subject:Date:Message-Id:Mailing-List:Precedence: List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=zETGtTpmrE8Qp8Nxy+dTXPIWIeo=; b=tLzwTeDBfeZo8m3 jc7ep8rgJHph6iLwWLNcUVQKH6Ww0YajpyEmHaFYy7A3gFrgLCO9HRUYC6K6GGaL 99v0o8r7s2+SD4a1mZllvxCTmJuy/jU0Hr31eBb8TJHw9/pbIeokT1+WRV6gIbE8 03kGSTVJhDJ3VtqnJtwB8ckgC1f0= 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:From:To:Cc:Subject:Date:Message-Id:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=iKCxjn1dV/aCtDkLyiCiXqCuPhiLr29wRshhGX6/k75a9Tqz1wsRdRqdOLCpk7 dHegePRGeWbCPTR1/afQ6nHrFP2e4yDFeOlMuyGRZyfqx6ZcZ+Rcw0wayoxBaYRa dcwhv/ay2AxSx1iYvY5G9L1tVambr21LDttWZZQBQFpV0=; Received: (qmail 18286 invoked by alias); 3 Oct 2012 22:30:32 -0000 Received: (qmail 18277 invoked by uid 22791); 3 Oct 2012 22:30:31 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SARE_MSGID_LONG40 X-Spam-Check-By: sourceware.org Received: from gcc1-power7.osuosl.org (HELO gcc1-power7.osuosl.org) (140.211.15.137) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 03 Oct 2012 22:30:25 +0000 Received: from gcc1-power7.osuosl.org (localhost [127.0.0.1]) by gcc1-power7.osuosl.org (8.14.5/8.14.5) with ESMTP id q93MT4ia057036; Wed, 3 Oct 2012 15:29:04 -0700 Received: (from segher@localhost) by gcc1-power7.osuosl.org (8.14.5/8.14.5/Submit) id q93MT2Bb054489; Wed, 3 Oct 2012 15:29:02 -0700 From: Segher Boessenkool To: gcc-patches@gcc.gnu.org Cc: dje.gcc@gmail.com, Segher Boessenkool Subject: [PATCH] rs6000: Remove 'A' output modifier Date: Wed, 3 Oct 2012 15:28:58 -0700 Message-Id: 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 It was used for old POWER only, which has been removed. Tested etc.; okay to apply? Segher 2012-10-04 Segher Boessenkool gcc/ * config/rs6000/rs6000.c (print_operand) ['A']: Delete. --- gcc/config/rs6000/rs6000.c | 11 ----------- 1 files changed, 0 insertions(+), 11 deletions(-) diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 211087b..846a939 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -14676,17 +14676,6 @@ print_operand (FILE *file, rtx x, int code) { /* %a is output_address. */ - case 'A': - /* If X is a constant integer whose low-order 5 bits are zero, - write 'l'. Otherwise, write 'r'. This is a kludge to fix a bug - in the AIX assembler where "sri" with a zero shift count - writes a trash instruction. */ - if (GET_CODE (x) == CONST_INT && (INTVAL (x) & 31) == 0) - putc ('l', file); - else - putc ('r', file); - return; - case 'b': /* If constant, low-order 16 bits of constant, unsigned. Otherwise, write normally. */