diff options
Diffstat (limited to 'opcodes/cgen-ibld.in')
-rw-r--r-- | opcodes/cgen-ibld.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/cgen-ibld.in b/opcodes/cgen-ibld.in index 73e8a3e3605..af2e02cbf99 100644 --- a/opcodes/cgen-ibld.in +++ b/opcodes/cgen-ibld.in @@ -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 |