Changeset 3130 in CLRX


Ignore:
Timestamp:
Jun 4, 2017, 1:38:35 PM (19 months ago)
Author:
matszpk
Message:

CLRadeonExtender: CLRXDocs: Add info about S_SET_GPR_IDX_(OFF/MODE).

Location:
CLRadeonExtender/trunk/doc
Files:
2 edited

Legend:

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

    r3129 r3130  
    249249Operation: 
    250250```
    251 MODE.gpr_idx_en = 1
     251MODE = (MODE & ~(1U<<27)) | (1U<<27)
    252252M0 = (M0 & 0xffff0f00) | ((IMM8 & 15)<<12) | (SSRC0 & 0xff)
    253253```
  • CLRadeonExtender/trunk/doc/GcnInstrsSopp.md

    r3129 r3130  
    171171#### S_ENDPGM_SAVED
    172172
    173 Opcode: 27 (0x1b) for GCN 1.2 
     173Opcode: 27 (0x1b) only for GCN 1.2 
    174174Syntax: S_ENDPGM_SAVED 
    175175Description: End of program; signal that a wave has been saved by the context-switch trap handler, and
     
    225225Syntax: S_SENDMSGHALT SENDMSG(MSG, GS_OP, STREAMID) 
    226226Description: Send message and halt.
     227
     228#### S_SET_GPR_IDX_MODE
     229
     230Opcode: 29 (0x1d) only for GCN 1.2 
     231Syntax: S_SET_GPR_IDX_MODE SIMM16 
     232Description: Set GPR indexing mode (12-15 bits in MO). 
     233Operation:
     234```
     235M0 = (M0 & 0xffff0fff) | ((SIMM16 & 15)<<12)
     236```
     237
     238#### S_SET_GPR_IDX_OFF
     239
     240Opcode: 28 (0x1c) only for GCN 1.2 
     241Syntax: S_SET_GPR_IDX_OFF 
     242Description: Disables GPR indexing. 
     243Operation: 
     244```
     245MODE = (MODE & ~(1U<<27))
     246```
    227247
    228248#### S_SETHALT
Note: See TracChangeset for help on using the changeset viewer.