gas/
authorDaniel Gutson <dgutson@codesourcery.com>
Fri, 12 Feb 2010 20:15:13 +0000 (20:15 +0000)
committerDaniel Gutson <dgutson@codesourcery.com>
Fri, 12 Feb 2010 20:15:13 +0000 (20:15 +0000)
commit5be8be5d5d9f0ff1ce3e319f0281e7d98103606b
treed9f1ab3128294dbb0eac8fa87fe626b1bdc9d174
parent081dfbf778bccf638e777fd4babc2911d0a59306
gas/
* config/tc-arm.c (asm_opcode): operands type
change.
(BAD_PC_ADDRESSING): New macro message.
(BAD_PC_WRITEBACK): Likewise.
(MIX_ARM_THUMB_OPERANDS): New macro.
(operand_parse_code): Added enum values.
(parse_operands): Added thumb/arm distinction,
plus new enum values handling.
(encode_arm_addr_mode_2): Validations enhanced.
(encode_arm_addr_mode_3): Likewise.
(do_rm_rd_rn): Likewise.
(encode_thumb32_addr_mode): Likewise.
(do_t_ldrex): Likewise.
(do_t_ldst): Likewise.
(do_t_strex): Likewise.
(md_assemble): Call parse_operands with
a new parameter.
(OPS_1): New macro.
(OPS_2): Likewise.
(OPS_3): Likewise.
(OPS_4): Likewise.
(OPS_5): Likewise.
(OPS_6): Likewise.
(insns): Updated insns operands.

gas/testsuite/
* gas/arm/sp-pc-validations-bad.d: New testcase.
* gas/arm/sp-pc-validations-bad.l: New file.
* gas/arm/sp-pc-validations-bad.s: New file.
* gas/arm/sp-pc-validations-bad-t.d: New testcase.
* gas/arm/sp-pc-validations-bad-t.l: New file.
* gas/arm/sp-pc-validations-bad-t.s: New file.
* gas/arm/sp-pc-usage-t.d: Removed invalid insns.
* gas/arm/sp-pc-usage-t.s: Likewise.
* gas/arm/unpredictable.d: Likewise.
* gas/arm/unpredictable.s: Likewise.
* gas/arm/thumb2_bcond.d: Added test.
* gas/arm/thumb2_bcond.s: Likewise.
14 files changed:
ChangeLog
gas/config/tc-arm.c
gas/testsuite/gas/arm/sp-pc-usage-t.d
gas/testsuite/gas/arm/sp-pc-usage-t.s
gas/testsuite/gas/arm/sp-pc-validations-bad-t.d [new file with mode: 0644]
gas/testsuite/gas/arm/sp-pc-validations-bad-t.l [new file with mode: 0644]
gas/testsuite/gas/arm/sp-pc-validations-bad-t.s [new file with mode: 0644]
gas/testsuite/gas/arm/sp-pc-validations-bad.d [new file with mode: 0644]
gas/testsuite/gas/arm/sp-pc-validations-bad.l [new file with mode: 0644]
gas/testsuite/gas/arm/sp-pc-validations-bad.s [new file with mode: 0644]
gas/testsuite/gas/arm/thumb2_bcond.d
gas/testsuite/gas/arm/thumb2_bcond.s
gas/testsuite/gas/arm/unpredictable.d
gas/testsuite/gas/arm/unpredictable.s