Implementation notes: amd64, h2atom, crypto_hash/luffa512

Computer: h2atom
Microarchitecture: amd64; Bonnell (106ca)
Architecture: amd64
CPU ID: GenuineIntel-000106ca-bfe9fbff
SUPERCOP version: 20240107
Operation: crypto_hash
Primitive: luffa512
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
5754610099 0 54421626 828 1440T:sse2clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231212
5757010179 0 54422890 828 1440T:sse2clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231212
6024611737 0 54424987 804 1504T:sse2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231212
612518879 0 54418812 820 1440T:sse2clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231212
630708561 0 54418878 780 1472T:sse2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231212
6492911296 0 54424018 828 1440T:sse2clang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231212
6589210375 0 54422443 804 1504T:sse2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231212
7313510043 0 54420754 828 1440T:sse2clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231212
7996310923 0 54422418 796 1504T:sse2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231212
10707016732 320 029458 1156 896T:opt32clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231212
11292828126 0 040291 804 960T:sphlibgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231212
11518925196 0 035252 820 896T:sphlibclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231212
11585725880 0 038866 828 896T:sphlibclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231212
11586225848 0 037658 828 896T:sphlibclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231212
11610325677 0 036474 828 896T:sphlibclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231212
11666319235 320 032050 1156 896T:opt32clang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231212
11714528654 0 042011 804 960T:sphlibgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231212
11816721993 0 032398 780 928T:sphlibgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231212
12509025840 0 038826 828 896T:sphlibclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231212
12777426078 0 037747 804 960T:sphlibgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231212
14054515532 320 027258 1156 896T:opt32clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231212
1918629377 320 019340 1148 896T:opt32clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231212
19689911378 320 022178 1156 896T:opt32clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231212
23499211047 320 023187 1132 960T:opt32gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231212
2789609183 320 019566 1108 928T:opt32gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231212
28844010636 320 022202 1124 960T:opt32gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231212

Test failure

Implementation: T:opt32
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE
error 111

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt32

Compiler output

Implementation: T:sse2_x64asm
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
luffa_x64asm.s: luffa_x64asm.s:780:13: error: unknown token in expression
luffa_x64asm.s: movaps %xmm0, [IV ]
luffa_x64asm.s: ^
luffa_x64asm.s: luffa_x64asm.s:781:13: error: unknown token in expression
luffa_x64asm.s: movaps %xmm1, [IV+16]
luffa_x64asm.s: ^
luffa_x64asm.s: luffa_x64asm.s:782:13: error: unknown token in expression
luffa_x64asm.s: movaps %xmm2, [IV+32]
luffa_x64asm.s: ^
luffa_x64asm.s: luffa_x64asm.s:783:13: error: unknown token in expression
luffa_x64asm.s: movaps %xmm3, [IV+48]
luffa_x64asm.s: ^
luffa_x64asm.s: luffa_x64asm.s:784:13: error: unknown token in expression
luffa_x64asm.s: movaps %xmm4, [IV+64]
luffa_x64asm.s: ^
luffa_x64asm.s: luffa_x64asm.s:785:13: error: unknown token in expression
luffa_x64asm.s: movaps %xmm5, [IV+80]
luffa_x64asm.s: ^
luffa_x64asm.s: luffa_x64asm.s:786:14: error: unknown token in expression
luffa_x64asm.s: movups [%rdi ], %xmm0
luffa_x64asm.s: ^
luffa_x64asm.s: luffa_x64asm.s:787:14: error: unknown token in expression
luffa_x64asm.s: movups [%rdi+16], %xmm1
luffa_x64asm.s: ^
luffa_x64asm.s: luffa_x64asm.s:788:14: error: unknown token in expression
luffa_x64asm.s: ...

Number of similar (compiler,implementation) pairs: 10, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:sse2_x64asm
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:sse2_x64asm
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:sse2_x64asm
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:sse2_x64asm
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:sse2_x64asm
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm

Compiler output

Implementation: T:sse2_x64asm
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_hash_luffa512.a(luffa_x64asm.o): relocation R_X86_64_32S against symbol `IV' can not be used when making a PIE object; recompile with -fPIE
try.c: /usr/bin/ld: failed to set dynamic section sizes: bad value
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 16, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:sse2_x64asm
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:sse2_x64asm
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:sse2_x64asm
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:sse2_x64asm
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:sse2_x64asm-2
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:sse2_x64asm-2
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:sse2_x64asm-2
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:sse2_x64asm-2
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ssse3_x64asm
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ssse3_x64asm
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ssse3_x64asm
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ssse3_x64asm
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ssse3_x64asm-2
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ssse3_x64asm-2
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ssse3_x64asm-2
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ssse3_x64asm-2

Compiler output

Implementation: T:sse2_x64asm-2
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
luffa_x64asm.s: luffa_x64asm.s:780:13: error: unknown token in expression
luffa_x64asm.s: movdqa %xmm0, [IV ]
luffa_x64asm.s: ^
luffa_x64asm.s: luffa_x64asm.s:781:13: error: unknown token in expression
luffa_x64asm.s: movdqa %xmm1, [IV+16]
luffa_x64asm.s: ^
luffa_x64asm.s: luffa_x64asm.s:782:13: error: unknown token in expression
luffa_x64asm.s: movdqa %xmm2, [IV+32]
luffa_x64asm.s: ^
luffa_x64asm.s: luffa_x64asm.s:783:13: error: unknown token in expression
luffa_x64asm.s: movdqa %xmm3, [IV+48]
luffa_x64asm.s: ^
luffa_x64asm.s: luffa_x64asm.s:784:13: error: unknown token in expression
luffa_x64asm.s: movdqa %xmm4, [IV+64]
luffa_x64asm.s: ^
luffa_x64asm.s: luffa_x64asm.s:785:13: error: unknown token in expression
luffa_x64asm.s: movdqa %xmm5, [IV+80]
luffa_x64asm.s: ^
luffa_x64asm.s: luffa_x64asm.s:786:14: error: unknown token in expression
luffa_x64asm.s: movups [%rdi ], %xmm0
luffa_x64asm.s: ^
luffa_x64asm.s: luffa_x64asm.s:787:14: error: unknown token in expression
luffa_x64asm.s: movups [%rdi+16], %xmm1
luffa_x64asm.s: ^
luffa_x64asm.s: luffa_x64asm.s:788:14: error: unknown token in expression
luffa_x64asm.s: ...

Number of similar (compiler,implementation) pairs: 10, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:sse2_x64asm-2
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:sse2_x64asm-2
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:sse2_x64asm-2
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:sse2_x64asm-2
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:sse2_x64asm-2
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm-2
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm-2
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm-2
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm-2
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm-2

Compiler output

Implementation: T:ssse3_x64asm-PS
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
luffa256_x64asm.s: luffa256_x64asm.s:297:9: error: unknown token in expression
luffa256_x64asm.s: movaps %xmm0, [IV ]
luffa256_x64asm.s: ^
luffa256_x64asm.s: luffa256_x64asm.s:298:9: error: unknown token in expression
luffa256_x64asm.s: movaps %xmm1, [IV+16]
luffa256_x64asm.s: ^
luffa256_x64asm.s: luffa256_x64asm.s:299:9: error: unknown token in expression
luffa256_x64asm.s: movaps %xmm2, [IV+32]
luffa256_x64asm.s: ^
luffa256_x64asm.s: luffa256_x64asm.s:300:9: error: unknown token in expression
luffa256_x64asm.s: movaps %xmm3, [IV+48]
luffa256_x64asm.s: ^
luffa256_x64asm.s: luffa256_x64asm.s:301:9: error: unknown token in expression
luffa256_x64asm.s: movaps %xmm4, [IV+64]
luffa256_x64asm.s: ^
luffa256_x64asm.s: luffa256_x64asm.s:302:9: error: unknown token in expression
luffa256_x64asm.s: movaps %xmm5, [IV+80]
luffa256_x64asm.s: ^
luffa256_x64asm.s: luffa256_x64asm.s:303:10: error: unknown token in expression
luffa256_x64asm.s: movups [%rdi ], %xmm0
luffa256_x64asm.s: ^
luffa256_x64asm.s: luffa256_x64asm.s:304:10: error: unknown token in expression
luffa256_x64asm.s: movups [%rdi+16], %xmm1
luffa256_x64asm.s: ^
luffa256_x64asm.s: luffa256_x64asm.s:305:10: error: unknown token in expression
luffa256_x64asm.s: ...

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm-PS
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm-PS
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm-PS
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm-PS
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm-PS

Compiler output

Implementation: T:ssse3_x64asm-PS
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_hash_luffa512.a(luffa256_x64asm.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
try.c: /usr/bin/ld: failed to set dynamic section sizes: bad value
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 8, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ssse3_x64asm-PS
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ssse3_x64asm-PS
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ssse3_x64asm-PS
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ssse3_x64asm-PS
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ssse3_x64asm-PS-2
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ssse3_x64asm-PS-2
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ssse3_x64asm-PS-2
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ssse3_x64asm-PS-2

Compiler output

Implementation: T:ssse3_x64asm-PS-2
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
luffa256_x64asm.s: luffa256_x64asm.s:297:9: error: unknown token in expression
luffa256_x64asm.s: movdqa %xmm0, [IV ]
luffa256_x64asm.s: ^
luffa256_x64asm.s: luffa256_x64asm.s:298:9: error: unknown token in expression
luffa256_x64asm.s: movdqa %xmm1, [IV+16]
luffa256_x64asm.s: ^
luffa256_x64asm.s: luffa256_x64asm.s:299:9: error: unknown token in expression
luffa256_x64asm.s: movdqa %xmm2, [IV+32]
luffa256_x64asm.s: ^
luffa256_x64asm.s: luffa256_x64asm.s:300:9: error: unknown token in expression
luffa256_x64asm.s: movdqa %xmm3, [IV+48]
luffa256_x64asm.s: ^
luffa256_x64asm.s: luffa256_x64asm.s:301:9: error: unknown token in expression
luffa256_x64asm.s: movdqa %xmm4, [IV+64]
luffa256_x64asm.s: ^
luffa256_x64asm.s: luffa256_x64asm.s:302:9: error: unknown token in expression
luffa256_x64asm.s: movdqa %xmm5, [IV+80]
luffa256_x64asm.s: ^
luffa256_x64asm.s: luffa256_x64asm.s:303:10: error: unknown token in expression
luffa256_x64asm.s: movdqu [%rdi ], %xmm0
luffa256_x64asm.s: ^
luffa256_x64asm.s: luffa256_x64asm.s:304:10: error: unknown token in expression
luffa256_x64asm.s: movdqu [%rdi+16], %xmm1
luffa256_x64asm.s: ^
luffa256_x64asm.s: luffa256_x64asm.s:305:10: error: unknown token in expression
luffa256_x64asm.s: ...

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm-PS-2
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm-PS-2
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm-PS-2
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm-PS-2
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm-PS-2

Compiler output

Implementation: T:thomaz/asm-PS
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hash.c: hash.c:32:12: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
hash.c: fLuffa512(in, out, inlen);
hash.c: ^~
hash.c: hash.c:29:31: note: passing argument to parameter 'input' here
hash.c: void fLuffa512(unsigned char *input, unsigned char *output, int len);
hash.c: ^
hash.c: 1 warning generated.
luffa_512.s: <instantiation>:1:8: error: unknown token in expression
luffa_512.s: pshufb %xmm10, maskShufLittleEndian
luffa_512.s: ^
luffa_512.s: <instantiation>:1:1: note: while in macro instantiation
luffa_512.s: mPSSTEPI %xmm10, %xmm11, maskShufLittleEndian
luffa_512.s: ^
luffa_512.s: luffa_512.s:303:2: note: while in macro instantiation
luffa_512.s: mPS %xmm10, %xmm11, %xmm12, %xmm13, %xmm14, %xmm15
luffa_512.s: ^
luffa_512.s: <instantiation>:2:9: error: unknown token in expression
luffa_512.s: pshufb %xmm11, maskShufLittleEndian
luffa_512.s: ^
luffa_512.s: <instantiation>:1:1: note: while in macro instantiation
luffa_512.s: mPSSTEPI %xmm10, %xmm11, maskShufLittleEndian
luffa_512.s: ^
luffa_512.s: luffa_512.s:303:2: note: while in macro instantiation
luffa_512.s: mPS %xmm10, %xmm11, %xmm12, %xmm13, %xmm14, %xmm15
luffa_512.s: ^
luffa_512.s: <instantiation>:1:8: error: unknown token in expression
luffa_512.s: movaps %xmm12, %xmm10
luffa_512.s: ^
luffa_512.s: <instantiation>:2:2: note: while in macro instantiation
luffa_512.s: mPSSTEPII %xmm10, %xmm11, %xmm12, %xmm13, %xmm14, %xmm15
luffa_512.s: ^
luffa_512.s: luffa_512.s:303:2: note: while in macro instantiation
luffa_512.s: ...

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PS
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PS
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PS
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PS
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PS

Compiler output

Implementation: T:thomaz/asm-PS
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hash.c: hash.c: In function 'crypto_hash_luffa512_thomaz_asm_PS_timingleaks':
hash.c: hash.c:32:19: warning: passing argument 1 of 'fLuffa512' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
hash.c: 32 | fLuffa512(in, out, inlen);
hash.c: | ^~
hash.c: hash.c:29:31: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
hash.c: 29 | void fLuffa512(unsigned char *input, unsigned char *output, int len);
hash.c: | ~~~~~~~~~~~~~~~^~~~~
try.c: /usr/bin/ld: libcrypto_hash_luffa512.a(luffa_512.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
try.c: /usr/bin/ld: failed to set dynamic section sizes: bad value
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:thomaz/asm-PS
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:thomaz/asm-PS
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:thomaz/asm-PS
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:thomaz/asm-PS

Compiler output

Implementation: T:thomaz/asm-PS-v2-FP
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hash.c: hash.c:32:12: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
hash.c: fLuffa512(in, out, inlen);
hash.c: ^~
hash.c: hash.c:29:31: note: passing argument to parameter 'input' here
hash.c: void fLuffa512(unsigned char *input, unsigned char *output, int len);
hash.c: ^
hash.c: 1 warning generated.
luffa_512.s: <instantiation>:1:8: error: unknown token in expression
luffa_512.s: pshufb %xmm10, maskShufLittleEndian
luffa_512.s: ^
luffa_512.s: <instantiation>:1:1: note: while in macro instantiation
luffa_512.s: mPSSTEPI %xmm10, %xmm11, maskShufLittleEndian
luffa_512.s: ^
luffa_512.s: luffa_512.s:302:2: note: while in macro instantiation
luffa_512.s: mPS %xmm10, %xmm11, %xmm12, %xmm13, %xmm14, %xmm15
luffa_512.s: ^
luffa_512.s: <instantiation>:2:9: error: unknown token in expression
luffa_512.s: pshufb %xmm11, maskShufLittleEndian
luffa_512.s: ^
luffa_512.s: <instantiation>:1:1: note: while in macro instantiation
luffa_512.s: mPSSTEPI %xmm10, %xmm11, maskShufLittleEndian
luffa_512.s: ^
luffa_512.s: luffa_512.s:302:2: note: while in macro instantiation
luffa_512.s: mPS %xmm10, %xmm11, %xmm12, %xmm13, %xmm14, %xmm15
luffa_512.s: ^
luffa_512.s: <instantiation>:1:8: error: unknown token in expression
luffa_512.s: movaps %xmm12, %xmm10
luffa_512.s: ^
luffa_512.s: <instantiation>:2:2: note: while in macro instantiation
luffa_512.s: mPSSTEPII %xmm10, %xmm11, %xmm12, %xmm13, %xmm14, %xmm15
luffa_512.s: ^
luffa_512.s: luffa_512.s:302:2: note: while in macro instantiation
luffa_512.s: ...

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PS-v2-FP
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PS-v2-FP
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PS-v2-FP
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PS-v2-FP
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PS-v2-FP

Compiler output

Implementation: T:thomaz/asm-PS-v2-FP
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hash.c: hash.c: In function 'crypto_hash_luffa512_thomaz_asm_PS_v2_FP_timingleaks':
hash.c: hash.c:32:19: warning: passing argument 1 of 'fLuffa512' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
hash.c: 32 | fLuffa512(in, out, inlen);
hash.c: | ^~
hash.c: hash.c:29:31: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
hash.c: 29 | void fLuffa512(unsigned char *input, unsigned char *output, int len);
hash.c: | ~~~~~~~~~~~~~~~^~~~~
try.c: /usr/bin/ld: libcrypto_hash_luffa512.a(luffa_512.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
try.c: /usr/bin/ld: failed to set dynamic section sizes: bad value
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:thomaz/asm-PS-v2-FP
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:thomaz/asm-PS-v2-FP
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:thomaz/asm-PS-v2-FP
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:thomaz/asm-PS-v2-FP

Compiler output

Implementation: T:thomaz/asm-PS-v2-INT
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hash.c: hash.c:32:12: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
hash.c: fLuffa512(in, out, inlen);
hash.c: ^~
hash.c: hash.c:29:31: note: passing argument to parameter 'input' here
hash.c: void fLuffa512(unsigned char *input, unsigned char *output, int len);
hash.c: ^
hash.c: 1 warning generated.
luffa_512.s: <instantiation>:1:8: error: unknown token in expression
luffa_512.s: pshufb %xmm10, maskShufLittleEndian
luffa_512.s: ^
luffa_512.s: <instantiation>:1:1: note: while in macro instantiation
luffa_512.s: mPSSTEPI %xmm10, %xmm11, maskShufLittleEndian
luffa_512.s: ^
luffa_512.s: luffa_512.s:305:2: note: while in macro instantiation
luffa_512.s: mPS %xmm10, %xmm11, %xmm12, %xmm13, %xmm14, %xmm15
luffa_512.s: ^
luffa_512.s: <instantiation>:2:9: error: unknown token in expression
luffa_512.s: pshufb %xmm11, maskShufLittleEndian
luffa_512.s: ^
luffa_512.s: <instantiation>:1:1: note: while in macro instantiation
luffa_512.s: mPSSTEPI %xmm10, %xmm11, maskShufLittleEndian
luffa_512.s: ^
luffa_512.s: luffa_512.s:305:2: note: while in macro instantiation
luffa_512.s: mPS %xmm10, %xmm11, %xmm12, %xmm13, %xmm14, %xmm15
luffa_512.s: ^
luffa_512.s: <instantiation>:1:8: error: unknown token in expression
luffa_512.s: movdqa %xmm12, %xmm10
luffa_512.s: ^
luffa_512.s: <instantiation>:2:2: note: while in macro instantiation
luffa_512.s: mPSSTEPII %xmm10, %xmm11, %xmm12, %xmm13, %xmm14, %xmm15
luffa_512.s: ^
luffa_512.s: luffa_512.s:305:2: note: while in macro instantiation
luffa_512.s: ...

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PS-v2-INT
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PS-v2-INT
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PS-v2-INT
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PS-v2-INT
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PS-v2-INT

Compiler output

Implementation: T:thomaz/asm-PS-v2-INT
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hash.c: hash.c: In function 'crypto_hash_luffa512_thomaz_asm_PS_v2_INT_timingleaks':
hash.c: hash.c:32:19: warning: passing argument 1 of 'fLuffa512' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
hash.c: 32 | fLuffa512(in, out, inlen);
hash.c: | ^~
hash.c: hash.c:29:31: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
hash.c: 29 | void fLuffa512(unsigned char *input, unsigned char *output, int len);
hash.c: | ~~~~~~~~~~~~~~~^~~~~
try.c: /usr/bin/ld: libcrypto_hash_luffa512.a(luffa_512.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
try.c: /usr/bin/ld: failed to set dynamic section sizes: bad value
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:thomaz/asm-PS-v2-INT
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:thomaz/asm-PS-v2-INT
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:thomaz/asm-PS-v2-INT
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:thomaz/asm-PS-v2-INT

Compiler output

Implementation: T:thomaz/asm-PSPar-v2-FP
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hash.c: hash.c:32:12: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
hash.c: fLuffa512(in, out, inlen);
hash.c: ^~
hash.c: hash.c:29:31: note: passing argument to parameter 'input' here
hash.c: void fLuffa512(unsigned char *input, unsigned char *output, int len);
hash.c: ^
hash.c: 1 warning generated.
luffa512.s: <instantiation>:1:8: error: unknown token in expression
luffa512.s: pshufb %xmm10, maskShufLittleEndian
luffa512.s: ^
luffa512.s: <instantiation>:1:1: note: while in macro instantiation
luffa512.s: mPSSTEPI %xmm10, %xmm11, maskShufLittleEndian
luffa512.s: ^
luffa512.s: luffa512.s:449:2: note: while in macro instantiation
luffa512.s: mPS %xmm10, %xmm11, %xmm12, %xmm13, %xmm14, %xmm15
luffa512.s: ^
luffa512.s: <instantiation>:2:9: error: unknown token in expression
luffa512.s: pshufb %xmm11, maskShufLittleEndian
luffa512.s: ^
luffa512.s: <instantiation>:1:1: note: while in macro instantiation
luffa512.s: mPSSTEPI %xmm10, %xmm11, maskShufLittleEndian
luffa512.s: ^
luffa512.s: luffa512.s:449:2: note: while in macro instantiation
luffa512.s: mPS %xmm10, %xmm11, %xmm12, %xmm13, %xmm14, %xmm15
luffa512.s: ^
luffa512.s: <instantiation>:1:8: error: unknown token in expression
luffa512.s: movaps %xmm12, %xmm10
luffa512.s: ^
luffa512.s: <instantiation>:2:2: note: while in macro instantiation
luffa512.s: mPSSTEPII %xmm10, %xmm11, %xmm12, %xmm13, %xmm14, %xmm15
luffa512.s: ^
luffa512.s: luffa512.s:449:2: note: while in macro instantiation
luffa512.s: ...

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PSPar-v2-FP
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PSPar-v2-FP
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PSPar-v2-FP
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PSPar-v2-FP
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PSPar-v2-FP

Compiler output

Implementation: T:thomaz/asm-PSPar-v2-FP
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hash.c: hash.c: In function 'crypto_hash_luffa512_thomaz_asm_PSPar_v2_FP_timingleaks':
hash.c: hash.c:32:19: warning: passing argument 1 of 'fLuffa512' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
hash.c: 32 | fLuffa512(in, out, inlen);
hash.c: | ^~
hash.c: hash.c:29:31: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
hash.c: 29 | void fLuffa512(unsigned char *input, unsigned char *output, int len);
hash.c: | ~~~~~~~~~~~~~~~^~~~~
try.c: /usr/bin/ld: libcrypto_hash_luffa512.a(luffa512.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
try.c: /usr/bin/ld: failed to set dynamic section sizes: bad value
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:thomaz/asm-PSPar-v2-FP
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:thomaz/asm-PSPar-v2-FP
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:thomaz/asm-PSPar-v2-FP
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:thomaz/asm-PSPar-v2-FP

Compiler output

Implementation: T:thomaz/asm-PSPar-v2-INT
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hash.c: hash.c:32:12: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
hash.c: fLuffa512(in, out, inlen);
hash.c: ^~
hash.c: hash.c:29:31: note: passing argument to parameter 'input' here
hash.c: void fLuffa512(unsigned char *input, unsigned char *output, int len);
hash.c: ^
hash.c: 1 warning generated.
luffa512.s: <instantiation>:1:8: error: unknown token in expression
luffa512.s: pshufb %xmm10, maskShufLittleEndian
luffa512.s: ^
luffa512.s: <instantiation>:1:1: note: while in macro instantiation
luffa512.s: mPSSTEPI %xmm10, %xmm11, maskShufLittleEndian
luffa512.s: ^
luffa512.s: luffa512.s:449:2: note: while in macro instantiation
luffa512.s: mPS %xmm10, %xmm11, %xmm12, %xmm13, %xmm14, %xmm15
luffa512.s: ^
luffa512.s: <instantiation>:2:9: error: unknown token in expression
luffa512.s: pshufb %xmm11, maskShufLittleEndian
luffa512.s: ^
luffa512.s: <instantiation>:1:1: note: while in macro instantiation
luffa512.s: mPSSTEPI %xmm10, %xmm11, maskShufLittleEndian
luffa512.s: ^
luffa512.s: luffa512.s:449:2: note: while in macro instantiation
luffa512.s: mPS %xmm10, %xmm11, %xmm12, %xmm13, %xmm14, %xmm15
luffa512.s: ^
luffa512.s: <instantiation>:1:8: error: unknown token in expression
luffa512.s: movdqa %xmm12, %xmm10
luffa512.s: ^
luffa512.s: <instantiation>:2:2: note: while in macro instantiation
luffa512.s: mPSSTEPII %xmm10, %xmm11, %xmm12, %xmm13, %xmm14, %xmm15
luffa512.s: ^
luffa512.s: luffa512.s:449:2: note: while in macro instantiation
luffa512.s: ...

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PSPar-v2-INT
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PSPar-v2-INT
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PSPar-v2-INT
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PSPar-v2-INT
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PSPar-v2-INT

Compiler output

Implementation: T:thomaz/asm-PSPar-v2-INT
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hash.c: hash.c: In function 'crypto_hash_luffa512_thomaz_asm_PSPar_v2_INT_timingleaks':
hash.c: hash.c:32:19: warning: passing argument 1 of 'fLuffa512' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
hash.c: 32 | fLuffa512(in, out, inlen);
hash.c: | ^~
hash.c: hash.c:29:31: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
hash.c: 29 | void fLuffa512(unsigned char *input, unsigned char *output, int len);
hash.c: | ~~~~~~~~~~~~~~~^~~~~
try.c: /usr/bin/ld: libcrypto_hash_luffa512.a(luffa512.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
try.c: /usr/bin/ld: failed to set dynamic section sizes: bad value
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:thomaz/asm-PSPar-v2-INT
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:thomaz/asm-PSPar-v2-INT
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:thomaz/asm-PSPar-v2-INT
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:thomaz/asm-PSPar-v2-INT