forked from RALC88/riscv-vectorized-benchmark-suite
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
executable file
·345 lines (269 loc) · 6.32 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
BASE_DIR := $(shell pwd)
export llvm_dump_options?= -d --mattr=experimental-v
APPLICATION_DIRS := _blackscholes _swaptions _streamcluster _canneal _particlefilter _pathfinder _jacobi-2d _axpy
all: blackscholes swaptions streamcluster canneal particlefilter pathfinder jacobi-2d axpy
all_clang: blackscholes_clang swaptions_clang streamcluster_clang canneal_clang particlefilter_clang pathfinder_clang jacobi-2d_clang axpy_clang
all_O2: blackscholes_O2 swaptions_O2 streamcluster_O2 canneal_O2 particlefilter_O2 pathfinder_O2 jacobi-2d_O2 axpy_O2
all_O2_clang: blackscholes_O2_clang swaptions_O2_clang streamcluster_O2_clang canneal_O2_clang particlefilter_O2_clang pathfinder_O2_clang jacobi-2d_O2_clang axpy_O2_clang
rungem5_all: rungem5_blackscholes rungem5_swaptions rungem5_streamcluster rungem5_canneal rungem5_particlefilter rungem5_pathfinder rungem5_jacobi-2d rungem5_axpy
rungem5_all_O2:rungem5_blackscholes_O2 rungem5_swaptions_O2 rungem5_streamcluster_O2 rungem5_canneal_O2 rungem5_particlefilter_O2 rungem5_pathfinder_O2 rungem5_jacobi-2d_O2 rungem5_axpy_O2
runqemu_all: runqemu_blackscholes runqemu_swaptions runqemu_streamcluster runqemu_canneal runqemu_particlefilter runqemu_pathfinder runqemu_jacobi-2d runqemu_axpy
runqemu_all_O2:runqemu_blackscholes_O2 runqemu_swaptions_O2 runqemu_streamcluster_O2 runqemu_canneal_O2 runqemu_particlefilter_O2 runqemu_pathfinder_O2 runqemu_jacobi-2d_O2 runqemu_axpy_O2
blackscholes:
cd _blackscholes; \
make start; \
make serial; \
make vector;
swaptions:
cd _swaptions; \
make start; \
make serial; \
make vector;
streamcluster:
cd _streamcluster; \
make start; \
make serial; \
make vector;
canneal:
cd _canneal; \
make start; \
make serial; \
make vector;
particlefilter:
cd _particlefilter; \
make start; \
make serial; \
make vector;
pathfinder:
cd _pathfinder; \
make start; \
make serial; \
make vector;
jacobi-2d:
cd _jacobi-2d; \
make start; \
make serial; \
make vector;
axpy:
cd _axpy; \
make start; \
make serial; \
make vector;
blackscholes_O2:
cd _blackscholes; \
make start; \
make serial_O2; \
make vector_O2;
swaptions_O2:
cd _swaptions; \
make start; \
make serial_O2; \
make vector_O2;
streamcluster_O2:
cd _streamcluster; \
make start; \
make serial_O2; \
make vector_O2;
canneal_O2:
cd _canneal; \
make start; \
make serial_O2; \
make vector_O2;
particlefilter_O2:
cd _particlefilter; \
make start; \
make serial_O2; \
make vector_O2;
pathfinder_O2:
cd _pathfinder; \
make start; \
make serial_O2; \
make vector_O2;
jacobi-2d_O2:
cd _jacobi-2d; \
make start; \
make serial_O2; \
make vector_O2;
axpy_O2:
cd _axpy; \
make start; \
make serial_O2; \
make vector_O2;
blackscholes_clang:
cd _blackscholes; \
make start; \
make serial_clang; \
make vector_clang;
swaptions_clang:
cd _swaptions; \
make start; \
make serial_clang; \
make vector_clang;
streamcluster_clang:
cd _streamcluster; \
make start; \
make serial_clang; \
make vector_clang;
canneal_clang:
cd _canneal; \
make start; \
make serial_clang; \
make vector_clang;
particlefilter_clang:
cd _particlefilter; \
make start; \
make serial_clang; \
make vector_clang;
pathfinder_clang:
cd _pathfinder; \
make start; \
make serial_clang; \
make vector_clang;
jacobi-2d_clang:
cd _jacobi-2d; \
make start; \
make serial_clang; \
make vector_clang;
axpy_clang:
cd _axpy; \
make start; \
make serial_clang; \
make vector_clang;
blackscholes_O2_clang:
cd _blackscholes; \
make start; \
make serial_O2_clang; \
make vector_O2_clang;
swaptions_O2_clang:
cd _swaptions; \
make start; \
make serial_O2_clang; \
make vector_O2_clang;
streamcluster_O2_clang:
cd _streamcluster; \
make start; \
make serial_O2_clang; \
make vector_O2_clang;
canneal_O2_clang:
cd _canneal; \
make start; \
make serial_O2_clang; \
make vector_O2_clang;
particlefilter_O2_clang:
cd _particlefilter; \
make start; \
make serial_O2_clang; \
make vector_O2_clang;
pathfinder_O2_clang:
cd _pathfinder; \
make start; \
make serial_O2_clang; \
make vector_O2_clang;
jacobi-2d_O2_clang:
cd _jacobi-2d; \
make start; \
make serial_O2_clang; \
make vector_O2_clang;
axpy_O2_clang:
cd _axpy; \
make start; \
make serial_O2_clang; \
make vector_O2_clang;
rungem5_blackscholes:
cd _blackscholes; \
make rungem5;
rungem5_swaptions:
cd _swaptions; \
make rungem5;
rungem5_streamcluster:
cd _streamcluster; \
make rungem5;
rungem5_canneal:
cd _canneal; \
make rungem5;
rungem5_particlefilter:
cd _particlefilter; \
make rungem5;
rungem5_pathfinder:
cd _pathfinder; \
make rungem5;
rungem5_jacobi-2d:
cd _jacobi-2d; \
make rungem5;
rungem5_axpy:
cd _axpy; \
make rungem5;
rungem5_blackscholes_O2:
cd _blackscholes; \
make rungem5_O2;
rungem5_swaptions_O2:
cd _swaptions; \
make rungem5_O2;
rungem5_streamcluster_O2:
cd _streamcluster; \
make rungem5_O2;
rungem5_canneal_O2:
cd _canneal; \
make rungem5_O2;
rungem5_particlefilter_O2:
cd _particlefilter; \
make rungem5_O2;
rungem5_pathfinder_O2:
cd _pathfinder; \
make rungem5_O2;
rungem5_jacobi-2d_O2:
cd _jacobi-2d; \
make rungem5_O2;
rungem5_axpy_O2:
cd _axpy; \
make rungem5_O2;
runqemu_blackscholes:
cd _blackscholes; \
make runqemu;
runqemu_swaptions:
cd _swaptions; \
make runqemu;
runqemu_streamcluster:
cd _streamcluster; \
make runqemu;
runqemu_canneal:
cd _canneal; \
make runqemu;
runqemu_particlefilter:
cd _particlefilter; \
make runqemu;
runqemu_pathfinder:
cd _pathfinder; \
make runqemu;
runqemu_jacobi-2d:
cd _jacobi-2d; \
make runqemu;
runqemu_axpy:
cd _axpy; \
make runqemu;
runqemu_blackscholes_O2:
cd _blackscholes; \
make runqemu_O2;
runqemu_swaptions_O2:
cd _swaptions; \
make runqemu_O2;
runqemu_streamcluster_O2:
cd _streamcluster; \
make runqemu_O2;
runqemu_canneal_O2:
cd _canneal; \
make runqemu_O2;
runqemu_particlefilter_O2:
cd _particlefilter; \
make runqemu_O2;
runqemu_pathfinder_O2:
cd _pathfinder; \
make runqemu_O2;
runqemu_jacobi-2d_O2:
cd _jacobi-2d; \
make runqemu_O2;
runqemu_axpy_O2:
cd _axpy; \
make runqemu_O2;
clean:
for dir in $(APPLICATION_DIRS) ; do cd $$dir ; make clean ; cd .. ; done