aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/msp430
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2014-10-23 15:02:48 -0400
committerDJ Delorie <dj@gcc.gnu.org>2014-10-23 15:02:48 -0400
commit5cbc4e2a24771aea2363d231bd670dce59cd4bd3 (patch)
treef3160a9df26f8f968353620aad77917eb0ae1a96 /gcc/config/msp430
parent13e72e8d16cf03b6e809961c79f101f41960c35d (diff)
downloadgcc-5cbc4e2a24771aea2363d231bd670dce59cd4bd3.zip
gcc-5cbc4e2a24771aea2363d231bd670dce59cd4bd3.tar.gz
gcc-5cbc4e2a24771aea2363d231bd670dce59cd4bd3.tar.bz2
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
Diffstat (limited to 'gcc/config/msp430')
-rw-r--r--gcc/config/msp430/constraints.md2
-rw-r--r--gcc/config/msp430/msp430.c2
2 files changed, 2 insertions, 2 deletions
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..43ac5df7 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;