public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Obvious patch for IA64 cleanup
@ 2007-07-31 20:32 Steve Ellcey
  0 siblings, 0 replies; only message in thread
From: Steve Ellcey @ 2007-07-31 20:32 UTC (permalink / raw)
  To: gcc-patches

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"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-31 18:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-31 20:32 Obvious patch for IA64 cleanup Steve Ellcey

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