From patchwork Mon Mar 28 07:21:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 88563 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 2059F1007D1 for ; Mon, 28 Mar 2011 18:21:35 +1100 (EST) Received: (qmail 9782 invoked by alias); 28 Mar 2011 07:21:31 -0000 Received: (qmail 9768 invoked by uid 22791); 28 Mar 2011 07:21:29 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, TW_ZJ, T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-px0-f176.google.com (HELO mail-px0-f176.google.com) (209.85.212.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 28 Mar 2011 07:21:24 +0000 Received: by pxi11 with SMTP id 11so556104pxi.21 for ; Mon, 28 Mar 2011 00:21:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.120.40 with SMTP id s40mr3492682wfc.193.1301296884131; Mon, 28 Mar 2011 00:21:24 -0700 (PDT) Received: by 10.142.81.8 with HTTP; Mon, 28 Mar 2011 00:21:24 -0700 (PDT) Date: Mon, 28 Mar 2011 09:21:24 +0200 Message-ID: Subject: [PATCH, alpha]: Fix bootstrap failure due to expand optab cleanup From: Uros Bizjak To: gcc-patches@gcc.gnu.org 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 Hello! 2011-03-28 Uros Bizjak * config/alpha/alpha.md (addtf3): Change mode of operands to TFmode. (divtf3): Ditto. (multf3): Ditto. (subtf3): Ditto. Bootstrapped and regression tested on alphaev68-pc-linux-gnu, committed to mainline SVN. Uros. Index: alpha.md =================================================================== --- alpha.md (revision 171579) +++ alpha.md (working copy) @@ -2018,9 +2018,9 @@ (set_attr "trap_suffix" "u_su_sui")]) (define_expand "addtf3" - [(use (match_operand 0 "register_operand" "")) - (use (match_operand 1 "general_operand" "")) - (use (match_operand 2 "general_operand" ""))] + [(use (match_operand:TF 0 "register_operand" "")) + (use (match_operand:TF 1 "general_operand" "")) + (use (match_operand:TF 2 "general_operand" ""))] "TARGET_HAS_XFLOATING_LIBS" "alpha_emit_xfloating_arith (PLUS, operands); DONE;") @@ -2510,9 +2510,9 @@ (set_attr "trap_suffix" "u_su_sui")]) (define_expand "divtf3" - [(use (match_operand 0 "register_operand" "")) - (use (match_operand 1 "general_operand" "")) - (use (match_operand 2 "general_operand" ""))] + [(use (match_operand:TF 0 "register_operand" "")) + (use (match_operand:TF 1 "general_operand" "")) + (use (match_operand:TF 2 "general_operand" ""))] "TARGET_HAS_XFLOATING_LIBS" "alpha_emit_xfloating_arith (DIV, operands); DONE;") @@ -2586,9 +2586,9 @@ (set_attr "trap_suffix" "u_su_sui")]) (define_expand "multf3" - [(use (match_operand 0 "register_operand" "")) - (use (match_operand 1 "general_operand" "")) - (use (match_operand 2 "general_operand" ""))] + [(use (match_operand:TF 0 "register_operand" "")) + (use (match_operand:TF 1 "general_operand" "")) + (use (match_operand:TF 2 "general_operand" ""))] "TARGET_HAS_XFLOATING_LIBS" "alpha_emit_xfloating_arith (MULT, operands); DONE;") @@ -2674,9 +2674,9 @@ (set_attr "trap_suffix" "u_su_sui")]) (define_expand "subtf3" - [(use (match_operand 0 "register_operand" "")) - (use (match_operand 1 "general_operand" "")) - (use (match_operand 2 "general_operand" ""))] + [(use (match_operand:TF 0 "register_operand" "")) + (use (match_operand:TF 1 "general_operand" "")) + (use (match_operand:TF 2 "general_operand" ""))] "TARGET_HAS_XFLOATING_LIBS" "alpha_emit_xfloating_arith (MINUS, operands); DONE;")