aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/asmlib/ya.make
blob: 35baa5a7a2cd26635040107c455368a6bf3bbe4b (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
LIBRARY()

LICENSE(
    GPL-1.0-or-later AND
    GPL-2.0-only AND
    GPL-3.0-or-later AND
    LGPL-2.0-or-later AND
    LGPL-3.0-only
)

VERSION(2016-11-16)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

ORIGINAL_SOURCE(https://www.agner.org/optimize/)

NO_PLATFORM()

SET(_YASM_PREDEFINED_FLAGS_VALUE "")

IF (ARCH_X86_64)
    IF (OS_DARWIN)
        PEERDIR(
            contrib/libs/asmglibc
        )
    ENDIF()
    IF (NOT OS_DARWIN)
        SRCS(
            sfmt64.asm
            mother64.asm
            mersenne64.asm
        )
    ENDIF()
    SRCS(
        debugbreak64.asm
        cachesize64.asm
        divfixedi64.asm
        rdtsc64.asm
        strcat64.asm
        unalignedisfaster64.asm
        strcpy64.asm
        substring64.asm
        strlen64.asm
        cputype64.asm
        memcmp64.asm
        memmove64.asm
        stricmp64.asm
        divfixedv64.asm
        physseed64.asm
        cpuid64.asm
        round64.asm
        memcpy64.asm
        popcount64.asm
        dispatchpatch64.asm
        #instrset64.asm
        procname64.asm
        memset64.asm
        #disabled because of protection violation
        #strcountutf864.asm
        #strcountset64.asm
        #strtouplow64.asm
        #strcmp64.asm
        #strspn64.asm
        #strstr64.asm
    )
ENDIF()

IF (ARCH_I386)
    SRCS(
        debugbreak32.asm
        cachesize32.asm
        divfixedi32.asm
        rdtsc32.asm
        strcat32.asm
        unalignedisfaster32.asm
        strcpy32.asm
        substring32.asm
        strlen32.asm
        cputype32.asm
        memcmp32.asm
        memmove32.asm
        sfmt32.asm
        stricmp32.asm
        divfixedv32.asm
        physseed32.asm
        cpuid32.asm
        mother32.asm
        round32.asm
        mersenne32.asm
        memcpy32.asm
        popcount32.asm
        dispatchpatch32.asm
        #instrset32.asm
        procname32.asm
        memset32.asm
        #disabled because of protection violation
        #strcountutf832.asm
        #strcountset32.asm
        #strtouplow32.asm
        #strcmp32.asm
        #strspn32.asm
        #strstr32.asm
    )
ENDIF()

SRCS(
    dummy.c
)

END()