From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3093 invoked by alias); 23 Oct 2014 19:03:38 -0000 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 Received: (qmail 3083 invoked by uid 89); 23 Oct 2014 19:03:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 23 Oct 2014 19:03:37 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9NJ3ZUr004599 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 23 Oct 2014 15:03:36 -0400 Received: from greed.delorie.com (ovpn-113-33.phx2.redhat.com [10.3.113.33]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s9NJ3ZDx013700 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 23 Oct 2014 15:03:35 -0400 Received: from greed.delorie.com (greed.delorie.com [127.0.0.1]) by greed.delorie.com (8.14.4/8.14.4) with ESMTP id s9NJ3YYF015480 for ; Thu, 23 Oct 2014 15:03:34 -0400 Received: (from dj@localhost) by greed.delorie.com (8.14.4/8.14.4/Submit) id s9NJ3Y0t015479; Thu, 23 Oct 2014 15:03:34 -0400 Date: Thu, 23 Oct 2014 19:10:00 -0000 Message-Id: <201410231903.s9NJ3Y0t015479@greed.delorie.com> From: DJ Delorie To: gcc-patches@gcc.gnu.org Subject: [msp430] fix X suffix X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg02444.txt.bz2 Fixes BISX.A bug. Committed. 2014-10-23 DJ Delorie * config/msp430/msp430.c (msp430_print_operand): 'x' modifier is independend of -mlarge. * config/msp430/constraints.md (Ys): Update comment. Index: config/msp430/constraints.md =================================================================== --- config/msp430/constraints.md (revision 216597) +++ config/msp430/constraints.md (working copy) @@ -55,13 +55,13 @@ (define_constraint "Yl" "Memory reference, labels only." (and (match_code "mem") (match_code "label_ref" "0"))) -;; These are memory references that are safe to use with the X suffix, +;; These are memory references that are safe to use without the X suffix, ;; because we know/assume they need not index across the 64k boundary. (define_constraint "Ys" "Memory reference, stack only." (and (match_code "mem") (ior (and (match_code "plus" "0") Index: config/msp430/msp430.c =================================================================== --- config/msp430/msp430.c (revision 216597) +++ config/msp430/msp430.c (working copy) @@ -2604,13 +2604,13 @@ msp430_print_operand (FILE * file, rtx o /* We don't care which operand we use, but we want 'X' in the MD file, so we do it this way. */ return; case 'x': /* Similarly, but only for PSImodes. BIC, for example, needs this. */ - if (TARGET_LARGE && GET_MODE (op) == PSImode) + if (GET_MODE (op) == PSImode) fprintf (file, "X"); return; case 'Q': /* Likewise, for BR -> BRA. */ if (TARGET_LARGE)