Changeset 4816 in CLRX


Ignore:
Timestamp:
Jul 19, 2019, 9:23:00 PM (4 weeks ago)
Author:
matszpk
Message:

CLRadeonExtender: GCNAsm: Add VOP1 instructions testcases for GFX10. Add missing VOP1 instructions testcases for GCN 1.0.

Location:
CLRadeonExtender/trunk/tests/amdasm
Files:
2 edited

Legend:

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

    r4813 r4816  
    926926    { "    v_cvt_i32_f64  v55, abs(s[26:27])", 0xd3060137U, 0x0000001aU, true, true, "" },
    927927    { "    v_cvt_i32_f64  v55, -s[26:27]", 0xd3060037U, 0x2000001aU, true, true, "" },
     928    { "    v_cvt_f64_i32  v[158:159], v79", 0x7f3c094fU, 0, false, true, "" },
     929    { "    v_cvt_f64_i32  v[55:56], abs(v27)", 0xd3080137U, 0x0000011bU, true, true, "" },
    928930    { "    v_cvt_f32_i32  v158, v79", 0x7f3c0b4fU, 0, false, true, "" },
    929931    { "    v_cvt_f32_i32  v55, v27 vop3", 0xd30a0037U, 0x0000011bU, true, true, "" },
  • CLRadeonExtender/trunk/tests/amdasm/GCNAsmOpc15.cpp

    r4815 r4816  
    13221322    { "    v_pk_fmac_f16  v55, s27, v90 vop3", 0, 0, false, false,
    13231323        "test.s:1:5: Error: No VOP3 encoding for this instruction\n" },
     1324    /* VOP1 and VOP1 in VOP3 */
     1325    { "    v_nop", 0x7e000000U, 0, false, true, "" },
     1326    { "    v_nop vop3", 0xd5800000U, 0, true, true, "" },
     1327    { "    v_mov_b32  v158, s79", 0x7f3c024fU, 0, false, true, "" },
     1328    { "    v_mov_b32  v15, s79", 0x7e1e024fU, 0, false, true, "" },
     1329    { "    v_mov_b32  v15, v79", 0x7e1e034fU, 0, false, true, "" },
     1330    { "vxx=9; v_mov_b32  v15, vxx", 0x7e1e0289U, 0, false, true, "" },
     1331    { "vxx=9111; v_mov_b32  v15, vxx", 0x7e1e02ffU, 9111, true, true, "" },
     1332    { "v_mov_b32  v15, vxx; vxx=9", 0x7e1e02ffU, 9, true, true, "" },
     1333    { "v_mov_b32  v15, vxx; vxx=9111", 0x7e1e02ffU, 9111, true, true, "" },
     1334    { "v0=9111; v_mov_b32  v15, @v0", 0x7e1e02ffU, 9111, true, true, "" },
     1335    { "v_mov_b32  v15, @v0; v0=9", 0x7e1e02ffU, 9, true, true, "" },
     1336    { "    v_mov_b32  v15, lds", 0x7e1e02feU, 0, false, true, "" },
     1337    { "    v_mov_b32  v15, lds_direct", 0x7e1e02feU, 0, false, true, "" },
     1338    { "    v_mov_b32  v55, s27 vop3", 0xd5810037U, 0x0000001bU, true, true, "" },
     1339    { "    v_mov_b32  v55, v27 vop3", 0xd5810037U, 0x0000011bU, true, true, "" },
     1340    { "    v_mov_b32  v55, v27 clamp", 0xd5818037U, 0x0000011bU, true, true, "" },
     1341    { "    v_mov_b32  v55, abs(s27)", 0xd5810137U, 0x0000001bU, true, true, "" },
     1342    { "    v_mov_b32  v55, -s27", 0xd5810037U, 0x2000001bU, true, true, "" },
     1343    { "    v_mov_b32  v55, -abs(s27)", 0xd5810137U, 0x2000001bU, true, true, "" },
     1344    { "    v_readfirstlane_b32 s30, s79", 0x7e3c044fU, 0, false, true, "" },
     1345    { "    v_readfirstlane_b32 s30, v79", 0x7e3c054fU, 0, false, true, "" },
     1346    { "    v_cvt_i32_f64  v158, v[79:80]", 0x7f3c074fU, 0, false, true, "" },
     1347    { "    v_cvt_i32_f64  v55, abs(v[27:28])", 0xd5830137U, 0x0000011bU, true, true, "" },
     1348    { "    v_cvt_i32_f64  v55, abs(s[26:27])", 0xd5830137U, 0x0000001aU, true, true, "" },
     1349    { "    v_cvt_i32_f64  v55, -s[26:27]", 0xd5830037U, 0x2000001aU, true, true, "" },
    13241350    { nullptr, 0, 0, false, false, 0 }
    13251351};
Note: See TracChangeset for help on using the changeset viewer.