From d16d2561baf18daf909b72d31ea5bc8e3603b35f Mon Sep 17 00:00:00 2001 From: dj Date: Thu, 23 Oct 2014 19:02:48 +0000 Subject: [PATCH] * config/msp430/msp430.c (msp430_print_operand): 'x' modifier is independend of -mlarge. * config/msp430/constraints.md (Ys): Update comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216598 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/config/msp430/constraints.md | 2 +- gcc/config/msp430/msp430.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 70f6e0d..33249e5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +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. + 2014-10-23 Evgeny Stupachenko PR target/63534 diff --git a/gcc/config/msp430/constraints.md b/gcc/config/msp430/constraints.md index 055125f..5ff4ab6 100644 --- a/gcc/config/msp430/constraints.md +++ b/gcc/config/msp430/constraints.md @@ -58,7 +58,7 @@ (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." diff --git a/gcc/config/msp430/msp430.c b/gcc/config/msp430/msp430.c index da7bfb3..43ac5df 100644 --- a/gcc/config/msp430/msp430.c +++ b/gcc/config/msp430/msp430.c @@ -2607,7 +2607,7 @@ msp430_print_operand (FILE * file, rtx op, int letter) 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; -- 2.7.4