Changeset 3996 in CLRX


Ignore:
Timestamp:
Apr 14, 2018, 9:10:46 AM (5 days ago)
Author:
matszpk
Message:

CLRadeonExtender: CLRXDocs: add extra info about setting up number of the SGPRs registers.

Location:
CLRadeonExtender/trunk/doc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/doc/ClrxAsmAmd.md

    r3755 r3996  
    3232
    3333To used scalar registers, assembler add 2 additional registers for handling VCC.
     34The `.sgprsnum` set number of all SGPRs except VCC.
    3435
    3536## List of the specific pseudo-operations
  • CLRadeonExtender/trunk/doc/ClrxAsmAmdCl2.md

    r3832 r3996  
    5858## Scalar register allocation
    5959
    60 Depend on configuration options, an assembler add VCC and FLAT_SCRATCH
     60Depend on configuration options, an assembler add VCC, FLAT_SCRATCH and XNACK_MASK
    6161(if `.useenqueue` or `.usegeneric` enabled).
    6262In HSA configuration mode, a special fields determines
    63 what extra SGPR extra has been added.
     63what extra SGPR registers (FLAT_SCRATCH, VCC and XNACK_MASK) has been added.
     64
     65While using HSA kernel configuration (`.hsaconfig`) the `.sgprsnum` set number of all SGPRs
     66including VCC, FLAT_SCRATCH and XNACK_MASK.
     67While using kernel configuration (`.config`) the `.sgprsnum` set number of all SGPRs
     68except VCC and FLAT_SCRATCH and XNACK_MASK (rule from AMD binary format support).
    6469
    6570## List of the specific pseudo-operations
  • CLRadeonExtender/trunk/doc/ClrxAsmGallium.md

    r3750 r3996  
    5656 The VCC register is included by default.
    5757In AMDHSA configuration (LLVM >= 4.0.0) then special fields determines
    58 what extra SGPR extra has been added.
     58what extra SGPR registers (FLAT_SCRATCH, VCC and XNACK_MASK) has been added.
     59
     60The `.sgprsnum` set number of all SGPRs including VCC, FLAT_SCRATCH and XNACK_MASK.
    5961
    6062## List of the specific pseudo-operations
  • CLRadeonExtender/trunk/doc/ClrxAsmRocm.md

    r3900 r3996  
    3737An assembler for ROCm format counts all SGPR registers and add extra registers
    3838(FLAT_SCRATCH, XNACK_MASK). Special fields determines
    39 what extra SGPR extra has been added. The VCC register is included by default.
     39what extra SGPR registers (FLAT_SCRATCH, VCC and XNACK_MASK) has been added.
     40The VCC register is included by default.
     41
     42The `.sgprsnum` set number of all SGPRs including VCC, FLAT_SCRATCH and XNACK_MASK.
    4043
    4144## Expression with sections
Note: See TracChangeset for help on using the changeset viewer.