diff options
author | John Hassey <hassey@gnu.org> | 1993-02-17 15:00:52 +0000 |
---|---|---|
committer | John Hassey <hassey@gnu.org> | 1993-02-17 15:00:52 +0000 |
commit | c15d8db66e258325027e8990fc04168aa9b31c97 (patch) | |
tree | 043adb50c9bbcf5ddb9f9fe0c7f10fbaf52bae27 /gcc | |
parent | b39555b4d7c9b2b95facaf17e61cbd324b3e3f01 (diff) | |
download | gcc-c15d8db66e258325027e8990fc04168aa9b31c97.zip gcc-c15d8db66e258325027e8990fc04168aa9b31c97.tar.gz gcc-c15d8db66e258325027e8990fc04168aa9b31c97.tar.bz2 |
(CONST_OK_FOR_LETTER_P): Added 'K'.
From-SVN: r3479
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/m88k/m88k.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/m88k/m88k.h b/gcc/config/m88k/m88k.h index 149626a..4da23ff 100644 --- a/gcc/config/m88k/m88k.h +++ b/gcc/config/m88k/m88k.h @@ -864,7 +864,7 @@ enum reg_class { NO_REGS, AP_REG, XRF_REGS, GENERAL_REGS, AGRF_REGS, For the m88000, the following constants are used: `I' requires a non-negative 16-bit value. `J' requires a non-positive 16-bit value. - `K' is unused. + `K' requires a non-negative value < 32. `L' requires a constant with only the upper 16-bits set. `M' requires constant values that can be formed with `set'. `N' requires a negative value. @@ -882,6 +882,7 @@ enum reg_class { NO_REGS, AP_REG, XRF_REGS, GENERAL_REGS, AGRF_REGS, #define CONST_OK_FOR_LETTER_P(VALUE, C) \ ((C) == 'I' ? SMALL_INTVAL (VALUE) \ : (C) == 'J' ? SMALL_INTVAL (-(VALUE)) \ + : (C) == 'K' ? (unsigned)(VALUE) < 32 \ : (C) == 'L' ? ((VALUE) & 0xffff) == 0 \ : (C) == 'M' ? integer_ok_for_set (VALUE) \ : (C) == 'N' ? (VALUE) < 0 \ |