public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Uros Bizjak <ubizjak@gmail.com>
To: gcc-patches@gcc.gnu.org
Subject: [PATCH, i386]: Remove any_div code iterator.
Date: Sun, 21 Aug 2011 22:15:00 -0000	[thread overview]
Message-ID: <CAFULd4a4sk+j=3roFO2Sak1foUVeMO8-35BnSQp7Kjy4pwPyxA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 245 bytes --]

Hello!

2011-08-21  Uros Bizjak  <ubizjak@gmail.com>

	* 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.

[-- Attachment #2: r.diff.txt --]
[-- Type: text/plain, Size: 996 bytes --]

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])
 

                 reply	other threads:[~2011-08-21 16:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFULd4a4sk+j=3roFO2Sak1foUVeMO8-35BnSQp7Kjy4pwPyxA@mail.gmail.com' \
    --to=ubizjak@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).