]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/doc/c-arm.texi
2006-02-24 Paul Brook <paul@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Fri, 24 Feb 2006 15:36:36 +0000 (15:36 +0000)
committerPaul Brook <paul@codesourcery.com>
Fri, 24 Feb 2006 15:36:36 +0000 (15:36 +0000)
commit62b3e31101ef2dfb96ee4652d5145e722b335e31
tree33f499d017d6339d98b731f279c3eb847a719d7f
parent15c46491c2ae1e2a5a9168f78e05c76bc3eb31a8
2006-02-24  Paul Brook  <paul@codesourcery.com>

gas/
* config/arm/tc-arm.c (arm_ext_v6_notm, arm_ext_div, arm_ext_v7,
arm_ext_v7a, arm_ext_v7r, arm_ext_v7m): New variables.
(struct asm_barrier_opt): Define.
(arm_v7m_psr_hsh, arm_barrier_opt_hsh): New variables.
(parse_psr): Accept V7M psr names.
(parse_barrier): New function.
(enum operand_parse_code): Add OP_oBARRIER.
(parse_operands): Implement OP_oBARRIER.
(do_barrier): New function.
(do_dbg, do_pli, do_t_barrier, do_t_dbg, do_t_div): New functions.
(do_t_cpsi): Add V7M restrictions.
(do_t_mrs, do_t_msr): Validate V7M variants.
(md_assemble): Check for NULL variants.
(v7m_psrs, barrier_opt_names): New tables.
(insns): Add V7 instructions.  Mark V6 instructions absent from V7M.
(md_begin): Initialize arm_v7m_psr_hsh and arm_barrier_opt_hsh.
(arm_cpu_option_table): Add Cortex-M3, R4 and A8.
(arm_arch_option_table): Add armv7, armv7a, armv7r and armv7m.
(struct cpu_arch_ver_table): Define.
(cpu_arch_ver): New.
(aeabi_set_public_attributes): Use cpu_arch_ver.  Set
Tag_CPU_arch_profile.
* doc/c-arm.texi: Document new cpu and arch options.
gas/testsuite/
* gas/arm/thumb32.d: Fix expected msr and mrs output.
* gas/arm/arch7.d: New test.
* gas/arm/arch7.s: New test.
* gas/arm/arch7m-bad.l: New test.
* gas/arm/arch7m-bad.d: New test.
* gas/arm/arch7m-bad.s: New test.
include/opcode/
* arm.h: Add V7 feature bits.
opcodes/
* arm-dis.c (arm_opcodes): Add V7 instructions.
(thumb32_opcodes): Ditto.  Handle V7M MSR/MRS variants.
(print_arm_address): New function.
(print_insn_arm): Use it.  Add 'P' and 'U' cases.
(psr_name): New function.
(print_insn_thumb32): Add 'U', 'C' and 'D' cases.
14 files changed:
gas/ChangeLog
gas/config/tc-arm.c
gas/doc/c-arm.texi
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/arch7.d [new file with mode: 0644]
gas/testsuite/gas/arm/arch7.s [new file with mode: 0644]
gas/testsuite/gas/arm/arch7m-bad.d [new file with mode: 0644]
gas/testsuite/gas/arm/arch7m-bad.l [new file with mode: 0644]
gas/testsuite/gas/arm/arch7m-bad.s [new file with mode: 0644]
gas/testsuite/gas/arm/thumb32.d
include/opcode/ChangeLog
include/opcode/arm.h
opcodes/ChangeLog
opcodes/arm-dis.c