[aarch64] - Only use MOV for disassembly when shifter op is LSL #0
authorEgeyar Bagcioglu <egeyar.bagcioglu@oracle.com>
Mon, 3 Dec 2018 17:31:44 +0000 (17:31 +0000)
committerRichard Earnshaw <Richard.Earnshaw@arm.com>
Mon, 3 Dec 2018 17:34:33 +0000 (17:34 +0000)
ARM Architecture Reference Manual for the profile ARMv8-A, Issue C.a,
states that MOV (register) is an alias of the ORR (shifted register)
iff shift == '00' && imm6 == '000000' && Rn == '11111'.  However, mov
is currently preferred for a broader range of orr instructions, which
is incorrect.

2018-12-03  Egeyar Bagcioglu <egeyar.bagcioglu@oracle.com>

opcodes:
PR 23193
        PR 19721
        * aarch64-tbl.h (aarch64_opcode_table): Only disassemble an ORR
encoding as MOV if the shift operation is a left shift of zero.

gas:
PR 23193
PR 19721
* testsuite/gas/aarch64/pr19721.s: Add new test cases.
* testsuite/gas/aarch64/pr19721.d: Correct existing test
cases and add new ones.


No differences found
This page took 0.024624 seconds and 4 git commands to generate.