x86_64 assembly pack: "optimize" for Knights Landing, add AVX-512 results.
[openssl.git] / crypto / sha / build.info
1 LIBS=../../libcrypto
2 SOURCE[../../libcrypto]=\
3         sha1dgst.c sha1_one.c sha256.c sha512.c {- $target{sha1_asm_src} -}
4
5 GENERATE[sha1-586.s]=asm/sha1-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(LIB_CFLAGS) $(PROCESSOR)
6 DEPEND[sha1-586.s]=../perlasm/x86asm.pl
7 GENERATE[sha256-586.s]=asm/sha256-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(LIB_CFLAGS) $(PROCESSOR)
8 DEPEND[sha256-586.s]=../perlasm/x86asm.pl
9 GENERATE[sha512-586.s]=asm/sha512-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(LIB_CFLAGS) $(PROCESSOR)
10 DEPEND[sha512-586.s]=../perlasm/x86asm.pl
11
12 GENERATE[sha1-ia64.s]=asm/sha1-ia64.pl $(CFLAGS) $(LIB_CFLAGS)
13 GENERATE[sha256-ia64.s]=asm/sha512-ia64.pl $(CFLAGS) $(LIB_CFLAGS)
14 GENERATE[sha512-ia64.s]=asm/sha512-ia64.pl $(CFLAGS) $(LIB_CFLAGS)
15
16 GENERATE[sha1-alpha.S]=asm/sha1-alpha.pl $(PERLASM_SCHEME)
17
18 GENERATE[sha1-x86_64.s]=asm/sha1-x86_64.pl $(PERLASM_SCHEME)
19 GENERATE[sha1-mb-x86_64.s]=asm/sha1-mb-x86_64.pl $(PERLASM_SCHEME)
20 GENERATE[sha256-x86_64.s]=asm/sha512-x86_64.pl $(PERLASM_SCHEME)
21 GENERATE[sha256-mb-x86_64.s]=asm/sha256-mb-x86_64.pl $(PERLASM_SCHEME)
22 GENERATE[sha512-x86_64.s]=asm/sha512-x86_64.pl $(PERLASM_SCHEME)
23
24 GENERATE[sha1-sparcv9.S]=asm/sha1-sparcv9.pl $(PERLASM_SCHEME)
25 INCLUDE[sha1-sparcv9.o]=..
26 GENERATE[sha256-sparcv9.S]=asm/sha512-sparcv9.pl $(PERLASM_SCHEME)
27 INCLUDE[sha256-sparcv9.o]=..
28 GENERATE[sha512-sparcv9.S]=asm/sha512-sparcv9.pl $(PERLASM_SCHEME)
29 INCLUDE[sha512-sparcv9.o]=..
30
31 GENERATE[sha1-ppc.s]=asm/sha1-ppc.pl $(PERLASM_SCHEME)
32 GENERATE[sha256-ppc.s]=asm/sha512-ppc.pl $(PERLASM_SCHEME)
33 GENERATE[sha512-ppc.s]=asm/sha512-ppc.pl $(PERLASM_SCHEME)
34 GENERATE[sha256p8-ppc.s]=asm/sha512p8-ppc.pl $(PERLASM_SCHEME)
35 GENERATE[sha512p8-ppc.s]=asm/sha512p8-ppc.pl $(PERLASM_SCHEME)
36
37 GENERATE[sha1-parisc.s]=asm/sha1-parisc.pl $(PERLASM_SCHEME)
38 GENERATE[sha256-parisc.s]=asm/sha512-parisc.pl $(PERLASM_SCHEME)
39 GENERATE[sha512-parisc.s]=asm/sha512-parisc.pl $(PERLASM_SCHEME)
40
41 GENERATE[sha1-mips.S]=asm/sha1-mips.pl $(PERLASM_SCHEME)
42 INCLUDE[sha1-mips.o]=..
43 GENERATE[sha256-mips.S]=asm/sha512-mips.pl $(PERLASM_SCHEME)
44 INCLUDE[sha256-mips.o]=..
45 GENERATE[sha512-mips.S]=asm/sha512-mips.pl $(PERLASM_SCHEME)
46 INCLUDE[sha512-mips.o]=..
47
48 GENERATE[sha1-armv4-large.S]=asm/sha1-armv4-large.pl $(PERLASM_SCHEME)
49 INCLUDE[sha1-armv4-large.o]=..
50 GENERATE[sha256-armv4.S]=asm/sha256-armv4.pl $(PERLASM_SCHEME)
51 INCLUDE[sha256-armv4.o]=..
52 GENERATE[sha512-armv4.S]=asm/sha512-armv4.pl $(PERLASM_SCHEME)
53 INCLUDE[sha512-armv4.o]=..
54
55 GENERATE[sha1-armv8.S]=asm/sha1-armv8.pl $(PERLASM_SCHEME)
56 INCLUDE[sha1-armv8.o]=..
57 GENERATE[sha256-armv8.S]=asm/sha512-armv8.pl $(PERLASM_SCHEME)
58 INCLUDE[sha256-armv8.o]=..
59 GENERATE[sha512-armv8.S]=asm/sha512-armv8.pl $(PERLASM_SCHEME)
60 INCLUDE[sha512-armv8.o]=..
61
62 BEGINRAW[Makefile(unix)]
63 ##### SHA assembler implementations
64
65 # GNU make "catch all"
66 {- $builddir -}/sha1-%.S:       {- $sourcedir -}/asm/sha1-%.pl
67         CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
68 {- $builddir -}/sha256-%.S:     {- $sourcedir -}/asm/sha512-%.pl
69         CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
70 {- $builddir -}/sha512-%.S:     {- $sourcedir -}/asm/sha512-%.pl
71         CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
72 ENDRAW[Makefile(unix)]