Skip to content

Option -aC produces disassembly that does not create a full binary #22

@Lolliedieb

Description

@Lolliedieb

Hello,

I have got a strange problem with the disassembler.
The kernel I created was build initially by the build in compiler of the driver (amdgpu-pro 18.30, -t parameter is -t 267103 on a RX 580). If I disassemble the kernel with clrxdisasm -a -t 267103 the created assembly can afterwards problem free converted back with clrxasm into a binary that I can load and execute (and also the changes I want to do in asm so far work fine).

But if I do the same with -aC it seems some part of the configuration is not completely translated. The kernel then builds again and also the driver succeeds to load it, but the code in the kernel called just does not execute.

It would be nice to change the configuration though (and I have to admit I rather need the hsa config -aCHL). What I can say is that the resulting binary also does not have the same size (96.5 kbyte vs 97.x), so there seems to be an actual difference.

Kind regards

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