This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Obvious patch for IA64 cleanup
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 31 Jul 2007 11:46:28 -0700 (PDT)
- Subject: Obvious patch for IA64 cleanup
- Reply-to: sje at cup dot hp dot com
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"