source: CLRX/CLRadeonExtender/trunk/tests/amdasm/CMakeLists.txt

Last change on this file was 4788, checked in by matszpk, 2 months ago

CLRadeonExtender: GCNAsm: Add empty testsuite for GFX10.

  • Property svn:mime-type set to text/plain
File size: 4.0 KB
RevLine 
[1282]1####
2#  CLRadeonExtender - Unofficial OpenCL Radeon Extensions Library
[3575]3#  Copyright (C) 2014-2018 Mateusz Szpakowski
[1282]4#
5#  This library is free software; you can redistribute it and/or
6#  modify it under the terms of the GNU Lesser General Public
7#  License as published by the Free Software Foundation; either
8#  version 2.1 of the License, or (at your option) any later version.
9#
10#  This library is distributed in the hope that it will be useful,
11#  but WITHOUT ANY WARRANTY; without even the implied warranty of
12#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13#  Lesser General Public License for more details.
14#
15#  You should have received a copy of the GNU Lesser General Public
16#  License along with this library; if not, write to the Free Software
17#  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
18####
19
[2431]20CMAKE_MINIMUM_REQUIRED(VERSION 2.8.1)
[1282]21
22ADD_EXECUTABLE(GCNDisasmOpcodes
23        GCNDisasmOpcodes.cpp
24        GCNDisasmOpc11.cpp
[3057]25        GCNDisasmOpc12.cpp
[4698]26        GCNDisasmOpc14.cpp
27        GCNDisasmOpc15.cpp)
[1909]28TEST_LINK_LIBRARIES(GCNDisasmOpcodes CLRXAmdAsm CLRXAmdBin CLRXUtils)
[1282]29ADD_TEST(GCNDisasmOpcodes GCNDisasmOpcodes)
30
31ADD_EXECUTABLE(GCNDisasmLabels GCNDisasmLabels.cpp)
[1909]32TEST_LINK_LIBRARIES(GCNDisasmLabels CLRXAmdAsm CLRXAmdBin CLRXUtils)
[1282]33ADD_TEST(GCNDisasmLabels GCNDisasmLabels)
34
35ADD_EXECUTABLE(DisasmDataTest DisasmDataTest.cpp)
[1909]36TEST_LINK_LIBRARIES(DisasmDataTest CLRXAmdAsm CLRXAmdBin CLRXUtils)
[1282]37ADD_TEST(DisasmDataTest DisasmDataTest)
38
39ADD_EXECUTABLE(AsmExprParse AsmExprParse.cpp)
[1909]40TEST_LINK_LIBRARIES(AsmExprParse CLRXAmdAsm CLRXAmdBin CLRXUtils)
[1282]41ADD_TEST(AsmExprParse AsmExprParse)
42
[2859]43ADD_EXECUTABLE(AssemblerBasics AssemblerBasics.cpp
44        AsmBasicsCases1.cpp
45        AsmBasicsCases2.cpp)
[1909]46TEST_LINK_LIBRARIES(AssemblerBasics CLRXAmdAsm CLRXAmdBin CLRXUtils)
[1282]47ADD_TEST(AssemblerBasics AssemblerBasics)
[1297]48
[2619]49ADD_EXECUTABLE(AsmAmdFormat AsmAmdFormat.cpp)
50TEST_LINK_LIBRARIES(AsmAmdFormat CLRXAmdAsm CLRXAmdBin CLRXUtils)
51ADD_TEST(AsmAmdFormat AsmAmdFormat)
[1356]52
[2618]53ADD_EXECUTABLE(AsmAmdCL2Format AsmAmdCL2Format.cpp)
54TEST_LINK_LIBRARIES(AsmAmdCL2Format CLRXAmdAsm CLRXAmdBin CLRXUtils)
55ADD_TEST(AsmAmdCL2Format AsmAmdCL2Format)
56
[2617]57ADD_EXECUTABLE(AsmGalliumFormat AsmGalliumFormat.cpp)
58TEST_LINK_LIBRARIES(AsmGalliumFormat CLRXAmdAsm CLRXAmdBin CLRXUtils)
59ADD_TEST(AsmGalliumFormat AsmGalliumFormat)
60
[2620]61ADD_EXECUTABLE(AsmROCmFormat AsmROCmFormat.cpp)
62TEST_LINK_LIBRARIES(AsmROCmFormat CLRXAmdAsm CLRXAmdBin CLRXUtils)
63ADD_TEST(AsmROCmFormat AsmROCmFormat)
64
[1470]65ADD_EXECUTABLE(GCNAsmOpcodes
66        GCNAsmOpcodes.cpp
[1471]67        GCNAsmOpc11.cpp
[3077]68        GCNAsmOpc12.cpp
[4788]69        GCNAsmOpc14.cpp
70        GCNAsmOpc15.cpp)
[1909]71TEST_LINK_LIBRARIES(GCNAsmOpcodes CLRXAmdAsm CLRXAmdBin CLRXUtils)
[1356]72ADD_TEST(GCNAsmOpcodes GCNAsmOpcodes)
[1556]73
74ADD_EXECUTABLE(AsmRegPool AsmRegPool.cpp)
[1909]75TEST_LINK_LIBRARIES(AsmRegPool CLRXAmdAsm CLRXAmdBin CLRXUtils)
[1556]76ADD_TEST(AsmRegPool AsmRegPool)
[2759]77
78ADD_EXECUTABLE(GCNRegVarUsage GCNRegVarUsage.cpp)
79TEST_LINK_LIBRARIES(GCNRegVarUsage CLRXAmdAsm CLRXAmdBin CLRXUtils)
80ADD_TEST(GCNRegVarUsage GCNRegVarUsage)
[2936]81
82ADD_EXECUTABLE(AsmCodeFlow AsmCodeFlow.cpp)
83TEST_LINK_LIBRARIES(AsmCodeFlow CLRXAmdAsm CLRXAmdBin CLRXUtils)
84ADD_TEST(AsmCodeFlow AsmCodeFlow)
[3023]85
[3887]86ADD_EXECUTABLE(AsmRegAlloc
87        AsmRegAlloc.cpp
88        AsmRegAllocCase1.cpp
[3916]89        AsmRegAllocCase2.cpp
90        AsmRegAllocCase3.cpp)
[3023]91TEST_LINK_LIBRARIES(AsmRegAlloc CLRXAmdAsm CLRXAmdBin CLRXUtils)
92ADD_TEST(AsmRegAlloc AsmRegAlloc)
[3997]93
94ADD_EXECUTABLE(AsmRegAlloc2 AsmRegAlloc2.cpp)
95TEST_LINK_LIBRARIES(AsmRegAlloc2 CLRXAmdAsm CLRXAmdBin CLRXUtils)
96ADD_TEST(AsmRegAlloc2 AsmRegAlloc2)
[4018]97
98ADD_EXECUTABLE(AsmRegAlloc3 AsmRegAlloc3.cpp)
99TEST_LINK_LIBRARIES(AsmRegAlloc3 CLRXAmdAsm CLRXAmdBin CLRXUtils)
100ADD_TEST(AsmRegAlloc3 AsmRegAlloc3)
101
[4204]102ADD_EXECUTABLE(AsmSourcePosHandler AsmSourcePosHandler.cpp)
103TEST_LINK_LIBRARIES(AsmSourcePosHandler CLRXAmdAsm CLRXAmdBin CLRXUtils)
104ADD_TEST(AsmSourcePosHandler AsmSourcePosHandler)
[4475]105
[4482]106ADD_EXECUTABLE(GCNWaitHandle GCNWaitHandle.cpp)
107TEST_LINK_LIBRARIES(GCNWaitHandle CLRXAmdAsm CLRXAmdBin CLRXUtils)
108ADD_TEST(GCNWaitHandle GCNWaitHandle)
Note: See TracBrowser for help on using the repository browser.