aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/hyperscan/runtime_corei7/ya.make
blob: efdd466c09c53746c7b2d30dd1e7776c2faa7ecd (plain) (blame)
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
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
# Generated by devtools/yamaker.

LIBRARY()

OWNER(
    galtsev
    g:antiinfra
    g:cpp-contrib
    g:yql
)

LICENSE(BSD-3-Clause)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

ADDINCL(
    contrib/libs/hyperscan
    contrib/libs/hyperscan/src
)

NO_COMPILER_WARNINGS()

NO_RUNTIME()

CFLAGS(
    ${SSE41_CFLAGS}
    -DHAVE_SSE41
    ${SSE42_CFLAGS}
    -DHAVE_SSE42
    ${POPCNT_CFLAGS}
    -DHAVE_POPCOUNT_INSTR
    -DCrc32c_ComputeBuf=corei7_Crc32c_ComputeBuf
    -DblockInitSufPQ=corei7_blockInitSufPQ
    -Dcompress_stream=corei7_compress_stream
    -Dcpuid_flags=corei7_cpuid_flags
    -Dcpuid_tune=corei7_cpuid_tune
    -DdbIsValid=corei7_dbIsValid
    -DdoAccel128=corei7_doAccel128
    -DdoAccel256=corei7_doAccel256
    -DdoAccel32=corei7_doAccel32
    -DdoAccel384=corei7_doAccel384
    -DdoAccel512=corei7_doAccel512
    -DdoAccel64=corei7_doAccel64
    -Dexpand_stream=corei7_expand_stream
    -DfdrExec=corei7_fdrExec
    -DfdrExecStreaming=corei7_fdrExecStreaming
    -Dfdr_exec_fat_teddy_msks1=corei7_fdr_exec_fat_teddy_msks1
    -Dfdr_exec_fat_teddy_msks1_pck=corei7_fdr_exec_fat_teddy_msks1_pck
    -Dfdr_exec_fat_teddy_msks2=corei7_fdr_exec_fat_teddy_msks2
    -Dfdr_exec_fat_teddy_msks2_pck=corei7_fdr_exec_fat_teddy_msks2_pck
    -Dfdr_exec_fat_teddy_msks3=corei7_fdr_exec_fat_teddy_msks3
    -Dfdr_exec_fat_teddy_msks3_pck=corei7_fdr_exec_fat_teddy_msks3_pck
    -Dfdr_exec_fat_teddy_msks4=corei7_fdr_exec_fat_teddy_msks4
    -Dfdr_exec_fat_teddy_msks4_pck=corei7_fdr_exec_fat_teddy_msks4_pck
    -Dfdr_exec_teddy_msks1=corei7_fdr_exec_teddy_msks1
    -Dfdr_exec_teddy_msks1_pck=corei7_fdr_exec_teddy_msks1_pck
    -Dfdr_exec_teddy_msks2=corei7_fdr_exec_teddy_msks2
    -Dfdr_exec_teddy_msks2_pck=corei7_fdr_exec_teddy_msks2_pck
    -Dfdr_exec_teddy_msks3=corei7_fdr_exec_teddy_msks3
    -Dfdr_exec_teddy_msks3_pck=corei7_fdr_exec_teddy_msks3_pck
    -Dfdr_exec_teddy_msks4=corei7_fdr_exec_teddy_msks4
    -Dfdr_exec_teddy_msks4_pck=corei7_fdr_exec_teddy_msks4_pck
    -DflushQueuedLiterals_i=corei7_flushQueuedLiterals_i
    -DflushStoredSomMatches_i=corei7_flushStoredSomMatches_i
    -DhandleSomExternal=corei7_handleSomExternal
    -DhandleSomInternal=corei7_handleSomInternal
    -Dhs_alloc_scratch=corei7_hs_alloc_scratch
    -Dhs_clone_scratch=corei7_hs_clone_scratch
    -Dhs_close_stream=corei7_hs_close_stream
    -Dhs_compress_stream=corei7_hs_compress_stream
    -Dhs_copy_stream=corei7_hs_copy_stream
    -Dhs_database_alloc=corei7_hs_database_alloc
    -Dhs_database_free=corei7_hs_database_free
    -Dhs_database_info=corei7_hs_database_info
    -Dhs_database_size=corei7_hs_database_size
    -Dhs_deserialize_database=corei7_hs_deserialize_database
    -Dhs_deserialize_database_at=corei7_hs_deserialize_database_at
    -Dhs_expand_stream=corei7_hs_expand_stream
    -Dhs_free_database=corei7_hs_free_database
    -Dhs_free_scratch=corei7_hs_free_scratch
    -Dhs_misc_alloc=corei7_hs_misc_alloc
    -Dhs_misc_free=corei7_hs_misc_free
    -Dhs_open_stream=corei7_hs_open_stream
    -Dhs_reset_and_copy_stream=corei7_hs_reset_and_copy_stream
    -Dhs_reset_and_expand_stream=corei7_hs_reset_and_expand_stream
    -Dhs_reset_stream=corei7_hs_reset_stream
    -Dhs_scan=corei7_hs_scan
    -Dhs_scan_stream=corei7_hs_scan_stream
    -Dhs_scan_vector=corei7_hs_scan_vector
    -Dhs_scratch_alloc=corei7_hs_scratch_alloc
    -Dhs_scratch_free=corei7_hs_scratch_free
    -Dhs_scratch_size=corei7_hs_scratch_size
    -Dhs_serialize_database=corei7_hs_serialize_database
    -Dhs_serialized_database_info=corei7_hs_serialized_database_info
    -Dhs_serialized_database_size=corei7_hs_serialized_database_size
    -Dhs_set_allocator=corei7_hs_set_allocator
    -Dhs_set_database_allocator=corei7_hs_set_database_allocator
    -Dhs_set_misc_allocator=corei7_hs_set_misc_allocator
    -Dhs_set_scratch_allocator=corei7_hs_set_scratch_allocator
    -Dhs_set_stream_allocator=corei7_hs_set_stream_allocator
    -Dhs_stream_alloc=corei7_hs_stream_alloc
    -Dhs_stream_free=corei7_hs_stream_free
    -Dhs_stream_size=corei7_hs_stream_size
    -Dhs_valid_platform=corei7_hs_valid_platform
    -Dhs_version=corei7_hs_version
    -DhwlmExec=corei7_hwlmExec
    -DhwlmExecStreaming=corei7_hwlmExecStreaming
    -DloadSomFromStream=corei7_loadSomFromStream
    -Dloadcompressed128=corei7_loadcompressed128
    -Dloadcompressed256=corei7_loadcompressed256
    -Dloadcompressed32=corei7_loadcompressed32
    -Dloadcompressed384=corei7_loadcompressed384
    -Dloadcompressed512=corei7_loadcompressed512
    -Dloadcompressed64=corei7_loadcompressed64
    -Dmcsheng_pext_mask=corei7_mcsheng_pext_mask
    -Dmm_mask_mask=corei7_mm_mask_mask
    -Dmm_shuffle_end=corei7_mm_shuffle_end
    -Dmmbit_keyshift_lut=corei7_mmbit_keyshift_lut
    -Dmmbit_maxlevel_direct_lut=corei7_mmbit_maxlevel_direct_lut
    -Dmmbit_maxlevel_from_keyshift_lut=corei7_mmbit_maxlevel_from_keyshift_lut
    -Dmmbit_root_offset_from_level=corei7_mmbit_root_offset_from_level
    -Dmmbit_zero_to_lut=corei7_mmbit_zero_to_lut
    -DnfaBlockExecReverse=corei7_nfaBlockExecReverse
    -DnfaCheckFinalState=corei7_nfaCheckFinalState
    -DnfaExecCastle_Q=corei7_nfaExecCastle_Q
    -DnfaExecCastle_Q2=corei7_nfaExecCastle_Q2
    -DnfaExecCastle_QR=corei7_nfaExecCastle_QR
    -DnfaExecCastle_expandState=corei7_nfaExecCastle_expandState
    -DnfaExecCastle_inAccept=corei7_nfaExecCastle_inAccept
    -DnfaExecCastle_inAnyAccept=corei7_nfaExecCastle_inAnyAccept
    -DnfaExecCastle_initCompressedState=corei7_nfaExecCastle_initCompressedState
    -DnfaExecCastle_queueCompressState=corei7_nfaExecCastle_queueCompressState
    -DnfaExecCastle_queueInitState=corei7_nfaExecCastle_queueInitState
    -DnfaExecCastle_reportCurrent=corei7_nfaExecCastle_reportCurrent
    -DnfaExecGough16_Q=corei7_nfaExecGough16_Q
    -DnfaExecGough16_Q2=corei7_nfaExecGough16_Q2
    -DnfaExecGough16_QR=corei7_nfaExecGough16_QR
    -DnfaExecGough16_expandState=corei7_nfaExecGough16_expandState
    -DnfaExecGough16_inAccept=corei7_nfaExecGough16_inAccept
    -DnfaExecGough16_inAnyAccept=corei7_nfaExecGough16_inAnyAccept
    -DnfaExecGough16_initCompressedState=corei7_nfaExecGough16_initCompressedState
    -DnfaExecGough16_queueCompressState=corei7_nfaExecGough16_queueCompressState
    -DnfaExecGough16_queueInitState=corei7_nfaExecGough16_queueInitState
    -DnfaExecGough16_reportCurrent=corei7_nfaExecGough16_reportCurrent
    -DnfaExecGough16_testEOD=corei7_nfaExecGough16_testEOD
    -DnfaExecGough8_Q=corei7_nfaExecGough8_Q
    -DnfaExecGough8_Q2=corei7_nfaExecGough8_Q2
    -DnfaExecGough8_QR=corei7_nfaExecGough8_QR
    -DnfaExecGough8_expandState=corei7_nfaExecGough8_expandState
    -DnfaExecGough8_inAccept=corei7_nfaExecGough8_inAccept
    -DnfaExecGough8_inAnyAccept=corei7_nfaExecGough8_inAnyAccept
    -DnfaExecGough8_initCompressedState=corei7_nfaExecGough8_initCompressedState
    -DnfaExecGough8_queueCompressState=corei7_nfaExecGough8_queueCompressState
    -DnfaExecGough8_queueInitState=corei7_nfaExecGough8_queueInitState
    -DnfaExecGough8_reportCurrent=corei7_nfaExecGough8_reportCurrent
    -DnfaExecGough8_testEOD=corei7_nfaExecGough8_testEOD
    -DnfaExecLbrDot_Q=corei7_nfaExecLbrDot_Q
    -DnfaExecLbrDot_Q2=corei7_nfaExecLbrDot_Q2
    -DnfaExecLbrDot_QR=corei7_nfaExecLbrDot_QR
    -DnfaExecLbrDot_expandState=corei7_nfaExecLbrDot_expandState
    -DnfaExecLbrDot_inAccept=corei7_nfaExecLbrDot_inAccept
    -DnfaExecLbrDot_inAnyAccept=corei7_nfaExecLbrDot_inAnyAccept
    -DnfaExecLbrDot_initCompressedState=corei7_nfaExecLbrDot_initCompressedState
    -DnfaExecLbrDot_queueCompressState=corei7_nfaExecLbrDot_queueCompressState
    -DnfaExecLbrDot_queueInitState=corei7_nfaExecLbrDot_queueInitState
    -DnfaExecLbrDot_reportCurrent=corei7_nfaExecLbrDot_reportCurrent
    -DnfaExecLbrNVerm_Q=corei7_nfaExecLbrNVerm_Q
    -DnfaExecLbrNVerm_Q2=corei7_nfaExecLbrNVerm_Q2
    -DnfaExecLbrNVerm_QR=corei7_nfaExecLbrNVerm_QR
    -DnfaExecLbrNVerm_expandState=corei7_nfaExecLbrNVerm_expandState
    -DnfaExecLbrNVerm_inAccept=corei7_nfaExecLbrNVerm_inAccept
    -DnfaExecLbrNVerm_inAnyAccept=corei7_nfaExecLbrNVerm_inAnyAccept
    -DnfaExecLbrNVerm_initCompressedState=corei7_nfaExecLbrNVerm_initCompressedState
    -DnfaExecLbrNVerm_queueCompressState=corei7_nfaExecLbrNVerm_queueCompressState
    -DnfaExecLbrNVerm_queueInitState=corei7_nfaExecLbrNVerm_queueInitState
    -DnfaExecLbrNVerm_reportCurrent=corei7_nfaExecLbrNVerm_reportCurrent
    -DnfaExecLbrShuf_Q=corei7_nfaExecLbrShuf_Q
    -DnfaExecLbrShuf_Q2=corei7_nfaExecLbrShuf_Q2
    -DnfaExecLbrShuf_QR=corei7_nfaExecLbrShuf_QR
    -DnfaExecLbrShuf_expandState=corei7_nfaExecLbrShuf_expandState
    -DnfaExecLbrShuf_inAccept=corei7_nfaExecLbrShuf_inAccept
    -DnfaExecLbrShuf_inAnyAccept=corei7_nfaExecLbrShuf_inAnyAccept
    -DnfaExecLbrShuf_initCompressedState=corei7_nfaExecLbrShuf_initCompressedState
    -DnfaExecLbrShuf_queueCompressState=corei7_nfaExecLbrShuf_queueCompressState
    -DnfaExecLbrShuf_queueInitState=corei7_nfaExecLbrShuf_queueInitState
    -DnfaExecLbrShuf_reportCurrent=corei7_nfaExecLbrShuf_reportCurrent
    -DnfaExecLbrTruf_Q=corei7_nfaExecLbrTruf_Q
    -DnfaExecLbrTruf_Q2=corei7_nfaExecLbrTruf_Q2
    -DnfaExecLbrTruf_QR=corei7_nfaExecLbrTruf_QR
    -DnfaExecLbrTruf_expandState=corei7_nfaExecLbrTruf_expandState
    -DnfaExecLbrTruf_inAccept=corei7_nfaExecLbrTruf_inAccept
    -DnfaExecLbrTruf_inAnyAccept=corei7_nfaExecLbrTruf_inAnyAccept
    -DnfaExecLbrTruf_initCompressedState=corei7_nfaExecLbrTruf_initCompressedState
    -DnfaExecLbrTruf_queueCompressState=corei7_nfaExecLbrTruf_queueCompressState
    -DnfaExecLbrTruf_queueInitState=corei7_nfaExecLbrTruf_queueInitState
    -DnfaExecLbrTruf_reportCurrent=corei7_nfaExecLbrTruf_reportCurrent
    -DnfaExecLbrVerm_Q=corei7_nfaExecLbrVerm_Q
    -DnfaExecLbrVerm_Q2=corei7_nfaExecLbrVerm_Q2
    -DnfaExecLbrVerm_QR=corei7_nfaExecLbrVerm_QR
    -DnfaExecLbrVerm_expandState=corei7_nfaExecLbrVerm_expandState
    -DnfaExecLbrVerm_inAccept=corei7_nfaExecLbrVerm_inAccept
    -DnfaExecLbrVerm_inAnyAccept=corei7_nfaExecLbrVerm_inAnyAccept
    -DnfaExecLbrVerm_initCompressedState=corei7_nfaExecLbrVerm_initCompressedState
    -DnfaExecLbrVerm_queueCompressState=corei7_nfaExecLbrVerm_queueCompressState
    -DnfaExecLbrVerm_queueInitState=corei7_nfaExecLbrVerm_queueInitState
    -DnfaExecLbrVerm_reportCurrent=corei7_nfaExecLbrVerm_reportCurrent
    -DnfaExecLimEx128_B_Reverse=corei7_nfaExecLimEx128_B_Reverse
    -DnfaExecLimEx128_Q=corei7_nfaExecLimEx128_Q
    -DnfaExecLimEx128_Q2=corei7_nfaExecLimEx128_Q2
    -DnfaExecLimEx128_QR=corei7_nfaExecLimEx128_QR
    -DnfaExecLimEx128_expandState=corei7_nfaExecLimEx128_expandState
    -DnfaExecLimEx128_inAccept=corei7_nfaExecLimEx128_inAccept
    -DnfaExecLimEx128_inAnyAccept=corei7_nfaExecLimEx128_inAnyAccept
    -DnfaExecLimEx128_initCompressedState=corei7_nfaExecLimEx128_initCompressedState
    -DnfaExecLimEx128_queueCompressState=corei7_nfaExecLimEx128_queueCompressState
    -DnfaExecLimEx128_queueInitState=corei7_nfaExecLimEx128_queueInitState
    -DnfaExecLimEx128_reportCurrent=corei7_nfaExecLimEx128_reportCurrent
    -DnfaExecLimEx128_testEOD=corei7_nfaExecLimEx128_testEOD
    -DnfaExecLimEx128_zombie_status=corei7_nfaExecLimEx128_zombie_status
    -DnfaExecLimEx256_B_Reverse=corei7_nfaExecLimEx256_B_Reverse
    -DnfaExecLimEx256_Q=corei7_nfaExecLimEx256_Q
    -DnfaExecLimEx256_Q2=corei7_nfaExecLimEx256_Q2
    -DnfaExecLimEx256_QR=corei7_nfaExecLimEx256_QR
    -DnfaExecLimEx256_expandState=corei7_nfaExecLimEx256_expandState
    -DnfaExecLimEx256_inAccept=corei7_nfaExecLimEx256_inAccept
    -DnfaExecLimEx256_inAnyAccept=corei7_nfaExecLimEx256_inAnyAccept
    -DnfaExecLimEx256_initCompressedState=corei7_nfaExecLimEx256_initCompressedState
    -DnfaExecLimEx256_queueCompressState=corei7_nfaExecLimEx256_queueCompressState
    -DnfaExecLimEx256_queueInitState=corei7_nfaExecLimEx256_queueInitState
    -DnfaExecLimEx256_reportCurrent=corei7_nfaExecLimEx256_reportCurrent
    -DnfaExecLimEx256_testEOD=corei7_nfaExecLimEx256_testEOD
    -DnfaExecLimEx256_zombie_status=corei7_nfaExecLimEx256_zombie_status
    -DnfaExecLimEx32_B_Reverse=corei7_nfaExecLimEx32_B_Reverse
    -DnfaExecLimEx32_Q=corei7_nfaExecLimEx32_Q
    -DnfaExecLimEx32_Q2=corei7_nfaExecLimEx32_Q2
    -DnfaExecLimEx32_QR=corei7_nfaExecLimEx32_QR
    -DnfaExecLimEx32_expandState=corei7_nfaExecLimEx32_expandState
    -DnfaExecLimEx32_inAccept=corei7_nfaExecLimEx32_inAccept
    -DnfaExecLimEx32_inAnyAccept=corei7_nfaExecLimEx32_inAnyAccept
    -DnfaExecLimEx32_initCompressedState=corei7_nfaExecLimEx32_initCompressedState
    -DnfaExecLimEx32_queueCompressState=corei7_nfaExecLimEx32_queueCompressState
    -DnfaExecLimEx32_queueInitState=corei7_nfaExecLimEx32_queueInitState
    -DnfaExecLimEx32_reportCurrent=corei7_nfaExecLimEx32_reportCurrent
    -DnfaExecLimEx32_testEOD=corei7_nfaExecLimEx32_testEOD
    -DnfaExecLimEx32_zombie_status=corei7_nfaExecLimEx32_zombie_status
    -DnfaExecLimEx384_B_Reverse=corei7_nfaExecLimEx384_B_Reverse
    -DnfaExecLimEx384_Q=corei7_nfaExecLimEx384_Q
    -DnfaExecLimEx384_Q2=corei7_nfaExecLimEx384_Q2
    -DnfaExecLimEx384_QR=corei7_nfaExecLimEx384_QR
    -DnfaExecLimEx384_expandState=corei7_nfaExecLimEx384_expandState
    -DnfaExecLimEx384_inAccept=corei7_nfaExecLimEx384_inAccept
    -DnfaExecLimEx384_inAnyAccept=corei7_nfaExecLimEx384_inAnyAccept
    -DnfaExecLimEx384_initCompressedState=corei7_nfaExecLimEx384_initCompressedState
    -DnfaExecLimEx384_queueCompressState=corei7_nfaExecLimEx384_queueCompressState
    -DnfaExecLimEx384_queueInitState=corei7_nfaExecLimEx384_queueInitState
    -DnfaExecLimEx384_reportCurrent=corei7_nfaExecLimEx384_reportCurrent
    -DnfaExecLimEx384_testEOD=corei7_nfaExecLimEx384_testEOD
    -DnfaExecLimEx384_zombie_status=corei7_nfaExecLimEx384_zombie_status
    -DnfaExecLimEx512_B_Reverse=corei7_nfaExecLimEx512_B_Reverse
    -DnfaExecLimEx512_Q=corei7_nfaExecLimEx512_Q
    -DnfaExecLimEx512_Q2=corei7_nfaExecLimEx512_Q2
    -DnfaExecLimEx512_QR=corei7_nfaExecLimEx512_QR
    -DnfaExecLimEx512_expandState=corei7_nfaExecLimEx512_expandState
    -DnfaExecLimEx512_inAccept=corei7_nfaExecLimEx512_inAccept
    -DnfaExecLimEx512_inAnyAccept=corei7_nfaExecLimEx512_inAnyAccept
    -DnfaExecLimEx512_initCompressedState=corei7_nfaExecLimEx512_initCompressedState
    -DnfaExecLimEx512_queueCompressState=corei7_nfaExecLimEx512_queueCompressState
    -DnfaExecLimEx512_queueInitState=corei7_nfaExecLimEx512_queueInitState
    -DnfaExecLimEx512_reportCurrent=corei7_nfaExecLimEx512_reportCurrent
    -DnfaExecLimEx512_testEOD=corei7_nfaExecLimEx512_testEOD
    -DnfaExecLimEx512_zombie_status=corei7_nfaExecLimEx512_zombie_status
    -DnfaExecLimEx64_B_Reverse=corei7_nfaExecLimEx64_B_Reverse
    -DnfaExecLimEx64_Q=corei7_nfaExecLimEx64_Q
    -DnfaExecLimEx64_Q2=corei7_nfaExecLimEx64_Q2
    -DnfaExecLimEx64_QR=corei7_nfaExecLimEx64_QR
    -DnfaExecLimEx64_expandState=corei7_nfaExecLimEx64_expandState
    -DnfaExecLimEx64_inAccept=corei7_nfaExecLimEx64_inAccept
    -DnfaExecLimEx64_inAnyAccept=corei7_nfaExecLimEx64_inAnyAccept
    -DnfaExecLimEx64_initCompressedState=corei7_nfaExecLimEx64_initCompressedState
    -DnfaExecLimEx64_queueCompressState=corei7_nfaExecLimEx64_queueCompressState
    -DnfaExecLimEx64_queueInitState=corei7_nfaExecLimEx64_queueInitState
    -DnfaExecLimEx64_reportCurrent=corei7_nfaExecLimEx64_reportCurrent
    -DnfaExecLimEx64_testEOD=corei7_nfaExecLimEx64_testEOD
    -DnfaExecLimEx64_zombie_status=corei7_nfaExecLimEx64_zombie_status
    -DnfaExecMcClellan16_B=corei7_nfaExecMcClellan16_B
    -DnfaExecMcClellan16_Q=corei7_nfaExecMcClellan16_Q
    -DnfaExecMcClellan16_Q2=corei7_nfaExecMcClellan16_Q2
    -DnfaExecMcClellan16_QR=corei7_nfaExecMcClellan16_QR
    -DnfaExecMcClellan16_SimpStream=corei7_nfaExecMcClellan16_SimpStream
    -DnfaExecMcClellan16_expandState=corei7_nfaExecMcClellan16_expandState
    -DnfaExecMcClellan16_inAccept=corei7_nfaExecMcClellan16_inAccept
    -DnfaExecMcClellan16_inAnyAccept=corei7_nfaExecMcClellan16_inAnyAccept
    -DnfaExecMcClellan16_initCompressedState=corei7_nfaExecMcClellan16_initCompressedState
    -DnfaExecMcClellan16_queueCompressState=corei7_nfaExecMcClellan16_queueCompressState
    -DnfaExecMcClellan16_queueInitState=corei7_nfaExecMcClellan16_queueInitState
    -DnfaExecMcClellan16_reportCurrent=corei7_nfaExecMcClellan16_reportCurrent
    -DnfaExecMcClellan16_testEOD=corei7_nfaExecMcClellan16_testEOD
    -DnfaExecMcClellan8_B=corei7_nfaExecMcClellan8_B
    -DnfaExecMcClellan8_Q=corei7_nfaExecMcClellan8_Q
    -DnfaExecMcClellan8_Q2=corei7_nfaExecMcClellan8_Q2
    -DnfaExecMcClellan8_QR=corei7_nfaExecMcClellan8_QR
    -DnfaExecMcClellan8_SimpStream=corei7_nfaExecMcClellan8_SimpStream
    -DnfaExecMcClellan8_expandState=corei7_nfaExecMcClellan8_expandState
    -DnfaExecMcClellan8_inAccept=corei7_nfaExecMcClellan8_inAccept
    -DnfaExecMcClellan8_inAnyAccept=corei7_nfaExecMcClellan8_inAnyAccept
    -DnfaExecMcClellan8_initCompressedState=corei7_nfaExecMcClellan8_initCompressedState
    -DnfaExecMcClellan8_queueCompressState=corei7_nfaExecMcClellan8_queueCompressState
    -DnfaExecMcClellan8_queueInitState=corei7_nfaExecMcClellan8_queueInitState
    -DnfaExecMcClellan8_reportCurrent=corei7_nfaExecMcClellan8_reportCurrent
    -DnfaExecMcClellan8_testEOD=corei7_nfaExecMcClellan8_testEOD
    -DnfaExecMcSheng16_Q=corei7_nfaExecMcSheng16_Q
    -DnfaExecMcSheng16_Q2=corei7_nfaExecMcSheng16_Q2
    -DnfaExecMcSheng16_QR=corei7_nfaExecMcSheng16_QR
    -DnfaExecMcSheng16_expandState=corei7_nfaExecMcSheng16_expandState
    -DnfaExecMcSheng16_inAccept=corei7_nfaExecMcSheng16_inAccept
    -DnfaExecMcSheng16_inAnyAccept=corei7_nfaExecMcSheng16_inAnyAccept
    -DnfaExecMcSheng16_initCompressedState=corei7_nfaExecMcSheng16_initCompressedState
    -DnfaExecMcSheng16_queueCompressState=corei7_nfaExecMcSheng16_queueCompressState
    -DnfaExecMcSheng16_queueInitState=corei7_nfaExecMcSheng16_queueInitState
    -DnfaExecMcSheng16_reportCurrent=corei7_nfaExecMcSheng16_reportCurrent
    -DnfaExecMcSheng16_testEOD=corei7_nfaExecMcSheng16_testEOD
    -DnfaExecMcSheng8_Q=corei7_nfaExecMcSheng8_Q
    -DnfaExecMcSheng8_Q2=corei7_nfaExecMcSheng8_Q2
    -DnfaExecMcSheng8_QR=corei7_nfaExecMcSheng8_QR
    -DnfaExecMcSheng8_expandState=corei7_nfaExecMcSheng8_expandState
    -DnfaExecMcSheng8_inAccept=corei7_nfaExecMcSheng8_inAccept
    -DnfaExecMcSheng8_inAnyAccept=corei7_nfaExecMcSheng8_inAnyAccept
    -DnfaExecMcSheng8_initCompressedState=corei7_nfaExecMcSheng8_initCompressedState
    -DnfaExecMcSheng8_queueCompressState=corei7_nfaExecMcSheng8_queueCompressState
    -DnfaExecMcSheng8_queueInitState=corei7_nfaExecMcSheng8_queueInitState
    -DnfaExecMcSheng8_reportCurrent=corei7_nfaExecMcSheng8_reportCurrent
    -DnfaExecMcSheng8_testEOD=corei7_nfaExecMcSheng8_testEOD
    -DnfaExecMpv_Q=corei7_nfaExecMpv_Q
    -DnfaExecMpv_QueueExecRaw=corei7_nfaExecMpv_QueueExecRaw
    -DnfaExecMpv_expandState=corei7_nfaExecMpv_expandState
    -DnfaExecMpv_initCompressedState=corei7_nfaExecMpv_initCompressedState
    -DnfaExecMpv_queueCompressState=corei7_nfaExecMpv_queueCompressState
    -DnfaExecMpv_queueInitState=corei7_nfaExecMpv_queueInitState
    -DnfaExecMpv_reportCurrent=corei7_nfaExecMpv_reportCurrent
    -DnfaExecSheng_B=corei7_nfaExecSheng_B
    -DnfaExecSheng_Q=corei7_nfaExecSheng_Q
    -DnfaExecSheng_Q2=corei7_nfaExecSheng_Q2
    -DnfaExecSheng_QR=corei7_nfaExecSheng_QR
    -DnfaExecSheng_expandState=corei7_nfaExecSheng_expandState
    -DnfaExecSheng_inAccept=corei7_nfaExecSheng_inAccept
    -DnfaExecSheng_inAnyAccept=corei7_nfaExecSheng_inAnyAccept
    -DnfaExecSheng_initCompressedState=corei7_nfaExecSheng_initCompressedState
    -DnfaExecSheng_queueCompressState=corei7_nfaExecSheng_queueCompressState
    -DnfaExecSheng_queueInitState=corei7_nfaExecSheng_queueInitState
    -DnfaExecSheng_reportCurrent=corei7_nfaExecSheng_reportCurrent
    -DnfaExecSheng_testEOD=corei7_nfaExecSheng_testEOD
    -DnfaExecTamarama_Q=corei7_nfaExecTamarama_Q
    -DnfaExecTamarama_Q2=corei7_nfaExecTamarama_Q2
    -DnfaExecTamarama_QR=corei7_nfaExecTamarama_QR
    -DnfaExecTamarama_expandState=corei7_nfaExecTamarama_expandState
    -DnfaExecTamarama_inAccept=corei7_nfaExecTamarama_inAccept
    -DnfaExecTamarama_inAnyAccept=corei7_nfaExecTamarama_inAnyAccept
    -DnfaExecTamarama_queueCompressState=corei7_nfaExecTamarama_queueCompressState
    -DnfaExecTamarama_queueInitState=corei7_nfaExecTamarama_queueInitState
    -DnfaExecTamarama_reportCurrent=corei7_nfaExecTamarama_reportCurrent
    -DnfaExecTamarama_testEOD=corei7_nfaExecTamarama_testEOD
    -DnfaExecTamarama_zombie_status=corei7_nfaExecTamarama_zombie_status
    -DnfaExpandState=corei7_nfaExpandState
    -DnfaGetZombieStatus=corei7_nfaGetZombieStatus
    -DnfaInAcceptState=corei7_nfaInAcceptState
    -DnfaInAnyAcceptState=corei7_nfaInAnyAcceptState
    -DnfaInitCompressedState=corei7_nfaInitCompressedState
    -DnfaQueueCompressState=corei7_nfaQueueCompressState
    -DnfaQueueExec=corei7_nfaQueueExec
    -DnfaQueueExec2_raw=corei7_nfaQueueExec2_raw
    -DnfaQueueExecRose=corei7_nfaQueueExecRose
    -DnfaQueueExecToMatch=corei7_nfaQueueExecToMatch
    -DnfaQueueExec_raw=corei7_nfaQueueExec_raw
    -DnfaQueueInitState=corei7_nfaQueueInitState
    -DnfaReportCurrentMatches=corei7_nfaReportCurrentMatches
    -DnoodExec=corei7_noodExec
    -DnoodExecStreaming=corei7_noodExecStreaming
    -Dp_mask_arr=corei7_p_mask_arr
    -Dp_mask_arr256=corei7_p_mask_arr256
    -DrepeatHasMatchBitmap=corei7_repeatHasMatchBitmap
    -DrepeatHasMatchRange=corei7_repeatHasMatchRange
    -DrepeatHasMatchRing=corei7_repeatHasMatchRing
    -DrepeatHasMatchSparseOptimalP=corei7_repeatHasMatchSparseOptimalP
    -DrepeatHasMatchTrailer=corei7_repeatHasMatchTrailer
    -DrepeatLastTopBitmap=corei7_repeatLastTopBitmap
    -DrepeatLastTopRange=corei7_repeatLastTopRange
    -DrepeatLastTopRing=corei7_repeatLastTopRing
    -DrepeatLastTopSparseOptimalP=corei7_repeatLastTopSparseOptimalP
    -DrepeatLastTopTrailer=corei7_repeatLastTopTrailer
    -DrepeatNextMatchBitmap=corei7_repeatNextMatchBitmap
    -DrepeatNextMatchRange=corei7_repeatNextMatchRange
    -DrepeatNextMatchRing=corei7_repeatNextMatchRing
    -DrepeatNextMatchSparseOptimalP=corei7_repeatNextMatchSparseOptimalP
    -DrepeatNextMatchTrailer=corei7_repeatNextMatchTrailer
    -DrepeatPack=corei7_repeatPack
    -DrepeatStoreBitmap=corei7_repeatStoreBitmap
    -DrepeatStoreRange=corei7_repeatStoreRange
    -DrepeatStoreRing=corei7_repeatStoreRing
    -DrepeatStoreSparseOptimalP=corei7_repeatStoreSparseOptimalP
    -DrepeatStoreTrailer=corei7_repeatStoreTrailer
    -DrepeatUnpack=corei7_repeatUnpack
    -DroseAnchoredCallback=corei7_roseAnchoredCallback
    -DroseBlockExec=corei7_roseBlockExec
    -DroseCallback=corei7_roseCallback
    -DroseCatchUpAll=corei7_roseCatchUpAll
    -DroseCatchUpMPV_i=corei7_roseCatchUpMPV_i
    -DroseCatchUpSuf=corei7_roseCatchUpSuf
    -DroseDelayRebuildCallback=corei7_roseDelayRebuildCallback
    -DroseFloatingCallback=corei7_roseFloatingCallback
    -DroseHandleChainMatch=corei7_roseHandleChainMatch
    -DroseInitState=corei7_roseInitState
    -DroseNfaAdaptor=corei7_roseNfaAdaptor
    -DroseNfaEarliestSom=corei7_roseNfaEarliestSom
    -DroseReportAdaptor=corei7_roseReportAdaptor
    -DroseRunBoundaryProgram=corei7_roseRunBoundaryProgram
    -DroseRunFlushCombProgram=corei7_roseRunFlushCombProgram
    -DroseRunLastFlushCombProgram=corei7_roseRunLastFlushCombProgram
    -DroseRunProgram=corei7_roseRunProgram
    -DroseRunProgram_l=corei7_roseRunProgram_l
    -DroseStreamEodExec=corei7_roseStreamEodExec
    -DroseStreamExec=corei7_roseStreamExec
    -DrshuftiExec=corei7_rshuftiExec
    -DrtruffleExec=corei7_rtruffleExec
    -Drun_accel=corei7_run_accel
    -DsetSomFromSomAware=corei7_setSomFromSomAware
    -DshuftiDoubleExec=corei7_shuftiDoubleExec
    -DshuftiExec=corei7_shuftiExec
    -Dsimd_onebit_masks=corei7_simd_onebit_masks
    -Dsize_compress_stream=corei7_size_compress_stream
    -DstoreSomToStream=corei7_storeSomToStream
    -Dstorecompressed128=corei7_storecompressed128
    -Dstorecompressed256=corei7_storecompressed256
    -Dstorecompressed32=corei7_storecompressed32
    -Dstorecompressed384=corei7_storecompressed384
    -Dstorecompressed512=corei7_storecompressed512
    -Dstorecompressed64=corei7_storecompressed64
    -DstreamInitSufPQ=corei7_streamInitSufPQ
    -DtruffleExec=corei7_truffleExec
    -Dvbs_mask_data=corei7_vbs_mask_data
)

SRCDIR(contrib/libs/hyperscan)

SRCS(
    src/alloc.c
    src/crc32.c
    src/database.c
    src/fdr/fdr.c
    src/fdr/teddy.c
    src/fdr/teddy_avx2.c
    src/hs_valid_platform.c
    src/hs_version.c
    src/hwlm/hwlm.c
    src/hwlm/noodle_engine.c
    src/nfa/accel.c
    src/nfa/castle.c
    src/nfa/gough.c
    src/nfa/lbr.c
    src/nfa/limex_64.c
    src/nfa/limex_accel.c
    src/nfa/limex_native.c
    src/nfa/limex_simd128.c
    src/nfa/limex_simd256.c
    src/nfa/limex_simd384.c
    src/nfa/limex_simd512.c
    src/nfa/mcclellan.c
    src/nfa/mcsheng.c
    src/nfa/mcsheng_data.c
    src/nfa/mpv.c
    src/nfa/nfa_api_dispatch.c
    src/nfa/repeat.c
    src/nfa/sheng.c
    src/nfa/shufti.c
    src/nfa/tamarama.c
    src/nfa/truffle.c
    src/rose/block.c
    src/rose/catchup.c
    src/rose/init.c
    src/rose/match.c
    src/rose/program_runtime.c
    src/rose/stream.c
    src/runtime.c
    src/scratch.c
    src/som/som_runtime.c
    src/som/som_stream.c
    src/stream_compress.c
    src/util/cpuid_flags.c
    src/util/masked_move.c
    src/util/multibit.c
    src/util/simd_utils.c
    src/util/state_compress.c
)

END()