Changeset 4791 in CLRX


Ignore:
Timestamp:
Jul 15, 2019, 10:22:47 PM (9 months ago)
Author:
matszpk
Message:

CLRadeonExtender: GCNAsm: First testcases for GFX10. Small fix in GCNAsmOpcodes testsuite.

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

Legend:

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

    r4788 r4791  
    2323const GCNAsmOpcodeCase encGCN15OpcodeCases[] =
    2424{
     25    { "        s_add_u32       s21, s4, s61\n", 0x80153d04U, 0, false, true, "" },
     26    { "        s_add_u32       s21, s4, s100\n", 0x80156404U, 0, false, true, "" },
     27    { "        s_add_u32       s21, s4, s102\n", 0x80156604U, 0, false, true, "" },
     28    { "        s_add_u32       s21, s4, s103\n", 0x80156704U, 0, false, true, "" },
     29    { "        s_add_u32       s21, s4, s104\n", 0x80156804U, 0, false, true, "" },
     30    { "        s_add_u32       s21, s4, s105\n", 0x80156904U, 0, false, true, "" },
     31    { "xrv = %s105; s_add_u32 s21, s4, xrv\n", 0x80156904U, 0, false, true, "" },
     32    { "        s_add_u32       s21, s4, vcc_lo\n", 0x80156a04U, 0, false, true, "" },
     33    { "        s_add_u32       s21, s4, vcc_hi\n", 0x80156b04U, 0, false, true, "" },
     34    { "    s_add_u32  vcc[1:1], s4, s61", 0x806b3d04U, 0, false, true, "" },
     35    { "    s_add_u32  vcc[1], s4, s61", 0x806b3d04U, 0, false, true, "" },
     36    { "    s_add_u32  ttmp0, s4, s61", 0x806c3d04U, 0, false, true, "" },
     37    { "    s_add_u32  ttmp1, s4, s61", 0x806d3d04U, 0, false, true, "" },
     38    { "    s_add_u32  ttmp[2:2], s4, s61", 0x806e3d04U, 0, false, true, "" },
     39    { "    s_add_u32  ttmp12, s4, s61", 0x80783d04U, 0, false, true, "" },
     40    { "    s_add_u32  ttmp15, s4, s61", 0x807b3d04U, 0, false, true, "" },
    2541    { nullptr, 0, 0, false, false, 0 }
    2642};
  • CLRadeonExtender/trunk/tests/amdasm/GCNAsmOpcodes.cpp

    r4788 r4791  
    139139    for (cxuint i = 0; encGCN15OpcodeCases[i].input!=nullptr; i++)
    140140        try
    141         { testEncGCNOpcodes(i, encGCN15OpcodeCases[i], GPUDeviceType::GFX906); }
     141        { testEncGCNOpcodes(i, encGCN15OpcodeCases[i], GPUDeviceType::GFX1010); }
    142142        catch(const std::exception& ex)
    143143        {
Note: See TracChangeset for help on using the changeset viewer.