From 5cbc4e2a24771aea2363d231bd670dce59cd4bd3 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Thu, 23 Oct 2014 15:02:48 -0400 Subject: [PATCH] msp430.c (msp430_print_operand): 'x' modifier is independend of -mlarge. * config/msp430/msp430.c (msp430_print_operand): 'x' modifier is independend of -mlarge. * config/msp430/constraints.md (Ys): Update comment. From-SVN: r216598 --- 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 70f6e0db9f5..33249e5ecb3 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 055125f5b1c..5ff4ab6164b 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 da7bfb3e855..43ac5df77a2 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.30.2