Changeset 3167 in CLRX


Ignore:
Timestamp:
Jun 16, 2017, 7:55:07 PM (2 years ago)
Author:
matszpk
Message:

CLRadeonExtender: CLRXDocs: Add description for missing VOP2 GCN1.2 instructions. Add description for V_CVT_F16_U16/I16.

Location:
CLRadeonExtender/trunk/doc
Files:
2 edited

Legend:

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

    r3165 r3167  
    319319```
    320320
     321#### V_CVT_F16_I16
     322
     323Opcode: VOP1: 58 (0x3a) for GCN 1.2 
     324Opcode VOP3A: 378 (0x17a) for GCN 1.2 
     325Syntax: V_CVT_F16_I16 VDST, SRC0 
     326Description: Convert 16-bit signed valut to half floating point value. 
     327Operation: 
     328```
     329VDST = (HALF)(INT16)SRC0
     330```
     331
    321332#### V_CVT_F16_U16
    322333
     
    327338Operation: 
    328339```
    329 VDST = (HALF)SRC0
     340VDST = (HALF)(SRC0&0xffff)
    330341```
    331342
  • CLRadeonExtender/trunk/doc/GcnInstrsVop2.md

    r3166 r3167  
    600600```
    601601
     602#### V_MAX_I16
     603
     604Opcode VOP2: 48 (0x30) for GCN 1.2 
     605Opcode VOP3A: 304 (0x130) for GCN 1.2 
     606Syntax: V_MIN_i16 VDST, SRC0, SRC1 
     607Description: Choose largest signed 16-bit value from SRC0 and SRC1,
     608and store result to VDST. 
     609Operation: 
     610```
     611VDST = MAX((INT16)SRC0, (INT16)SRC1)
     612```
     613
    602614#### V_MAX_I32
    603615
     
    627639```
    628640
     641#### V_MAX_U16
     642
     643Opcode VOP2: 47 (0x2f) for GCN 1.2 
     644Opcode VOP3A: 303 (0x12f) for GCN 1.2 
     645Syntax: V_MAX_U16 VDST, SRC0, SRC1 
     646Description: Choose largest unsigned 16-bit value from SRC0 and SRC1,
     647and store result to VDST. 
     648Operation: 
     649```
     650VDST = MAX(SRC0&0xffff, SRC1&0xffff)
     651```
     652
    629653#### V_MAX_U32
    630654
     
    690714```
    691715
    692 #### V_MIN_i16
     716#### V_MIN_I16
    693717
    694718Opcode VOP2: 50 (0x32) for GCN 1.2 
Note: See TracChangeset for help on using the changeset viewer.