[AArch64] Let aliased instructions be their preferred form.
authorMatthew Wahab <matthew.wahab@arm.com>
Fri, 27 Nov 2015 15:02:26 +0000 (15:02 +0000)
committerMatthew Wahab <matthew.wahab@arm.com>
Fri, 27 Nov 2015 15:05:09 +0000 (15:05 +0000)
commit35822b3812f74319dfad28876d37645589b83a80
treed43a1073d6c7e3c1dcf236a29452fa07f33e8047
parent805035d70cd8637c169caf97800accdd267d1d8e
[AArch64] Let aliased instructions be their preferred form.

Although the AArch64 backend supports aliased instructions, the aliasing
forms are always preferred over the real instruction. This makes it
awkward to handle instructions which have aliases but which are their
own preferred form.

This patch includes the instruction being aliased in the list of
alternatives which is searched when considering which form to use.

opcodes/
2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>

* aarch64-asm-2.c: Regenerate.
* aarch64-dis-2.c: Regenerate.
* aarch64-dis.c: Weaken assert.
* aarch64-gen.c: Include the instruction in the list of its
possible aliases.

Change-Id: I1f23eb25fccef76a64d3d732d58761bd25fad94e
opcodes/ChangeLog
opcodes/aarch64-asm-2.c
opcodes/aarch64-dis-2.c
opcodes/aarch64-dis.c
opcodes/aarch64-gen.c