Changes between Version 16 and Version 17 of ClrxDisasm
- Timestamp:
- 12/29/17 14:00:36 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ClrxDisasm
v16 v17 4 4 <h2>CLRadeonExtender Disassembler</h2> 5 5 <p>The CLRadeonExtender provides a disassembler that can disassemble code 6 for Radeon GPU's based on the GCN 1.0/1.1/1.2/1.4 (AMD VEGA) architecture.6 for the Radeon GPU's based on the GCN 1.0/1.1/1.2/1.4 (AMD VEGA) architecture. 7 7 Program is called <code>clrxdisasm</code>.</p> 8 8 <p>Disassembler can handle the AMD Catalyst(tm) OpenCL(tm) kernel binaries and the 9 9 GalliumCompute kernel binaries. It displays instructions of the code and optionally 10 structure of binaries (kernels and their configuration). Output of that program10 structure of the binaries (kernels and their configuration). Output of that program 11 11 can be used as input to the CLRX assembler if option '--all' will be used.</p> 12 12 <h3>Invoking a disassembler</h3> … … 21 21 <li> 22 22 <p><strong><-m></strong>, <strong>--metadata></strong></p> 23 <p>Print metadata from AMD Catalyst binaries to output. For AMD Catalyst binaries,24 disassembler prints internal metadata. For GalliumCompute binaries disassembler23 <p>Print metadata from AMD Catalyst binaries to output. For a AMD Catalyst binaries, 24 disassembler prints internal metadata. For a GalliumCompute binaries disassembler 25 25 prints argument of the kernel and proginfo entries.</p> 26 26 </li> … … 29 29 <p>Print data section from binaries. For AMD Catalyst binaries disassembler prints 30 30 global constant data, and '.data' section for particular kernel executables. 31 For GalliumCompute binaries disassembler prints global constant data.</p>31 For GalliumCompute binaries disassembler prints a global constant data.</p> 32 32 </li> 33 33 <li> 34 34 <p><strong>-c</strong>, <strong>--calNotes</strong></p> 35 <p>Print list of ATI CAL notes and their content from AMD Catalyst binaries to output.</p>35 <p>Print list of the ATI CAL notes and their content from AMD Catalyst binaries to output.</p> 36 36 </li> 37 37 <li> … … 42 42 <p><strong>-f</strong>, <strong>--float</strong></p> 43 43 <p>Print floating point literals in instructions if instructions accept float point values 44 and their has constant literal. Floating point values will be inside comment.</p>44 and their has a constant literal. Floating point values will be inside comment.</p> 45 45 </li> 46 46 <li> … … 64 64 <p><strong>-r</strong>, <strong>--raw</strong></p> 65 65 <p>Treat input as raw code. By default, disassembler assumes that input code is for 66 GCN1.0 architecture.</p>66 the GCN1.0 architecture.</p> 67 67 </li> 68 68 <li> … … 99 99 <li> 100 100 <p><strong>-?</strong>, <strong>--help</strong></p> 101 <p>Print help and list of options.</p>101 <p>Print help and list of the options.</p> 102 102 </li> 103 103 <li> … … 111 111 </ul> 112 112 <h3>Output</h3> 113 <p><code>clrxdisasm</code> prints disassembled code to standard output and errors to113 <p><code>clrxdisasm</code> prints a disassembled code to standard output and errors to 114 114 standard error output. <code>clrxdisasm</code> returns 0 if succeeded, otherwise it returns 1 115 and prints anerror messages to stderr</p>115 and prints the error messages to stderr</p> 116 116 <h3>Sample usage</h3> 117 <p>Below is sample usage of <code>clrxdisasm</code>:</p>117 <p>Below is sample usage of the <code>clrxdisasm</code>:</p> 118 118 <p><code>clrxdisasm -a DCT.amd.0</code></p> 119 119 }}}