Changes between Version 22 and Version 23 of ClrxAsmGallium


Ignore:
Timestamp:
Sep 5, 2017, 1:00:29 PM (10 months ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ClrxAsmGallium

    v22 v23  
    2525<p>Assembler for GalliumCompute format counts all SGPR registers and add extra registers
    2626(VCC, FLAT_SCRATCH, XNACK_MASK) if any used to register pool.
    27  The VCC register is included by default.</p>
     27 The VCC register is included by default.
     28In AMDHSA configuration (LLVM &gt;= 4.0.0) then special fields determines
     29what extra SGPR extra has been added.</p>
    2830<h2>List of the specific pseudo-operations</h2>
    2931<h3>.arch_minor</h3>
     
    129131<p>This pseudo-op must be inside kernel configuration (<code>.config</code>).
    130132Enable usage of the DEBUG_MODE.</p>
     133<h3>.default_hsa_features</h3>
     134<p>This pseudo-op must be inside kernel configuration (<code>.config</code>) and can ben used only if
     135LLVM version is 4.0.0 or later. It sets default HSA kernel features and register features
     136(extra SGPR registers usage).</p>
    131137<h3>.dims</h3>
    132138<p>Syntax: .dims DIMENSIONS</p>