From patchwork Sun Aug 21 16:23:29 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 110833 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 8C26AB6F6F for ; Mon, 22 Aug 2011 02:23:48 +1000 (EST) Received: (qmail 13888 invoked by alias); 21 Aug 2011 16:23:46 -0000 Received: (qmail 13879 invoked by uid 22791); 21 Aug 2011 16:23:44 -0000 X-SWARE-Spam-Status: No, hits=-2.3 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-pz0-f49.google.com (HELO mail-pz0-f49.google.com) (209.85.210.49) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 21 Aug 2011 16:23:30 +0000 Received: by pzk6 with SMTP id 6so9978902pzk.8 for ; Sun, 21 Aug 2011 09:23:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.170.5 with SMTP id s5mr1126486wfe.275.1313943809469; Sun, 21 Aug 2011 09:23:29 -0700 (PDT) Received: by 10.143.13.8 with HTTP; Sun, 21 Aug 2011 09:23:29 -0700 (PDT) Date: Sun, 21 Aug 2011 18:23:29 +0200 Message-ID: Subject: [PATCH, i386]: Remove any_div code iterator. 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-08-21 Uros Bizjak * config/i386/i386.md (any_div): Remove. (sgnprefix): Update for removal. (u): Ditto. Bootstrapped and regression tested on x86_64-pc-linux-gnu {,-m32}, committed to mainline SVN. Uros. Index: i386.md =================================================================== --- i386.md (revision 177940) +++ i386.md (working copy) @@ -778,18 +778,13 @@ ;; Used in signed and unsigned widening multiplications. (define_code_iterator any_extend [sign_extend zero_extend]) -;; Various insn prefixes for signed and unsigned operations. -(define_code_attr u [(sign_extend "") (zero_extend "u") - (div "") (udiv "u")]) +;; Prefix for insn menmonic. +(define_code_attr sgnprefix [(sign_extend "i") (zero_extend "")]) + +;; Prefix for define_insn +(define_code_attr u [(sign_extend "") (zero_extend "u")]) (define_code_attr s [(sign_extend "s") (zero_extend "u")]) -;; Used in signed and unsigned divisions. -(define_code_iterator any_div [div udiv]) - -;; Instruction prefix for signed and unsigned operations. -(define_code_attr sgnprefix [(sign_extend "i") (zero_extend "") - (div "i") (udiv "")]) - ;; All integer modes. (define_mode_iterator SWI1248x [QI HI SI DI])