Commit c15d8db6 by John Hassey

(CONST_OK_FOR_LETTER_P): Added 'K'.

From-SVN: r3479
parent b39555b4
...@@ -864,7 +864,7 @@ enum reg_class { NO_REGS, AP_REG, XRF_REGS, GENERAL_REGS, AGRF_REGS, ...@@ -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: For the m88000, the following constants are used:
`I' requires a non-negative 16-bit value. `I' requires a non-negative 16-bit value.
`J' requires a non-positive 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. `L' requires a constant with only the upper 16-bits set.
`M' requires constant values that can be formed with `set'. `M' requires constant values that can be formed with `set'.
`N' requires a negative value. `N' requires a negative value.
...@@ -882,6 +882,7 @@ enum reg_class { NO_REGS, AP_REG, XRF_REGS, GENERAL_REGS, AGRF_REGS, ...@@ -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) \ #define CONST_OK_FOR_LETTER_P(VALUE, C) \
((C) == 'I' ? SMALL_INTVAL (VALUE) \ ((C) == 'I' ? SMALL_INTVAL (VALUE) \
: (C) == 'J' ? SMALL_INTVAL (-(VALUE)) \ : (C) == 'J' ? SMALL_INTVAL (-(VALUE)) \
: (C) == 'K' ? (unsigned)(VALUE) < 32 \
: (C) == 'L' ? ((VALUE) & 0xffff) == 0 \ : (C) == 'L' ? ((VALUE) & 0xffff) == 0 \
: (C) == 'M' ? integer_ok_for_set (VALUE) \ : (C) == 'M' ? integer_ok_for_set (VALUE) \
: (C) == 'N' ? (VALUE) < 0 \ : (C) == 'N' ? (VALUE) < 0 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment