[wiki:ClrxToc Back to Table of content] {{{ #!html

CLRadeonExtender Disassembler

The CLRadeonExtender provides a disassembler that can disassemble code for the Radeon GPU's based on the GCN 1.0/1.1/1.2/1.4 (AMD VEGA) architecture. Program is called clrxdisasm.

Disassembler can handle the AMD Catalyst(tm) OpenCL(tm) kernel binaries and the GalliumCompute kernel binaries. It displays instructions of the code and optionally structure of the binaries (kernels and their configuration). Output of that program can be used as input to the CLRX assembler if option '--all' will be used.

Invoking a disassembler

The clrxdisasm can be invoked in following way:

clrxdisasm [-mdcCfsHhar?] [-g GPUDEVICE] [-a ARCH] [-t VERSION] [--metadata] [--data] [--calNotes] [--config] [--floats] [--hexcode] [--setup] [--HSAConfig] [--all] [--raw] [--gpuType=GPUDEVICE] [--arch=ARCH] [--driverVersion=VERSION] [--llvmVersion=VERSION] [--buggyFPLit] [--help] [--usage] [--version] [file...]

Program Options

Following options clrxdisasm can recognize:

Output

clrxdisasm prints a disassembled code to standard output and errors to standard error output. clrxdisasm returns 0 if succeeded, otherwise it returns 1 and prints an error messages to stderr

Sample usage

Below is sample usage of the clrxdisasm:

clrxdisasm -a DCT.amd.0

}}}