Message ID | 87r3vepkui.fsf@moxielogic.com |
---|---|
State | New |
Headers | show |
Index: config/moxie/predicates.md =================================================================== --- config/moxie/predicates.md (revision 219135) +++ config/moxie/predicates.md (working copy) @@ -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);