diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2013-08-19 19:26:11 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2013-08-19 19:26:11 +0000 |
commit | 1a00e61226b3ff5d9be22992b7c4bf15bda6edb2 (patch) | |
tree | 869bff5cc416d2e1cc1793ddb6a847664dcba939 /compile | |
parent | e3de51ce1105cd1d8bfbbe6e298233098822996a (diff) | |
download | gdb-1a00e61226b3ff5d9be22992b7c4bf15bda6edb2.zip gdb-1a00e61226b3ff5d9be22992b7c4bf15bda6edb2.tar.gz gdb-1a00e61226b3ff5d9be22992b7c4bf15bda6edb2.tar.bz2 |
gas/
* config/tc-mips.c (mips_arg_info): Remove soft_match.
(match_out_of_range, match_not_constant): New functions.
(match_const_int): Remove fallback parameter and check for soft_match.
Use match_not_constant.
(match_mapped_int_operand, match_addiusp_operand)
(match_perf_reg_operand, match_save_restore_list_operand)
(match_mdmx_imm_reg_operand): Update accordingly. Use
match_out_of_range and set_insn_error* instead of as_bad.
(match_int_operand): Likewise. Use match_not_constant in the
!allows_nonconst case.
(match_float_constant): Report invalid float constants.
(match_insn, match_mips16_insn): Remove soft_match code. Rely on
match_float_constant to check for invalid constants. Fail the
match if match_const_int or match_float_constant return false.
(mips_ip): Update accordingly.
(mips16_ip): Likewise. Undo null termination of instruction name
once lookup is complete.
gas/testsuite/
* gas/mips/ext-ill.l, gas/mips/lui-1.l, gas/mips/mips16e-64.l,
gas/mips/mips32r2-ill-fp64.l, gas/mips/mips32r2-ill-nofp.l,
gas/mips/mips32r2-ill.l, gas/mips/mips64r2-ill.l,
gas/mips/octeon-ill.l, gas/mips/r5900-error-vu0.l,
gas/mips/vr5400-ill.l: Adjust expected errors.
* gas/mips/micromips-size-0.l,
gas/mips/micromips-size-0.s: Likewise. Add new tests.
* gas/mips/mips16e-save-err.s, gas/mips/mips16e-save-err.l: New test.
* gas/mips/mips.exp: Run it.
Diffstat (limited to 'compile')
0 files changed, 0 insertions, 0 deletions