aarch64: Don't decode aliased instructions twice
Fixes redundant decoding of aliased instructions in the AArch64 disassembler.
This patch addresses an issue in the AArch64 disassembler where aliased instructions could be decoded twice. The aarch64_find_next_alias_opcode function previously returned the base opcode at the end of an alias chain. This led to unnecessary second decodes when determine_disassembling_preference was called. The fix removes the aliased opcode from the alias list to prevent this redundant decoding.
In Details
The patch corrects an inefficiency in aarch64-dis-2.c. When decoding an aliased instruction, the aarch64_find_next_alias_opcode function's chain might terminate by returning the base opcode itself. This can cause determine_disassembling_preference to perform a second, unnecessary decode of the base opcode. By removing the base opcode from the alias mappings, this redundant step is avoided.