diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1996-03-18 19:46:52 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1996-03-18 19:46:52 -0500 |
commit | a9f6f5aa7fd77644ba82eb4aba111086608910a9 (patch) | |
tree | 8a0a01f02feaae4da2d1bfce38197c1e8c5cbcca | |
parent | 4d4f21f36ffe657943a061a6c46b0a3cf77a1acd (diff) | |
download | gcc-a9f6f5aa7fd77644ba82eb4aba111086608910a9.zip gcc-a9f6f5aa7fd77644ba82eb4aba111086608910a9.tar.gz gcc-a9f6f5aa7fd77644ba82eb4aba111086608910a9.tar.bz2 |
(CONST_OK_FOR_LETTER_VALUE): New constraint 'M'.
From-SVN: r11559
-rw-r--r-- | gcc/config/m68k/m68k.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h index 0fff099..8faa573 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: |