AArch64: Make comparison to QLF_NIL more explicit.
Replaces implicit zero comparison with explicit `AARCH64_OPND_QLF_NIL` comparison for operand qualifiers.
This commit improves code clarity in the AArch64 opcode handling by explicitly comparing operand qualifiers to AARCH64_OPND_QLF_NIL instead of relying on an implicit zero comparison. This change enhances code readability and avoids potential issues if the value of AARCH64_OPND_QLF_NIL were to change in the future.
In Details
In opcodes/aarch64-opc.c, comparisons against inst_dest.qualifier and blk_dest.qualifier were implicitly checking for zero, assuming AARCH64_OPND_QLF_NIL was zero. This commit makes the comparison explicit.
For Context
When processing AArch64 assembly instructions, the binutils need to check the qualifiers of operands (which specify details like the size and type of data). This commit changes the code to explicitly check if a qualifier is equal to a special "null" value, instead of relying on the assumption that the null value is zero. This makes the code clearer and more robust.