Implementation notes: amd64, speed2supercop, crypto_hash/luffa384

Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20240625
Operation: crypto_hash
Primitive: luffa384
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1958810163 0 54423974 792 1296T:sse2clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
1960810115 0 54423726 792 1296T:sse2clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
204927771 0 54418575 784 1344T:sse2clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
223689130 0 54419102 792 1280T:sse2clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2306411488 0 54423878 792 1280T:sse2clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
232689227 0 54419204 744 1344T:sse2gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
233687643 0 54416600 728 1312T:sse2gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
235289760 0 54422005 752 1344T:sse2gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
237929029 0 54419293 752 1344T:sse2gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
4190818824 320 032541 1120 744T:opt32clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
4421211154 320 021477 1080 800T:opt32gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
4433217328 320 031046 1120 744T:opt32clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
449849183 320 019975 1112 792T:opt32clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
4566019183 320 031670 1120 728T:opt32clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
4572417539 320 029861 1080 800T:opt32gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
5504811808 320 021862 1120 728T:opt32clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
6364810750 320 020804 1072 800T:opt32gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
639008603 320 017632 1056 768T:opt32gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625

Compiler output


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 (implementation,compiler) pairs: 10, namely:
ImplementationCompiler
T:sse2_x64asmclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:sse2_x64asmclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:sse2_x64asmclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:sse2_x64asmclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:sse2_x64asmclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:ssse3_x64asmclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:ssse3_x64asmclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:ssse3_x64asmclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:ssse3_x64asmclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:ssse3_x64asmclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

Compiler output


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 (implementation,compiler) pairs: 16, namely:
ImplementationCompiler
T:sse2_x64asmgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:sse2_x64asmgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:sse2_x64asmgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:sse2_x64asmgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:sse2_x64asm-2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:sse2_x64asm-2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:sse2_x64asm-2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:sse2_x64asm-2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:ssse3_x64asmgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:ssse3_x64asmgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:ssse3_x64asmgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:ssse3_x64asmgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:ssse3_x64asm-2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:ssse3_x64asm-2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:ssse3_x64asm-2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:ssse3_x64asm-2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)

Compiler output


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 (implementation,compiler) pairs: 10, namely:
ImplementationCompiler
T:sse2_x64asm-2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:sse2_x64asm-2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:sse2_x64asm-2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:sse2_x64asm-2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:sse2_x64asm-2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:ssse3_x64asm-2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:ssse3_x64asm-2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:ssse3_x64asm-2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:ssse3_x64asm-2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:ssse3_x64asm-2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

Compiler output


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 (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:ssse3_x64asm-PSclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:ssse3_x64asm-PSclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:ssse3_x64asm-PSclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:ssse3_x64asm-PSclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:ssse3_x64asm-PSclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

Compiler output


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 (implementation,compiler) pairs: 8, namely:
ImplementationCompiler
T:ssse3_x64asm-PSgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:ssse3_x64asm-PSgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:ssse3_x64asm-PSgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:ssse3_x64asm-PSgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:ssse3_x64asm-PS-2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:ssse3_x64asm-PS-2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:ssse3_x64asm-PS-2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:ssse3_x64asm-PS-2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)

Compiler output


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 (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:ssse3_x64asm-PS-2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:ssse3_x64asm-PS-2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:ssse3_x64asm-PS-2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:ssse3_x64asm-PS-2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:ssse3_x64asm-PS-2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

Compiler output


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:         fLuffa384(in, out, inlen);
hash.c:                   ^~
hash.c: hash.c:29:31: note: passing argument to parameter 'input' here
hash.c: 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 (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:thomaz/asm-PSclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:thomaz/asm-PSclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:thomaz/asm-PSclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:thomaz/asm-PSclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:thomaz/asm-PSclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

Compiler output


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:       |                ~~~~~~~~~~~~~~~^~~~~
luffa_384.s: luffa_384.s: Assembler messages:
luffa_384.s: luffa_384.s:294: Warning: mnemonic suffix used with `add'
luffa_384.s: luffa_384.s:294: Warning: NOTE: Such forms are deprecated and will be rejected by a future version of the assembler
luffa_384.s: luffa_384.s:300: Warning: mnemonic suffix used with `add'
luffa_384.s: luffa_384.s:364: Warning: mnemonic suffix used with `mov'
luffa_384.s: luffa_384.s:381: Warning: mnemonic suffix used with `mov'
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 (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:thomaz/asm-PSgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:thomaz/asm-PSgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:thomaz/asm-PSgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:thomaz/asm-PSgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)

Compiler output


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:         fLuffa384(in, out, inlen);
hash.c:                   ^~
hash.c: hash.c:29:31: note: passing argument to parameter 'input' here
hash.c: 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 (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:thomaz/asm-PS-v2-FPclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:thomaz/asm-PS-v2-FPclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:thomaz/asm-PS-v2-FPclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:thomaz/asm-PS-v2-FPclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:thomaz/asm-PS-v2-FPclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

Compiler output


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:       |                ~~~~~~~~~~~~~~~^~~~~
luffa_384.s: luffa_384.s: Assembler messages:
luffa_384.s: luffa_384.s:295: Warning: mnemonic suffix used with `add'
luffa_384.s: luffa_384.s:295: Warning: NOTE: Such forms are deprecated and will be rejected by a future version of the assembler
luffa_384.s: luffa_384.s:301: Warning: mnemonic suffix used with `add'
luffa_384.s: luffa_384.s:365: Warning: mnemonic suffix used with `mov'
luffa_384.s: luffa_384.s:382: Warning: mnemonic suffix used with `mov'
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 (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:thomaz/asm-PS-v2-FPgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:thomaz/asm-PS-v2-FPgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:thomaz/asm-PS-v2-FPgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:thomaz/asm-PS-v2-FPgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)

Compiler output


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:         fLuffa384(in, out, inlen);
hash.c:                   ^~
hash.c: hash.c:29:31: note: passing argument to parameter 'input' here
hash.c: 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 (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:thomaz/asm-PS-v2-INTclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:thomaz/asm-PS-v2-INTclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:thomaz/asm-PS-v2-INTclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:thomaz/asm-PS-v2-INTclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:thomaz/asm-PS-v2-INTclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

Compiler output


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:       |                ~~~~~~~~~~~~~~~^~~~~
luffa_384.s: luffa_384.s: Assembler messages:
luffa_384.s: luffa_384.s:295: Warning: mnemonic suffix used with `add'
luffa_384.s: luffa_384.s:295: Warning: NOTE: Such forms are deprecated and will be rejected by a future version of the assembler
luffa_384.s: luffa_384.s:301: Warning: mnemonic suffix used with `add'
luffa_384.s: luffa_384.s:365: Warning: mnemonic suffix used with `mov'
luffa_384.s: luffa_384.s:382: Warning: mnemonic suffix used with `mov'
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 (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:thomaz/asm-PS-v2-INTgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:thomaz/asm-PS-v2-INTgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:thomaz/asm-PS-v2-INTgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:thomaz/asm-PS-v2-INTgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)

Compiler output


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:         fLuffa384(in, out, inlen);
hash.c:                   ^~
hash.c: hash.c:29:31: note: passing argument to parameter 'input' here
hash.c: 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 (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:thomaz/asm-PSPar-v2-FPclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:thomaz/asm-PSPar-v2-FPclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:thomaz/asm-PSPar-v2-FPclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:thomaz/asm-PSPar-v2-FPclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:thomaz/asm-PSPar-v2-FPclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

Compiler output


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:       |                ~~~~~~~~~~~~~~~^~~~~
luffa384.s: luffa384.s: Assembler messages:
luffa384.s: luffa384.s:435: Warning: mnemonic suffix used with `add'
luffa384.s: luffa384.s:435: Warning: NOTE: Such forms are deprecated and will be rejected by a future version of the assembler
luffa384.s: luffa384.s:441: Warning: mnemonic suffix used with `add'
luffa384.s: luffa384.s:505: Warning: mnemonic suffix used with `mov'
luffa384.s: luffa384.s:522: Warning: mnemonic suffix used with `mov'
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 (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:thomaz/asm-PSPar-v2-FPgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:thomaz/asm-PSPar-v2-FPgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:thomaz/asm-PSPar-v2-FPgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:thomaz/asm-PSPar-v2-FPgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)

Compiler output


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:         fLuffa384(in, out, inlen);
hash.c:                   ^~
hash.c: hash.c:29:31: note: passing argument to parameter 'input' here
hash.c: 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 (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:thomaz/asm-PSPar-v2-INTclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:thomaz/asm-PSPar-v2-INTclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:thomaz/asm-PSPar-v2-INTclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:thomaz/asm-PSPar-v2-INTclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:thomaz/asm-PSPar-v2-INTclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

Compiler output


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:       |                ~~~~~~~~~~~~~~~^~~~~
luffa384.s: luffa384.s: Assembler messages:
luffa384.s: luffa384.s:434: Warning: mnemonic suffix used with `add'
luffa384.s: luffa384.s:434: Warning: NOTE: Such forms are deprecated and will be rejected by a future version of the assembler
luffa384.s: luffa384.s:440: Warning: mnemonic suffix used with `add'
luffa384.s: luffa384.s:504: Warning: mnemonic suffix used with `mov'
luffa384.s: luffa384.s:521: Warning: mnemonic suffix used with `mov'
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 (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:thomaz/asm-PSPar-v2-INTgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:thomaz/asm-PSPar-v2-INTgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:thomaz/asm-PSPar-v2-INTgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:thomaz/asm-PSPar-v2-INTgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)