aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/isa-l/erasure_code/ya.make
blob: 0f2c15a27f78ad1798ecbd0d6a8b1e15d45b05ce (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
LIBRARY(isa-l_ec)

LICENSE(BSD-3-Clause)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

VERSION(2.31)

NO_UTIL()

NO_COMPILER_WARNINGS()

ADDINCL(
    contrib/libs/isa-l/include
    FOR
    asm
    contrib/libs/isa-l/include
)

IF (ARCH_X86_64)
IF (OS_DARWIN)
    SRCS(
        ec_multibinary_darwin.asm
    )
ELSE()
    SRCS(
        ec_multibinary.asm
    )
ENDIF()

SRCS(
    ec_base.c
    ec_highlevel_func.c
    gf_2vect_dot_prod_avx2.asm
    gf_2vect_dot_prod_avx2_gfni.asm
    gf_2vect_dot_prod_avx512.asm
    gf_2vect_dot_prod_avx512_gfni.asm
    gf_2vect_dot_prod_avx.asm
    gf_2vect_dot_prod_sse.asm
    gf_2vect_mad_avx2.asm
    gf_2vect_mad_avx2_gfni.asm
    gf_2vect_mad_avx512.asm
    gf_2vect_mad_avx512_gfni.asm
    gf_2vect_mad_avx.asm
    gf_2vect_mad_sse.asm
    gf_3vect_dot_prod_avx2.asm
    gf_3vect_dot_prod_avx2_gfni.asm
    gf_3vect_dot_prod_avx512.asm
    gf_3vect_dot_prod_avx512_gfni.asm
    gf_3vect_dot_prod_avx.asm
    gf_3vect_dot_prod_sse.asm
    gf_3vect_mad_avx2.asm
    gf_3vect_mad_avx2_gfni.asm
    gf_3vect_mad_avx512.asm
    gf_3vect_mad_avx512_gfni.asm
    gf_3vect_mad_avx.asm
    gf_3vect_mad_sse.asm
    gf_4vect_dot_prod_avx2.asm
    gf_4vect_dot_prod_avx512.asm
    gf_4vect_dot_prod_avx512_gfni.asm
    gf_4vect_dot_prod_avx.asm
    gf_4vect_dot_prod_sse.asm
    gf_4vect_mad_avx2.asm
    gf_4vect_mad_avx2_gfni.asm
    gf_4vect_mad_avx512.asm
    gf_4vect_mad_avx512_gfni.asm
    gf_4vect_mad_avx.asm
    gf_4vect_mad_sse.asm
    gf_5vect_dot_prod_avx2.asm
    gf_5vect_dot_prod_avx512.asm
    gf_5vect_dot_prod_avx512_gfni.asm
    gf_5vect_dot_prod_avx.asm
    gf_5vect_dot_prod_sse.asm
    gf_5vect_mad_avx2.asm
    gf_5vect_mad_avx2_gfni.asm
    gf_5vect_mad_avx512.asm
    gf_5vect_mad_avx512_gfni.asm
    gf_5vect_mad_avx.asm
    gf_5vect_mad_sse.asm
    gf_6vect_dot_prod_avx2.asm
    gf_6vect_dot_prod_avx512.asm
    gf_6vect_dot_prod_avx512_gfni.asm
    gf_6vect_dot_prod_avx.asm
    gf_6vect_dot_prod_sse.asm
    gf_6vect_mad_avx2.asm
    gf_6vect_mad_avx512.asm
    gf_6vect_mad_avx512_gfni.asm
    gf_6vect_mad_avx.asm
    gf_6vect_mad_sse.asm
    gf_vect_dot_prod_avx2.asm
    gf_vect_dot_prod_avx2_gfni.asm
    gf_vect_dot_prod_avx512.asm
    gf_vect_dot_prod_avx512_gfni.asm
    gf_vect_dot_prod_avx.asm
    gf_vect_dot_prod_sse.asm
    gf_vect_mad_avx2.asm
    gf_vect_mad_avx2_gfni.asm
    gf_vect_mad_avx512.asm
    gf_vect_mad_avx512_gfni.asm
    gf_vect_mad_avx.asm
    gf_vect_mad_sse.asm
    gf_vect_mul_avx.asm
    gf_vect_mul_sse.asm
)
ELSEIF(ARCH_AARCH64)
SRCS(
    ec_base.c
    aarch64/ec_aarch64_dispatcher.c
    aarch64/ec_aarch64_highlevel_func.c
)

PEERDIR(
    contrib/libs/isa-l/erasure_code/aarch64
)
ENDIF()

END()