summaryrefslogtreecommitdiff
path: root/gas/ChangeLog
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@nildram.co.uk>2013-08-19 19:26:10 +0000
committerRichard Sandiford <rsandifo@nildram.co.uk>2013-08-19 19:26:10 +0000
commitd369f97b246e30a06bddeb34d1bc53ceaa657b3c (patch)
treecb6954438f5b5b1bc936c4fe5cbeeff0415d95f6 /gas/ChangeLog
parentb0b4b38dde3530b93dba703a7e926d25c7334cfc (diff)
downloadbinutils-redhat-d369f97b246e30a06bddeb34d1bc53ceaa657b3c.tar.gz
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 'gas/ChangeLog')
-rw-r--r--gas/ChangeLog20
1 files changed, 20 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index daeace0747..d6ab0869b5 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,25 @@
2013-08-19 Richard Sandiford <rdsandiford@googlemail.com>
+ * 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.
+
+2013-08-19 Richard Sandiford <rdsandiford@googlemail.com>
+
* config/tc-mips.c (mips_insn_error_format): New enum.
(mips_insn_error): New struct.
(insn_error): Change to a mips_insn_error.