Hello :)
I have a kernel that was compiled with the drivers internal compiler and that I wanted to tweak using clrxasm. My problem is that when I disassemble it, one of the lines is for example
/000000000300: 020212ff 70eac201/ v_cndmask_b32 v1, 0x70eac201, v9, vcc_lo
so the VOP2 variant of the operation attached with an additional constant. Sadly the assembler rejects now this command with error message
Error: Literal in VOP3 encoding is illegal
but well this is no VOP3 (obviously) - at least not for Navi and the kernel was processed without complain with the disasm before (with parameters -aC).
Edit: If am allowed to ask a question here, too:
Is it save to remove the entries for .kernel_code_entry_offset to let them recompute when changing lines in the kernel? Or do I have to compute the new addresses by hand?
Hello :)
I have a kernel that was compiled with the drivers internal compiler and that I wanted to tweak using clrxasm. My problem is that when I disassemble it, one of the lines is for example
/000000000300: 020212ff 70eac201/ v_cndmask_b32 v1, 0x70eac201, v9, vcc_lo
so the VOP2 variant of the operation attached with an additional constant. Sadly the assembler rejects now this command with error message
Error: Literal in VOP3 encoding is illegal
but well this is no VOP3 (obviously) - at least not for Navi and the kernel was processed without complain with the disasm before (with parameters -aC).
Edit: If am allowed to ask a question here, too:
Is it save to remove the entries for .kernel_code_entry_offset to let them recompute when changing lines in the kernel? Or do I have to compute the new addresses by hand?