[PATCH][GAS][AArch64] Fix MSR/MRS Encoding and Decoding

Tamar Christina tamar.christina@arm.com
Thu Mar 8 18:14:00 GMT 2018

Hi All,

This patch corrects the opcode and mask for the MSR and MRS instructions.
These two instructions have bit 20 set but the current CORE_INSN do not
correctly have bit 20 set causing invalid encoding and decoding.

Cross compiled and regtested:

 * aarch64-none-elf
 * aarch64_be-none-elf

and no regressions.

Bootstrapped and regtested on:

 * aarch64-none-elf
 * aarch64-none-elf (32 bit schroot)

and no regressions.

Ok for master?


2018-03-08  Tamar Christina  <tamar.christina@arm.com>

	* aarch64-dis-2.c: Regenerate.
	* aarch64-tbl.h (aarch64_opcode_table): Fix MSR and MRS encoding.

2018-03-08  Tamar Christina  <tamar.christina@arm.com>

	* testsuite/gas/aarch64/sysreg-1.d: Update encodings.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rb9034.patch
Type: text/x-diff
Size: 14288 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20180308/d3ed2c86/attachment.bin>

More information about the Binutils mailing list