From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10426 invoked by alias); 31 Jul 2007 18:47:30 -0000 Received: (qmail 10418 invoked by uid 22791); 31 Jul 2007 18:47:30 -0000 X-Spam-Check-By: sourceware.org Received: from palrel10.hp.com (HELO palrel10.hp.com) (156.153.255.245) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 31 Jul 2007 18:47:24 +0000 Received: from smtp2.cup.hp.com (hpda.cup.hp.com [15.4.32.118]) by palrel10.hp.com (Postfix) with ESMTP id 56DA33A687 for ; Tue, 31 Jul 2007 11:46:29 -0700 (PDT) Received: from hpsje.cup.hp.com (hpsje.cup.hp.com [16.89.92.85]) by smtp2.cup.hp.com (Postfix) with ESMTP id BAAF2314583 for ; Tue, 31 Jul 2007 18:35:31 +0000 (UTC) Received: (from sje@localhost) by hpsje.cup.hp.com (8.9.3 (PHNE_29774)/8.9.3) id LAA29748 for gcc-patches@gcc.gnu.org; Tue, 31 Jul 2007 11:46:28 -0700 (PDT) Date: Tue, 31 Jul 2007 20:32:00 -0000 From: Steve Ellcey Message-Id: <200707311846.LAA29748@hpsje.cup.hp.com> To: gcc-patches@gcc.gnu.org Subject: Obvious patch for IA64 cleanup Reply-To: sje@cup.hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-07/txt/msg02202.txt.bz2 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 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"