From: Richard Kenner Date: Tue, 19 Mar 1996 00:46:52 +0000 (-0500) Subject: (CONST_OK_FOR_LETTER_VALUE): New constraint 'M'. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9f6f5aa7fd77644ba82eb4aba111086608910a9;p=gcc.git (CONST_OK_FOR_LETTER_VALUE): New constraint 'M'. From-SVN: r11559 --- diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h index 0fff0996e2d..8faa573131e 100644 --- a/gcc/config/m68k/m68k.h +++ b/gcc/config/m68k/m68k.h @@ -642,13 +642,15 @@ extern enum reg_class regno_reg_class[]; allowed as immediate shift counts and in addq. `J' is used for the range of signed numbers that fit in 16 bits. `K' is for numbers that moveq can't handle. - `L' is for range -8 to -1, range of values that can be added with subq. */ - -#define CONST_OK_FOR_LETTER_P(VALUE, C) \ - ((C) == 'I' ? (VALUE) > 0 && (VALUE) <= 8 : \ - (C) == 'J' ? (VALUE) >= -0x8000 && (VALUE) <= 0x7FFF : \ - (C) == 'K' ? (VALUE) < -0x80 || (VALUE) >= 0x80 : \ - (C) == 'L' ? (VALUE) < 0 && (VALUE) >= -8 : 0) + `L' is for range -8 to -1, range of values that can be added with subq. + `M' is for numbers that moveq+notb can't handle. */ + +#define CONST_OK_FOR_LETTER_P(VALUE, C) \ + ((C) == 'I' ? (VALUE) > 0 && (VALUE) <= 8 : \ + (C) == 'J' ? (VALUE) >= -0x8000 && (VALUE) <= 0x7FFF : \ + (C) == 'K' ? (VALUE) < -0x80 || (VALUE) >= 0x80 : \ + (C) == 'L' ? (VALUE) < 0 && (VALUE) >= -8 : \ + (C) == 'M' ? (VALUE) < -0x100 && (VALUE) >= 0x100 : 0) /* * A small bit of explanation: