From a9f6f5aa7fd77644ba82eb4aba111086608910a9 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 18 Mar 1996 19:46:52 -0500 Subject: [PATCH] (CONST_OK_FOR_LETTER_VALUE): New constraint 'M'. From-SVN: r11559 --- gcc/config/m68k/m68k.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 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: -- 2.30.2