diff options
Diffstat (limited to 'gas/config/tc-mips.c')
-rw-r--r-- | gas/config/tc-mips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 20e8020..1e7cddc 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -14023,7 +14023,7 @@ mips16_immed (const char *file, unsigned int line, int type, _("operand value out of range for instruction")); } uval = ((unsigned int) val >> operand->shift) - operand->bias; - if (length == 2) + if (length == 2 || operand->root.lsb != 0) *insn = mips_insert_operand (&operand->root, *insn, uval); else *insn |= mips16_immed_extend (uval, operand->root.size); |