Implementation notes: amd64, hertz, crypto_hash/luffa384

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240107
Operation: crypto_hash
Primitive: luffa384
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
119808646 0 54422819 844 1512T:sse2clang-17_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231217
119869845 0 54424139 844 1512T:sse2clang-17_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231217
128047034 0 54418612 836 1512T:sse2clang-17_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231217
145949987 0 54423757 804 1576T:sse2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217
155788664 0 54418896 780 1480T:sse2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217
156669675 0 54421461 804 1512T:sse2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217
3781618255 320 032101 1132 1032T:opt32gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217
3826711619 320 023429 1132 968T:opt32gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217
494099221 320 019520 1108 936T:opt32gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217
7055518476 320 032787 1172 968T:opt32clang-17_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231217
7385218276 320 032507 1172 968T:opt32clang-17_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231217
7950410516 320 022140 1164 968T:opt32clang-17_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231217

Compiler output

Implementation: T:sse2_x64asm
Security model: timingleaks
Compiler: clang-17 -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: 6, namely:
CompilerImplementations
clang-17 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:sse2_x64asm
clang-17 -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:sse2_x64asm
clang-17 -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:sse2_x64asm
clang-17 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm
clang-17 -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm
clang-17 -march=native -Os -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_luffa384.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: 12, 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 -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 -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 -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 -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ssse3_x64asm-2

Compiler output

Implementation: T:sse2_x64asm-2
Security model: timingleaks
Compiler: clang-17 -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: 6, namely:
CompilerImplementations
clang-17 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:sse2_x64asm-2
clang-17 -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:sse2_x64asm-2
clang-17 -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:sse2_x64asm-2
clang-17 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm-2
clang-17 -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm-2
clang-17 -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm-2

Compiler output

Implementation: T:ssse3_x64asm-PS
Security model: timingleaks
Compiler: clang-17 -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: 3, namely:
CompilerImplementations
clang-17 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm-PS
clang-17 -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm-PS
clang-17 -march=native -Os -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_luffa384.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: 6, 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 -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 -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-17 -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: 3, namely:
CompilerImplementations
clang-17 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm-PS-2
clang-17 -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ssse3_x64asm-PS-2
clang-17 -march=native -Os -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-17 -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: 32 | fLuffa384(in, out, inlen);
hash.c: | ^~
hash.c: hash.c:29:31: note: passing argument to parameter 'input' here
hash.c: 29 | void fLuffa384(unsigned char *input, unsigned char *output, int len);
hash.c: | ^
hash.c: 1 warning generated.
luffa_384.s: <instantiation>:1:8: error: unknown token in expression
luffa_384.s: pshufb %xmm8, maskShufLittleEndian
luffa_384.s: ^
luffa_384.s: <instantiation>:1:1: note: while in macro instantiation
luffa_384.s: mPSSTEPI %xmm8, %xmm9, maskShufLittleEndian
luffa_384.s: ^
luffa_384.s: luffa_384.s:266:2: note: while in macro instantiation
luffa_384.s: mPS %xmm8, %xmm9, %xmm10, %xmm11, %xmm12, %xmm13
luffa_384.s: ^
luffa_384.s: <instantiation>:2:9: error: unknown token in expression
luffa_384.s: pshufb %xmm9, maskShufLittleEndian
luffa_384.s: ^
luffa_384.s: <instantiation>:1:1: note: while in macro instantiation
luffa_384.s: mPSSTEPI %xmm8, %xmm9, maskShufLittleEndian
luffa_384.s: ^
luffa_384.s: luffa_384.s:266:2: note: while in macro instantiation
luffa_384.s: mPS %xmm8, %xmm9, %xmm10, %xmm11, %xmm12, %xmm13
luffa_384.s: ^
luffa_384.s: <instantiation>:1:8: error: unknown token in expression
luffa_384.s: movaps %xmm10, %xmm8
luffa_384.s: ^
luffa_384.s: <instantiation>:2:2: note: while in macro instantiation
luffa_384.s: mPSSTEPII %xmm8, %xmm9, %xmm10, %xmm11, %xmm12, %xmm13
luffa_384.s: ^
luffa_384.s: luffa_384.s:266:2: note: while in macro instantiation
luffa_384.s: ...

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
clang-17 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PS
clang-17 -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PS
clang-17 -march=native -Os -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_luffa384_thomaz_asm_PS_timingleaks':
hash.c: hash.c:32:19: warning: passing argument 1 of 'fLuffa384' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
hash.c: 32 | fLuffa384(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 fLuffa384(unsigned char *input, unsigned char *output, int len);
hash.c: | ~~~~~~~~~~~~~~~^~~~~
try.c: /usr/bin/ld: libcrypto_hash_luffa384.a(luffa_384.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: 3, 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 -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-17 -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: 32 | fLuffa384(in, out, inlen);
hash.c: | ^~
hash.c: hash.c:29:31: note: passing argument to parameter 'input' here
hash.c: 29 | void fLuffa384(unsigned char *input, unsigned char *output, int len);
hash.c: | ^
hash.c: 1 warning generated.
luffa_384.s: <instantiation>:1:8: error: unknown token in expression
luffa_384.s: pshufb %xmm8, maskShufLittleEndian
luffa_384.s: ^
luffa_384.s: <instantiation>:1:1: note: while in macro instantiation
luffa_384.s: mPSSTEPI %xmm8, %xmm9, maskShufLittleEndian
luffa_384.s: ^
luffa_384.s: luffa_384.s:267:2: note: while in macro instantiation
luffa_384.s: mPS %xmm8, %xmm9, %xmm10, %xmm11, %xmm12, %xmm13
luffa_384.s: ^
luffa_384.s: <instantiation>:2:9: error: unknown token in expression
luffa_384.s: pshufb %xmm9, maskShufLittleEndian
luffa_384.s: ^
luffa_384.s: <instantiation>:1:1: note: while in macro instantiation
luffa_384.s: mPSSTEPI %xmm8, %xmm9, maskShufLittleEndian
luffa_384.s: ^
luffa_384.s: luffa_384.s:267:2: note: while in macro instantiation
luffa_384.s: mPS %xmm8, %xmm9, %xmm10, %xmm11, %xmm12, %xmm13
luffa_384.s: ^
luffa_384.s: <instantiation>:1:8: error: unknown token in expression
luffa_384.s: movaps %xmm10, %xmm8
luffa_384.s: ^
luffa_384.s: <instantiation>:2:2: note: while in macro instantiation
luffa_384.s: mPSSTEPII %xmm8, %xmm9, %xmm10, %xmm11, %xmm12, %xmm13
luffa_384.s: ^
luffa_384.s: luffa_384.s:267:2: note: while in macro instantiation
luffa_384.s: ...

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
clang-17 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PS-v2-FP
clang-17 -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PS-v2-FP
clang-17 -march=native -Os -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_luffa384_thomaz_asm_PS_v2_FP_timingleaks':
hash.c: hash.c:32:19: warning: passing argument 1 of 'fLuffa384' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
hash.c: 32 | fLuffa384(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 fLuffa384(unsigned char *input, unsigned char *output, int len);
hash.c: | ~~~~~~~~~~~~~~~^~~~~
try.c: /usr/bin/ld: libcrypto_hash_luffa384.a(luffa_384.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: 3, 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 -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-17 -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: 32 | fLuffa384(in, out, inlen);
hash.c: | ^~
hash.c: hash.c:29:31: note: passing argument to parameter 'input' here
hash.c: 29 | void fLuffa384(unsigned char *input, unsigned char *output, int len);
hash.c: | ^
hash.c: 1 warning generated.
luffa_384.s: <instantiation>:1:8: error: unknown token in expression
luffa_384.s: pshufb %xmm8, maskShufLittleEndian
luffa_384.s: ^
luffa_384.s: <instantiation>:1:1: note: while in macro instantiation
luffa_384.s: mPSSTEPI %xmm8, %xmm9, maskShufLittleEndian
luffa_384.s: ^
luffa_384.s: luffa_384.s:267:2: note: while in macro instantiation
luffa_384.s: mPS %xmm8, %xmm9, %xmm10, %xmm11, %xmm12, %xmm13
luffa_384.s: ^
luffa_384.s: <instantiation>:2:9: error: unknown token in expression
luffa_384.s: pshufb %xmm9, maskShufLittleEndian
luffa_384.s: ^
luffa_384.s: <instantiation>:1:1: note: while in macro instantiation
luffa_384.s: mPSSTEPI %xmm8, %xmm9, maskShufLittleEndian
luffa_384.s: ^
luffa_384.s: luffa_384.s:267:2: note: while in macro instantiation
luffa_384.s: mPS %xmm8, %xmm9, %xmm10, %xmm11, %xmm12, %xmm13
luffa_384.s: ^
luffa_384.s: <instantiation>:1:8: error: unknown token in expression
luffa_384.s: movdqa %xmm10, %xmm8
luffa_384.s: ^
luffa_384.s: <instantiation>:2:2: note: while in macro instantiation
luffa_384.s: mPSSTEPII %xmm8, %xmm9, %xmm10, %xmm11, %xmm12, %xmm13
luffa_384.s: ^
luffa_384.s: luffa_384.s:267:2: note: while in macro instantiation
luffa_384.s: ...

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
clang-17 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PS-v2-INT
clang-17 -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PS-v2-INT
clang-17 -march=native -Os -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_luffa384_thomaz_asm_PS_v2_INT_timingleaks':
hash.c: hash.c:32:19: warning: passing argument 1 of 'fLuffa384' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
hash.c: 32 | fLuffa384(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 fLuffa384(unsigned char *input, unsigned char *output, int len);
hash.c: | ~~~~~~~~~~~~~~~^~~~~
try.c: /usr/bin/ld: libcrypto_hash_luffa384.a(luffa_384.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: 3, 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 -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-17 -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: 32 | fLuffa384(in, out, inlen);
hash.c: | ^~
hash.c: hash.c:29:31: note: passing argument to parameter 'input' here
hash.c: 29 | void fLuffa384(unsigned char *input, unsigned char *output, int len);
hash.c: | ^
hash.c: 1 warning generated.
luffa384.s: <instantiation>:1:8: error: unknown token in expression
luffa384.s: pshufb %xmm8, maskShufLittleEndian
luffa384.s: ^
luffa384.s: <instantiation>:1:1: note: while in macro instantiation
luffa384.s: mPSSTEPI %xmm8, %xmm9, maskShufLittleEndian
luffa384.s: ^
luffa384.s: luffa384.s:401:2: note: while in macro instantiation
luffa384.s: mPS %xmm8, %xmm9, %xmm10, %xmm11, %xmm12, %xmm13
luffa384.s: ^
luffa384.s: <instantiation>:2:9: error: unknown token in expression
luffa384.s: pshufb %xmm9, maskShufLittleEndian
luffa384.s: ^
luffa384.s: <instantiation>:1:1: note: while in macro instantiation
luffa384.s: mPSSTEPI %xmm8, %xmm9, maskShufLittleEndian
luffa384.s: ^
luffa384.s: luffa384.s:401:2: note: while in macro instantiation
luffa384.s: mPS %xmm8, %xmm9, %xmm10, %xmm11, %xmm12, %xmm13
luffa384.s: ^
luffa384.s: <instantiation>:1:8: error: unknown token in expression
luffa384.s: movaps %xmm10, %xmm8
luffa384.s: ^
luffa384.s: <instantiation>:2:2: note: while in macro instantiation
luffa384.s: mPSSTEPII %xmm8, %xmm9, %xmm10, %xmm11, %xmm12, %xmm13
luffa384.s: ^
luffa384.s: luffa384.s:401:2: note: while in macro instantiation
luffa384.s: ...

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
clang-17 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PSPar-v2-FP
clang-17 -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PSPar-v2-FP
clang-17 -march=native -Os -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_luffa384_thomaz_asm_PSPar_v2_FP_timingleaks':
hash.c: hash.c:32:19: warning: passing argument 1 of 'fLuffa384' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
hash.c: 32 | fLuffa384(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 fLuffa384(unsigned char *input, unsigned char *output, int len);
hash.c: | ~~~~~~~~~~~~~~~^~~~~
try.c: /usr/bin/ld: libcrypto_hash_luffa384.a(luffa384.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: 3, 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 -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-17 -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: 32 | fLuffa384(in, out, inlen);
hash.c: | ^~
hash.c: hash.c:29:31: note: passing argument to parameter 'input' here
hash.c: 29 | void fLuffa384(unsigned char *input, unsigned char *output, int len);
hash.c: | ^
hash.c: 1 warning generated.
luffa384.s: <instantiation>:1:8: error: unknown token in expression
luffa384.s: pshufb %xmm8, maskShufLittleEndian
luffa384.s: ^
luffa384.s: <instantiation>:1:1: note: while in macro instantiation
luffa384.s: mPSSTEPI %xmm8, %xmm9, maskShufLittleEndian
luffa384.s: ^
luffa384.s: luffa384.s:400:2: note: while in macro instantiation
luffa384.s: mPS %xmm8, %xmm9, %xmm10, %xmm11, %xmm12, %xmm13
luffa384.s: ^
luffa384.s: <instantiation>:2:9: error: unknown token in expression
luffa384.s: pshufb %xmm9, maskShufLittleEndian
luffa384.s: ^
luffa384.s: <instantiation>:1:1: note: while in macro instantiation
luffa384.s: mPSSTEPI %xmm8, %xmm9, maskShufLittleEndian
luffa384.s: ^
luffa384.s: luffa384.s:400:2: note: while in macro instantiation
luffa384.s: mPS %xmm8, %xmm9, %xmm10, %xmm11, %xmm12, %xmm13
luffa384.s: ^
luffa384.s: <instantiation>:1:8: error: unknown token in expression
luffa384.s: movdqa %xmm10, %xmm8
luffa384.s: ^
luffa384.s: <instantiation>:2:2: note: while in macro instantiation
luffa384.s: mPSSTEPII %xmm8, %xmm9, %xmm10, %xmm11, %xmm12, %xmm13
luffa384.s: ^
luffa384.s: luffa384.s:400:2: note: while in macro instantiation
luffa384.s: ...

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
clang-17 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PSPar-v2-INT
clang-17 -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:thomaz/asm-PSPar-v2-INT
clang-17 -march=native -Os -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_luffa384_thomaz_asm_PSPar_v2_INT_timingleaks':
hash.c: hash.c:32:19: warning: passing argument 1 of 'fLuffa384' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
hash.c: 32 | fLuffa384(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 fLuffa384(unsigned char *input, unsigned char *output, int len);
hash.c: | ~~~~~~~~~~~~~~~^~~~~
try.c: /usr/bin/ld: libcrypto_hash_luffa384.a(luffa384.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: 3, 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 -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:thomaz/asm-PSPar-v2-INT