2010-07-08 Tejas Belagod <tejas.belagod@arm.com>
authorRichard Earnshaw <richard.earnshaw@arm.com>
Thu, 8 Jul 2010 22:40:28 +0000 (22:40 +0000)
committerRichard Earnshaw <richard.earnshaw@arm.com>
Thu, 8 Jul 2010 22:40:28 +0000 (22:40 +0000)
commit52e7f43db080a890fc08dde31235f7c7a86178b9
tree22f39485e0fede72f384d445dce769a6fdbd8e2e
parent7e6e39e562179fd655e1407bba89c957902b5a8b
2010-07-08 Tejas Belagod <tejas.belagod@arm.com>

gas/testsuite
* gas/arm/barrier.s: New file.
* gas/arm/barrier.d: New file.
* gas/arm/barrier-thumb.s: New file.
* gas/arm/barrier-thumb.d: New file.
* gas/arm/barrier-bad.s: New file.
* gas/arm/barrier-bad.d: New file.
* gas/arm/barrier-bad.l: New file.
* gas/arm/barrier-bad-thumb.s: New file.
* gas/arm/barrier-bad-thumb.d: New file.
* gas/arm/barrier-bad-thumb.l: New file.

gas/config
* tc-arm.c (OP_oBARRIER): Remove.
(OP_oBARRIER_I15): Add.
(po_barrier_or_imm): Add macro.
(parse_operands): Improve OP_oBARRIER_I15 operand parsing.
(do_barrier): Check correct immediate range.
(do_t_barrier): Likewise.
(barrier_opt_names): Add entries for more symbolic operands.
(insns): Replace OP_oBARRIER with OP_oBARRIER_I15 for barriers.

opcodes/
* arm-dis.c (print_insn_arm): Add cases for printing more
symbolic operands.
(print_insn_thumb32): Likewise.
15 files changed:
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/barrier-bad-thumb.d [new file with mode: 0644]
gas/testsuite/gas/arm/barrier-bad-thumb.l [new file with mode: 0644]
gas/testsuite/gas/arm/barrier-bad-thumb.s [new file with mode: 0644]
gas/testsuite/gas/arm/barrier-bad.d [new file with mode: 0644]
gas/testsuite/gas/arm/barrier-bad.l [new file with mode: 0644]
gas/testsuite/gas/arm/barrier-bad.s [new file with mode: 0644]
gas/testsuite/gas/arm/barrier-thumb.d [new file with mode: 0644]
gas/testsuite/gas/arm/barrier-thumb.s [new file with mode: 0644]
gas/testsuite/gas/arm/barrier.d [new file with mode: 0644]
gas/testsuite/gas/arm/barrier.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/arm-dis.c