Changeset 4828 in CLRX


Ignore:
Timestamp:
Jul 22, 2019, 9:01:09 PM (4 weeks ago)
Author:
matszpk
Message:

CLRadeonExtender: GCNAsm: Add OP_SEL testcases for GFX10.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/tests/amdasm/GCNAsmOpc15.cpp

    r4827 r4828  
    21682168    { "    v_cmpx_t_f16  v79, v201", 0x7dff934fU, 0, false, true, "" },
    21692169    { "    v_cmpx_t_f16  v50, v107 vop3", 0xd4ff0000U, 0x0002d732U, true, true, "" },
    2170    
     2170    /* OP_SEL */
     2171    /* for VOP1/VOP3 */
     2172    { "    v_not_b32  v55, v27 op_sel:[0,1]", 0xd5b74037U, 0x0000011bU, true, true, "" },
     2173    { "    v_not_b32  v55, v27 op_sel:[1,0]", 0xd5b70837U, 0x0000011bU, true, true, "" },
     2174    /* for VOP2/VOP3 */
     2175    { "    v_min_f32  v55, s27, -v90 op_sel:[1,0,0]",
     2176        0xd50f0837U, 0x4002b41bU, true, true, "" },
     2177    { "    v_min_f32  v55, s27, -v90 op_sel:[0,1,0]",
     2178        0xd50f1037U, 0x4002b41bU, true, true, "" },
     2179    { "    v_min_f32  v55, s27, -v90 op_sel:[0,0,1]",
     2180        0xd50f4037U, 0x4002b41bU, true, true, "" },
     2181    /* for VOPC/VOP3 */
     2182    { "    v_cmp_lt_i16  s[42:43], v50, v107 op_sel:[1,0,0]",
     2183        0xd489082aU, 0x0002d732U, true, true, "" },
     2184    { "    v_cmp_lt_i16  s[42:43], v50, v107 op_sel:[0,1,0]",
     2185        0xd489102aU, 0x0002d732U, true, true, "" },
     2186    { "    v_cmp_lt_i16  s[42:43], v50, v107 op_sel:[0,0,1]",
     2187        0xd489402aU, 0x0002d732U, true, true, "" },
    21712188    { nullptr, 0, 0, false, false, 0 }
    21722189};
Note: See TracChangeset for help on using the changeset viewer.