diff options
Diffstat (limited to 'opcodes/ip2k-ibld.c')
-rw-r--r-- | opcodes/ip2k-ibld.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/opcodes/ip2k-ibld.c b/opcodes/ip2k-ibld.c index 4b77625..7d97c65 100644 --- a/opcodes/ip2k-ibld.c +++ b/opcodes/ip2k-ibld.c @@ -154,7 +154,7 @@ insert_normal (CGEN_CPU_DESC cd, { long minval = - (1L << (length - 1)); unsigned long maxval = mask; - + if ((value > 0 && (unsigned long) value > maxval) || value < minval) { @@ -192,7 +192,7 @@ insert_normal (CGEN_CPU_DESC cd, { long minval = - (1L << (length - 1)); long maxval = (1L << (length - 1)) - 1; - + if (value < minval || value > maxval) { sprintf @@ -683,12 +683,12 @@ ip2k_cgen_extract_operand (CGEN_CPU_DESC cd, return length; } -cgen_insert_fn * const ip2k_cgen_insert_handlers[] = +cgen_insert_fn * const ip2k_cgen_insert_handlers[] = { insert_insn_normal, }; -cgen_extract_fn * const ip2k_cgen_extract_handlers[] = +cgen_extract_fn * const ip2k_cgen_extract_handlers[] = { extract_insn_normal, }; |