Fix disassembly of invalid Rt_LS64 operand
AArch64 disassembler now correctly flags invalid Rt register numbers in LS64 instructions.
The AArch64 disassembler now correctly identifies and flags invalid register numbers used with LS64 load/store instructions. The check for valid register numbers has been moved from the operand parsing stage to the general constraint checking function, ensuring it’s applied during disassembly.
In Details
The operand validation for AARCH64_OPND_Rt_LS64 was previously only checked during assembly (in parse_operands). This change moves the check to operand_general_constraint_met_p, which is also used during disassembly. This ensures that invalid Rt register numbers (e.g., outside the allowed range or specific even/odd constraints for LS64) are caught when disassembling code, rather than only during assembly.