From patchwork Sat Nov 12 06:46:32 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 125325 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 BCB821007D8 for ; Sat, 12 Nov 2011 17:47:03 +1100 (EST) Received: (qmail 25899 invoked by alias); 12 Nov 2011 06:47:00 -0000 Received: (qmail 25877 invoked by uid 22791); 12 Nov 2011 06:46:58 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-yx0-f175.google.com (HELO mail-yx0-f175.google.com) (209.85.213.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 12 Nov 2011 06:46:43 +0000 Received: by yenm3 with SMTP id m3so4274638yen.20 for ; Fri, 11 Nov 2011 22:46:43 -0800 (PST) Received: by 10.68.7.132 with SMTP id j4mr31239160pba.11.1321080402527; Fri, 11 Nov 2011 22:46:42 -0800 (PST) Received: from localhost.localdomain (c-98-203-235-125.hsd1.wa.comcast.net. [98.203.235.125]) by mx.google.com with ESMTPS id jm5sm36579600pbc.1.2011.11.11.22.46.41 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 11 Nov 2011 22:46:41 -0800 (PST) From: Richard Henderson To: gcc-patches@gcc.gnu.org Cc: dje.gcc@gmail.com, meissner@linux.vnet.ibm.com, Richard Henderson Subject: [PATCH 1/3] rs6000: fix*_trunc insns use nonimmediate_operand Date: Fri, 11 Nov 2011 22:46:32 -0800 Message-Id: <1321080394-16180-2-git-send-email-rth@redhat.com> In-Reply-To: <1321080394-16180-1-git-send-email-rth@redhat.com> References: <1321080394-16180-1-git-send-email-rth@redhat.com> 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 From: Richard Henderson --- gcc/config/rs6000/rs6000.md | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 331aa79..93b0b6c 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -6787,7 +6787,7 @@ ; register allocation so that it can allocate the memory slot if it ; needed (define_insn_and_split "fix_truncsi2_stfiwx" - [(set (match_operand:SI 0 "general_operand" "=rm") + [(set (match_operand:SI 0 "nonimmediate_operand" "=rm") (fix:SI (match_operand:SFDF 1 "gpc_reg_operand" "d"))) (clobber (match_scratch:DI 2 "=d"))] "TARGET_HARD_FLOAT && TARGET_FPRS && TARGET_DOUBLE_FLOAT @@ -6883,7 +6883,7 @@ }") (define_insn_and_split "fixuns_truncsi2_stfiwx" - [(set (match_operand:SI 0 "general_operand" "=rm") + [(set (match_operand:SI 0 "nonimmediate_operand" "=rm") (unsigned_fix:SI (match_operand:SFDF 1 "gpc_reg_operand" "d"))) (clobber (match_scratch:DI 2 "=d"))] "TARGET_HARD_FLOAT && TARGET_FPRS && && TARGET_FCTIWUZ