gas/
authorJulian Brown <julian@codesourcery.com>
Mon, 11 Apr 2011 18:49:06 +0000 (18:49 +0000)
committerJulian Brown <julian@codesourcery.com>
Mon, 11 Apr 2011 18:49:06 +0000 (18:49 +0000)
commitd2cd12056528be6db995998f488df65c92810c22
treed78777edb7edfe4fc6a5541da2679e4c8ab42f99
parent4a57f2cf9c4dea05d5b0dfe1799f47b0f8fed96f
gas/
    * config/tc-arm.c (parse_psr): Add LHS argument. Improve support
    for *APSR bitmasks.
    (operand_parse_code): Replace OP_PSR with OP_wPSR and OP_rPSR.
    Remove OP_RVC_PSR.
    (parse_operands): Likewise.
    (do_mrs): Tweak error message for constraint.
    (do_t_mrs): Update constraints for changes to APSR support.
    (do_t_msr): Likewise. Don't set PSR_f flag here.
    (psrs): Remove "g", "nzcvq", "nzcvqg".
    (insns): Tweak entries for msr and mrs instructions.

    opcodes/
    * arm-dis.c (psr_name): Fix typo for BASEPRI_MAX.
    (print_insn_thumb32): Add APSR bitmask support.

    gas/testsuite/
    * gas/arm/mrs-msr-thumb-v7-m.s: New.
    * gas/arm/mrs-msr-thumb-v7-m.d: New.
    * gas/arm/mrs-msr-thumb-v7-m-bad.d: New.
    * gas/arm/mrs-msr-thumb-v7-m-bad.l: New.
    * gas/arm/mrs-msr-thumb-v7-m-bad.s: New.
    * gas/arm/mrs-msr-thumb-v7e-m.d: New.
    * gas/arm/mrs-msr-thumb-v7e-m.s: New.
    * gas/arm/mrs-msr-arm-v7-a-bad.d: New.
    * gas/arm/mrs-msr-arm-v7-a-bad.l: New.
    * gas/arm/mrs-msr-arm-v7-a-bad.s: New.
    * gas/arm/mrs-msr-arm-v7-a.d: New.
    * gas/arm/mrs-msr-arm-v7-a.s: New.
    * gas/arm/mrs-msr-arm-v6.d: New.
    * gas/arm/mrs-msr-arm-v6.s: New.
    * gas/arm/mrs-msr-thumb-v6t2.d: New.
    * gas/arm/mrs-msr-thumb-v6t2.s: New.
    * gas/arm/arch7.d: Fix typo in disassembly for BASEPRI_MAX,
    bitmasks for IAPSR etc.
    * gas/arm/arch7.s: Specify bitmask for APSR writes.
    * gas/arm/archv6m.s: Likewise.
    * msr-imm-bad.l: Tweak expected disassembly in error message.
    * msr-reg-bad.l: Likewise.
    * msr-imm.d: Tweak expected disassembly.
    * msr-reg.d: Likewise.
    * msr-reg-thumb.d: Likewise.
    * msr-imm.s: Specify bitmask on APSR writes.
    * msr-reg.s: Add comment about deprecated usage.
31 files changed:
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/arch7.d
gas/testsuite/gas/arm/arch7.s
gas/testsuite/gas/arm/archv6m.s
gas/testsuite/gas/arm/mrs-msr-arm-v6.d [new file with mode: 0644]
gas/testsuite/gas/arm/mrs-msr-arm-v6.s [new file with mode: 0644]
gas/testsuite/gas/arm/mrs-msr-arm-v7-a-bad.d [new file with mode: 0644]
gas/testsuite/gas/arm/mrs-msr-arm-v7-a-bad.l [new file with mode: 0644]
gas/testsuite/gas/arm/mrs-msr-arm-v7-a-bad.s [new file with mode: 0644]
gas/testsuite/gas/arm/mrs-msr-arm-v7-a.d [new file with mode: 0644]
gas/testsuite/gas/arm/mrs-msr-arm-v7-a.s [new file with mode: 0644]
gas/testsuite/gas/arm/mrs-msr-thumb-v6t2.d [new file with mode: 0644]
gas/testsuite/gas/arm/mrs-msr-thumb-v6t2.s [new file with mode: 0644]
gas/testsuite/gas/arm/mrs-msr-thumb-v7-m-bad.d [new file with mode: 0644]
gas/testsuite/gas/arm/mrs-msr-thumb-v7-m-bad.l [new file with mode: 0644]
gas/testsuite/gas/arm/mrs-msr-thumb-v7-m-bad.s [new file with mode: 0644]
gas/testsuite/gas/arm/mrs-msr-thumb-v7-m.d [new file with mode: 0644]
gas/testsuite/gas/arm/mrs-msr-thumb-v7-m.s [new file with mode: 0644]
gas/testsuite/gas/arm/mrs-msr-thumb-v7e-m.d [new file with mode: 0644]
gas/testsuite/gas/arm/mrs-msr-thumb-v7e-m.s [new file with mode: 0644]
gas/testsuite/gas/arm/msr-imm-bad.l
gas/testsuite/gas/arm/msr-imm.d
gas/testsuite/gas/arm/msr-imm.s
gas/testsuite/gas/arm/msr-reg-bad.l
gas/testsuite/gas/arm/msr-reg-thumb.d
gas/testsuite/gas/arm/msr-reg.d
gas/testsuite/gas/arm/msr-reg.s
opcodes/ChangeLog
opcodes/arm-dis.c