public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Steve Ellcey <sje@cup.hp.com>
To: gcc-patches@gcc.gnu.org
Subject: Obvious patch for IA64 cleanup
Date: Tue, 31 Jul 2007 20:32:00 -0000	[thread overview]
Message-ID: <200707311846.LAA29748@hpsje.cup.hp.com> (raw)

I will check in this small cleanup patch under the obvious rule if no
one complains.  I visually checked that the U constraint was only used
in vector contexts and I also did a bootstrap and test of IA64 HP-UX and
Linux with no regressions.

Steve Ellcey
sje@cup.hp.com

2007-07-31  Steve Ellcey  <sje@cup.hp.com>

	config/ia64/constraints.md ("U"): Make constraint vector only.

Index: config/ia64/constraints.md
===================================================================
--- config/ia64/constraints.md	(revision 127079)
+++ config/ia64/constraints.md	(working copy)
@@ -114,11 +114,9 @@ (define_constraint "T"
   "Symbol ref to small-address-area"
   (match_operand 0 "small_addr_symbolic_operand"))
 
-;; ??? Original definition didn't test for vector only.  
-;; Need to verify that only used in vector context.
 (define_constraint "U"
   "vector zero constant"
-  (and (match_code "const_int,const_double,const_vector")
+  (and (match_code "const_vector")
        (match_test "op == CONST0_RTX (mode)")))
 
 (define_constraint "W"

                 reply	other threads:[~2007-07-31 18:47 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=200707311846.LAA29748@hpsje.cup.hp.com \
    --to=sje@cup.hp.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).