Changeset 4788 in CLRX


Ignore:
Timestamp:
Jul 15, 2019, 7:56:53 PM (9 months ago)
Author:
matszpk
Message:

CLRadeonExtender: GCNAsm: Add empty testsuite for GFX10.

Location:
CLRadeonExtender/trunk/tests/amdasm
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/tests/amdasm/CMakeLists.txt

    r4698 r4788  
    6767        GCNAsmOpc11.cpp
    6868        GCNAsmOpc12.cpp
    69         GCNAsmOpc14.cpp)
     69        GCNAsmOpc14.cpp
     70        GCNAsmOpc15.cpp)
    7071TEST_LINK_LIBRARIES(GCNAsmOpcodes CLRXAmdAsm CLRXAmdBin CLRXUtils)
    7172ADD_TEST(GCNAsmOpcodes GCNAsmOpcodes)
  • CLRadeonExtender/trunk/tests/amdasm/GCNAsmOpc.h

    r4395 r4788  
    3737extern const GCNAsmOpcodeCase encGCN14OpcodeCases[];
    3838extern const GCNAsmOpcodeCase encGCN141OpcodeCases[];
     39extern const GCNAsmOpcodeCase encGCN15OpcodeCases[];
    3940
    4041#endif
  • CLRadeonExtender/trunk/tests/amdasm/GCNAsmOpcodes.cpp

    r4395 r4788  
    137137            retVal = 1;
    138138        }
     139    for (cxuint i = 0; encGCN15OpcodeCases[i].input!=nullptr; i++)
     140        try
     141        { testEncGCNOpcodes(i, encGCN15OpcodeCases[i], GPUDeviceType::GFX906); }
     142        catch(const std::exception& ex)
     143        {
     144            std::cerr << ex.what() << std::endl;
     145            retVal = 1;
     146        }
    139147    return retVal;
    140148}
Note: See TracChangeset for help on using the changeset viewer.