diff options
Diffstat (limited to 'opcodes/epiphany-ibld.c')
-rw-r--r-- | opcodes/epiphany-ibld.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/opcodes/epiphany-ibld.c b/opcodes/epiphany-ibld.c index b862216..7315273 100644 --- a/opcodes/epiphany-ibld.c +++ b/opcodes/epiphany-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 @@ -1170,12 +1170,12 @@ epiphany_cgen_extract_operand (CGEN_CPU_DESC cd, return length; } -cgen_insert_fn * const epiphany_cgen_insert_handlers[] = +cgen_insert_fn * const epiphany_cgen_insert_handlers[] = { insert_insn_normal, }; -cgen_extract_fn * const epiphany_cgen_extract_handlers[] = +cgen_extract_fn * const epiphany_cgen_extract_handlers[] = { extract_insn_normal, }; |