This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Obvious patch for IA64 cleanup


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"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]