Rx and RxIn are set separately in hi->ops although they are the same register (Rx registers are used for input and output).
But the register attribute for RxIn is set to HEX_OP_REG_OUT although it is an "in" register.
The attribute is falsely assigned here:
|
if op.is_out_operand: |
|
code += "hi->ops[{}].attr |= HEX_OP_REG_OUT;\n".format(op.syntax_index) |
Currently the attributes are not used. So there is not much damage.
RxandRxInare set separately inhi->opsalthough they are the same register (Rx registers are used for input and output).But the register attribute for
RxInis set toHEX_OP_REG_OUTalthough it is an "in" register.The attribute is falsely assigned here:
rz-hexagon/InstructionTemplate.py
Lines 217 to 218 in 7363e59
Currently the attributes are not used. So there is not much damage.