[RFA/ARM 07/21] Add support for new options to DMB/DSB

Matthew Gretton-Dann matthew.gretton-dann@arm.com
Thu Aug 23 14:59:00 GMT 2012
ARMv8 adds new options to DMB/DSB in A32/T32.

We do a bit of re-engineering in opcodes/arm-dis.c to common up the
decode of the options to DMB/DSB.

gas/ChangeLog:
2012-08-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>

	* config/tc-arm.c (asm_barrier_opt): Add arch field.
	(mark_feature_used): New function.
	(parse_barrier): Check specified option is valid for the
	specified architecture.
	(UL_BARRIER): New macro.
	(barrier_opt_names): Update for new barrier options.

gas/testsuite/ChangeLog:
2012-08-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>

	* gas/arm/armv8-a-barrier.s: New testcase.
	* gas/arm/armv8-a-barrier-arm.d: Likewise.
	* gas/arm/armv8-a-barrier-thumb.d: Likewise.

opcodes/ChangeLog:
2012-08-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>

	* arm-dis.c (data_barrier_option): New function.
	(print_insn_arm): Use data_barrier_option.
	(print_insn_thumb32): Use data_barrier_option.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Add-support-for-new-options-to-DMB-DSB.txt
Type: text/x-patch
Size: 9243 bytes
Desc: 0007-Add-support-for-new-options-to-DMB-DSB.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20120823/46c1081e/attachment.bin>


More information about the Binutils mailing list