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

Last change on this file since 4475 was 4475, checked in by matszpk, 15 months ago

CLRadeonExtender: Add AsmWaitHandle? testsuite (unfinished). Some refactors in AsmWait? stuff.

  • Property svn:mime-type set to text/plain
File size: 3.9 KB
Line 
1####
2#  CLRadeonExtender - Unofficial OpenCL Radeon Extensions Library
3#  Copyright (C) 2014-2018 Mateusz Szpakowski
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
20CMAKE_MINIMUM_REQUIRED(VERSION 2.8.1)
21
22ADD_EXECUTABLE(GCNDisasmOpcodes
23        GCNDisasmOpcodes.cpp
24        GCNDisasmOpc11.cpp
25        GCNDisasmOpc12.cpp
26        GCNDisasmOpc14.cpp)
27TEST_LINK_LIBRARIES(GCNDisasmOpcodes CLRXAmdAsm CLRXAmdBin CLRXUtils)
28ADD_TEST(GCNDisasmOpcodes GCNDisasmOpcodes)
29
30ADD_EXECUTABLE(GCNDisasmLabels GCNDisasmLabels.cpp)
31TEST_LINK_LIBRARIES(GCNDisasmLabels CLRXAmdAsm CLRXAmdBin CLRXUtils)
32ADD_TEST(GCNDisasmLabels GCNDisasmLabels)
33
34ADD_EXECUTABLE(DisasmDataTest DisasmDataTest.cpp)
35TEST_LINK_LIBRARIES(DisasmDataTest CLRXAmdAsm CLRXAmdBin CLRXUtils)
36ADD_TEST(DisasmDataTest DisasmDataTest)
37
38ADD_EXECUTABLE(AsmExprParse AsmExprParse.cpp)
39TEST_LINK_LIBRARIES(AsmExprParse CLRXAmdAsm CLRXAmdBin CLRXUtils)
40ADD_TEST(AsmExprParse AsmExprParse)
41
42ADD_EXECUTABLE(AssemblerBasics AssemblerBasics.cpp
43        AsmBasicsCases1.cpp
44        AsmBasicsCases2.cpp)
45TEST_LINK_LIBRARIES(AssemblerBasics CLRXAmdAsm CLRXAmdBin CLRXUtils)
46ADD_TEST(AssemblerBasics AssemblerBasics)
47
48ADD_EXECUTABLE(AsmAmdFormat AsmAmdFormat.cpp)
49TEST_LINK_LIBRARIES(AsmAmdFormat CLRXAmdAsm CLRXAmdBin CLRXUtils)
50ADD_TEST(AsmAmdFormat AsmAmdFormat)
51
52ADD_EXECUTABLE(AsmAmdCL2Format AsmAmdCL2Format.cpp)
53TEST_LINK_LIBRARIES(AsmAmdCL2Format CLRXAmdAsm CLRXAmdBin CLRXUtils)
54ADD_TEST(AsmAmdCL2Format AsmAmdCL2Format)
55
56ADD_EXECUTABLE(AsmGalliumFormat AsmGalliumFormat.cpp)
57TEST_LINK_LIBRARIES(AsmGalliumFormat CLRXAmdAsm CLRXAmdBin CLRXUtils)
58ADD_TEST(AsmGalliumFormat AsmGalliumFormat)
59
60ADD_EXECUTABLE(AsmROCmFormat AsmROCmFormat.cpp)
61TEST_LINK_LIBRARIES(AsmROCmFormat CLRXAmdAsm CLRXAmdBin CLRXUtils)
62ADD_TEST(AsmROCmFormat AsmROCmFormat)
63
64ADD_EXECUTABLE(GCNAsmOpcodes
65        GCNAsmOpcodes.cpp
66        GCNAsmOpc11.cpp
67        GCNAsmOpc12.cpp
68        GCNAsmOpc14.cpp)
69TEST_LINK_LIBRARIES(GCNAsmOpcodes CLRXAmdAsm CLRXAmdBin CLRXUtils)
70ADD_TEST(GCNAsmOpcodes GCNAsmOpcodes)
71
72ADD_EXECUTABLE(AsmRegPool AsmRegPool.cpp)
73TEST_LINK_LIBRARIES(AsmRegPool CLRXAmdAsm CLRXAmdBin CLRXUtils)
74ADD_TEST(AsmRegPool AsmRegPool)
75
76ADD_EXECUTABLE(GCNRegVarUsage GCNRegVarUsage.cpp)
77TEST_LINK_LIBRARIES(GCNRegVarUsage CLRXAmdAsm CLRXAmdBin CLRXUtils)
78ADD_TEST(GCNRegVarUsage GCNRegVarUsage)
79
80ADD_EXECUTABLE(AsmCodeFlow AsmCodeFlow.cpp)
81TEST_LINK_LIBRARIES(AsmCodeFlow CLRXAmdAsm CLRXAmdBin CLRXUtils)
82ADD_TEST(AsmCodeFlow AsmCodeFlow)
83
84ADD_EXECUTABLE(AsmRegAlloc
85        AsmRegAlloc.cpp
86        AsmRegAllocCase1.cpp
87        AsmRegAllocCase2.cpp
88        AsmRegAllocCase3.cpp)
89TEST_LINK_LIBRARIES(AsmRegAlloc CLRXAmdAsm CLRXAmdBin CLRXUtils)
90ADD_TEST(AsmRegAlloc AsmRegAlloc)
91
92ADD_EXECUTABLE(AsmRegAlloc2 AsmRegAlloc2.cpp)
93TEST_LINK_LIBRARIES(AsmRegAlloc2 CLRXAmdAsm CLRXAmdBin CLRXUtils)
94ADD_TEST(AsmRegAlloc2 AsmRegAlloc2)
95
96ADD_EXECUTABLE(AsmRegAlloc3 AsmRegAlloc3.cpp)
97TEST_LINK_LIBRARIES(AsmRegAlloc3 CLRXAmdAsm CLRXAmdBin CLRXUtils)
98ADD_TEST(AsmRegAlloc3 AsmRegAlloc3)
99
100ADD_EXECUTABLE(AsmSourcePosHandler AsmSourcePosHandler.cpp)
101TEST_LINK_LIBRARIES(AsmSourcePosHandler CLRXAmdAsm CLRXAmdBin CLRXUtils)
102ADD_TEST(AsmSourcePosHandler AsmSourcePosHandler)
103
104ADD_EXECUTABLE(AsmWaitHandle AsmWaitHandle.cpp)
105TEST_LINK_LIBRARIES(AsmWaitHandle CLRXAmdAsm CLRXAmdBin CLRXUtils)
106ADD_TEST(AsmWaitHandle AsmWaitHandle)
Note: See TracBrowser for help on using the repository browser.