include/opcode/
* mips.h (mips_pcrel_operand): Inherit from mips_int_operand. (mips_int_operand_min, mips_int_operand_max): New functions. (mips_decode_pcrel_operand): Use mips_decode_int_operand. opcodes/ * mips-formats.h (PCREL): Reorder parameters and update the definition to match new mips_pcrel_operand layout. (JUMP, JALX, BRANCH): Update accordingly. * mips16-opc.c (decode_mips16_operand): Likewise. gas/ * config/tc-mips.c (match_int_operand): Use mips_int_operand_min and mips_int_operand_max. (mips16_immed_operand, mips16_immed_operands, MIPS16_NUM_IMMED): Delete. (mips16_immed_operand, mips16_immed_in_range_p): New functions. (mips16_immed, mips16_extended_frag): Use them. Use mips_int_operand instead of mips16_immed_operand.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2013-08-03 Richard Sandiford <rdsandiford@googlemail.com>
|
||||
|
||||
* mips.h (mips_pcrel_operand): Inherit from mips_int_operand.
|
||||
(mips_int_operand_min, mips_int_operand_max): New functions.
|
||||
(mips_decode_pcrel_operand): Use mips_decode_int_operand.
|
||||
|
||||
2013-08-01 Richard Sandiford <rdsandiford@googlemail.com>
|
||||
|
||||
* mips.h (mips_decode_reg_operand): New function.
|
||||
|
Reference in New Issue
Block a user