diff options
author | Anthony Green <green@moxielogic.com> | 2015-01-01 15:43:47 +0000 |
---|---|---|
committer | Anthony Green <green@gcc.gnu.org> | 2015-01-01 15:43:47 +0000 |
commit | f8478c4220fd659f484831be51ddca62e7f7623d (patch) | |
tree | dd9205c3221a0a6ab21d7c6f3b725ec230133b6d /gcc/config | |
parent | a30772be37d5fa91387f50b41e3fd2b6eba3afe6 (diff) | |
download | gcc-f8478c4220fd659f484831be51ddca62e7f7623d.zip gcc-f8478c4220fd659f484831be51ddca62e7f7623d.tar.gz gcc-f8478c4220fd659f484831be51ddca62e7f7623d.tar.bz2 |
Roll ChangeLog file. Limit offsets to 16 bits for moxie.
From-SVN: r219136
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/moxie/predicates.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/moxie/predicates.md b/gcc/config/moxie/predicates.md index 2f9467c..06ee183 100644 --- a/gcc/config/moxie/predicates.md +++ b/gcc/config/moxie/predicates.md @@ -34,7 +34,8 @@ if (MEM_P (op) && GET_CODE (XEXP (op, 0)) == PLUS && GET_CODE (XEXP (XEXP (op, 0), 0)) == REG - && GET_CODE (XEXP (XEXP (op, 0), 1)) == CONST_INT) + && GET_CODE (XEXP (XEXP (op, 0), 1)) == CONST_INT + && IN_RANGE (INTVAL (XEXP (XEXP (op, 0), 1)), -32768, 32767)) return 1; return general_operand (op, mode); |