From patchwork Thu Jul 28 07:17:25 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 107186 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 9AE0DB6F62 for ; Thu, 28 Jul 2011 17:17:47 +1000 (EST) Received: (qmail 31621 invoked by alias); 28 Jul 2011 07:17:42 -0000 Received: (qmail 31610 invoked by uid 22791); 28 Jul 2011 07:17:40 -0000 X-SWARE-Spam-Status: No, hits=0.4 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MEDICAL_SUBJECT, RCVD_IN_DNSWL_LOW, TW_ZJ, T_TO_NO_BRKTS_FREEMAIL 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; Thu, 28 Jul 2011 07:17:27 +0000 Received: by yxi19 with SMTP id 19so1498349yxi.20 for ; Thu, 28 Jul 2011 00:17:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.27.168 with SMTP id u8mr1242639pbg.447.1311837445426; Thu, 28 Jul 2011 00:17:25 -0700 (PDT) Received: by 10.143.34.2 with HTTP; Thu, 28 Jul 2011 00:17:25 -0700 (PDT) Date: Thu, 28 Jul 2011 09:17:25 +0200 Message-ID: Subject: [PATCH, i386]: Fix i386.md:5807: warning: source missing a mode? 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-07-28 Uros Bizjak * config/i386/i386.c (add->lea splitter): Add SWI mode to PLUS RTX. Tested on x86_64-pc-linux-gnu, committed to mainline. Uros. Index: i386.md =================================================================== --- i386.md (revision 176858) +++ i386.md (working copy) @@ -5806,8 +5806,8 @@ ;; Convert add to the lea pattern to avoid flags dependency. (define_split [(set (match_operand:SWI 0 "register_operand" "") - (plus (match_operand:SWI 1 "register_operand" "") - (match_operand:SWI 2 "" ""))) + (plus:SWI (match_operand:SWI 1 "register_operand" "") + (match_operand:SWI 2 "" ""))) (clobber (reg:CC FLAGS_REG))] "reload_completed && ix86_lea_for_add_ok (insn, operands)" [(const_int 0)]