Skip to content

Problem with constant argument to v_cndmask_b32 on gfx1010 #33

@Lolliedieb

Description

@Lolliedieb

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions