Changeset 1778 in CLRX


Ignore:
Timestamp:
Dec 4, 2015, 10:24:01 PM (4 years ago)
Author:
matszpk
Message:

CLRadeonExtender: Updated VOPC instruction tables.

File:
1 edited

Legend:

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

    r1777 r1778  
    11## GCN ISA VOPC/VOP3 instructions
    22
    3 VOPC instructions can be encoded in the VOPC encoding and the VOP3A/VOP3B encoding.
     3VOPC instructions can be encoded in the VOPC encoding and the VOP3A encoding.
    44List of fields for VOPC encoding:
    55
     
    19190-7   | SDST     | Scalar destination operand
    20208-10  | ABS      | Absolute modifiers for source operands (VOP3A)
    21 8-14  | SDST     | Scalar destination operand (VOP3B)
    222111    | CLAMP    | CLAMP modifier (VOP3A)
    23 15    | CLAMP    | CLAMP modifier (VOP3B)
    242217-25 | OPCODE   | Operation code
    252326-31 | ENCODING | Encoding type. Must be 0b110100
     
    36340-7   | SDST     | Scalar destination operand
    37358-10  | ABS      | Absolute modifiers for source operands (VOP3A)
    38 8-14  | SDST     | Scalar destination operand (VOP3B)
    393615    | CLAMP    | CLAMP modifier
    403716-25 | OPCODE   | Operation code
     
    187184Syntax VOPC: V_CMP_CLASS_F16 VCC, SRC0, SRC1 
    188185Syntax VOP3: V_CMP_CLASS_F16 SDST, SRC0, SRC1 
    189 Operation: Check whether SSRC0 half floating point value belongs to one of specified class.
     186Operation: Check whether SRC0 half floating point value belongs to one of specified class.
    190187Classes are specified as set bits in SRC1. If that condition is satisfied then store
    1911881 to bit of SDST with number of current lane id, otherwise clear that bit.
     
    210207Syntax VOPC: V_CMPX_CLASS_F16 VCC, SRC0, SRC1 
    211208Syntax VOP3: V_CMPX_CLASS_F16 SDST, SRC0, SRC1 
    212 Operation: Check whether SSRC0 half floating point value belongs to one of specified class.
     209Operation: Check whether SRC0 half floating point value belongs to one of specified class.
    213210Classes are specified as set bits in SRC1. If that condition is satisfied then store
    2142111 to bit of SDST and EXEC with number of current lane id, otherwise clear that bit.
     
    234231Syntax VOPC: V_CMP_CLASS_F32 VCC, SRC0, SRC1 
    235232Syntax VOP3: V_CMP_CLASS_F32 SDST, SRC0, SRC1 
    236 Operation: Check whether SSRC0 single floating point value belongs to one of specified class.
     233Operation: Check whether SRC0 single floating point value belongs to one of specified class.
    237234Classes are specified as set bits in SRC1. If that condition is satisfied then store
    2382351 to bit of SDST with number of current lane id, otherwise clear that bit.
     
    257254Syntax VOPC: V_CMPX_CLASS_F32 VCC, SRC0, SRC1 
    258255Syntax VOP3: V_CMPX_CLASS_F32 SDST, SRC0, SRC1 
    259 Operation: Check whether SSRC0 single floating point value belongs to one of specified class.
     256Operation: Check whether SRC0 single floating point value belongs to one of specified class.
    260257Classes are specified as set bits in SRC1. If that condition is satisfied then store
    2612581 to bit of SDST and EXEC with number of current lane id, otherwise clear that bit.
     
    280277Syntax VOPC: V_CMP_CLASS_F64 VCC, SRC0, SRC1(2) 
    281278Syntax VOP3: V_CMP_CLASS_F64 SDST, SRC0(2), SRC1(2) 
    282 Operation: Check whether SSRC0 double floating point value belongs to one of specified class.
     279Operation: Check whether SRC0 double floating point value belongs to one of specified class.
    283280Classes are specified as set bits in SRC1. If that condition is satisfied then store
    2842811 to bit of SDST with number of current lane id, otherwise clear that bit.
     
    303300Syntax VOPC: V_CMPX_CLASS_F64 VCC, SRC0(2), SRC1(2) 
    304301Syntax VOP3: V_CMPX_CLASS_F64 SDST, SRC0(2), SRC1(2) 
    305 Operation: Check whether SSRC0 double floating point value belongs to one of specified class.
     302Operation: Check whether SRC0 double floating point value belongs to one of specified class.
    306303Classes are specified as set bits in SRC1. If that condition is satisfied then store
    3073041 to bit of SDST and EXEC with number of current lane id, otherwise clear that bit.
Note: See TracChangeset for help on using the changeset viewer.