From patchwork Thu Oct 23 19:03:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: DJ Delorie X-Patchwork-Id: 402623 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id EDFB514007D for ; Fri, 24 Oct 2014 06:03:45 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :message-id:from:to:subject; q=dns; s=default; b=E6hzuSqWNpHG1rx f0KFGE7L2whrvk0ob4QbnC/yJIhBgzo269sNVYSm1YKZBQthvBQUdDV7+Ge0uHs6 FzdMXnar000SWu84rRGcZIoBrRP5PyiW/+PfRnznYOQdp/CIm3fk7Mmdwy0oVqFD o04jy4QbVYk8NE8gMyDl+uMTbvhU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :message-id:from:to:subject; s=default; bh=ECI8tgkBnDT9Y1EXdbp6z EDD8/w=; b=yCvrqPqlehS76qc/GBmHDbOcpjHGpNObuQZAxhsxTICjeFFgP4+Nf MImDwSFuUYYY3fffptBQ6dS1OGPzCpYSyF3+biH/9XcfdjHe+h/RbwqsJWWVHC6V K6xVK3mJhWMont7nvw6c0dB/mZxrtmViEXXg2mbKo0O9Hnc1j+xC9U= 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-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@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 15:03:34 -0400 Message-Id: <201410231903.s9NJ3Y0t015479@greed.delorie.com> From: DJ Delorie To: gcc-patches@gcc.gnu.org Subject: [msp430] fix X suffix X-IsSubscribed: yes 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)