Implementation notes: amd64, icelake2, crypto_kem/threebears936r2cca

Computer: icelake2
Architecture: amd64
CPU ID: GenuineIntel-000706e5-bfebfbff
SUPERCOP version: 20221005
Operation: crypto_kem
Primitive: threebears936r2cca
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
141784443085 0 065011 796 1824refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100920220506
186935824939 0 046539 796 1760refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100920220506
188461215525 0 036594 780 1792refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100920220506
271994416948 0 037507 796 1760refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100920220506
37215947439 0 026690 780 1792refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100920220506
39807107205 0 026789 788 1824refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100920220506
84767188167 0 027027 796 1760refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100920220506
104979926459 0 025242 780 1792refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100920220506
113320885646 0 023302 772 1760refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100920220506

Compiler output

Implementation: lowmem
Security model: constbranchindex
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/ld: /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_Initialize':
try.c: (.text+0x...): multiple definition of `KeccakP1600_Initialize'; /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512_constbranchindex-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_AddBytes':
try.c: (.text+0x...): multiple definition of `KeccakP1600_AddBytes'; /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512_constbranchindex-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_OverwriteBytes':
try.c: (.text+0x...): multiple definition of `KeccakP1600_OverwriteBytes'; /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512_constbranchindex-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_OverwriteWithZeroes':
try.c: (.text+0x...): multiple definition of `KeccakP1600_OverwriteWithZeroes'; /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512_constbranchindex-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_ExtractBytes':
try.c: (.text+0x...): multiple definition of `KeccakP1600_ExtractBytes'; /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512_constbranchindex-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_ExtractAndAddBytes':
try.c: (.text+0x...): multiple definition of `KeccakP1600_ExtractAndAddBytes'; /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512_constbranchindex-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_Permute_24rounds':
try.c: (.text+0x...): multiple definition of `KeccakP1600_Permute_24rounds'; /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512_constbranchindex-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_Permute_12rounds':
try.c: (.text+0x...): multiple definition of `KeccakP1600_Permute_12rounds'; /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512_constbranchindex-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_Permute_Nrounds':
try.c: (.text+0x...): multiple definition of `KeccakP1600_Permute_Nrounds'; /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512_constbranchindex-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakF1600_FastLoop_Absorb':
try.c: (.text+0x...): multiple definition of `KeccakF1600_FastLoop_Absorb'; /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512_constbranchindex-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_12rounds_FastLoop_Absorb':
try.c: (.text+0x...): multiple definition of `KeccakP1600_12rounds_FastLoop_Absorb'; /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512_constbranchindex-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: clang-14: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 15, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE lowmem
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE lowmem
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE lowmem
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE lowmem
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE lowmem
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE vec
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE vec
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE vec
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE vec
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE vec

Compiler output

Implementation: lowmem
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_Initialize':
try.c: (.text+0x...): multiple definition of `KeccakP1600_Initialize'; /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512_constbranchindex-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_AddBytes':
try.c: (.text+0x...): multiple definition of `KeccakP1600_AddBytes'; /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512_constbranchindex-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_OverwriteBytes':
try.c: (.text+0x...): multiple definition of `KeccakP1600_OverwriteBytes'; /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512_constbranchindex-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_OverwriteWithZeroes':
try.c: (.text+0x...): multiple definition of `KeccakP1600_OverwriteWithZeroes'; /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512_constbranchindex-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_ExtractBytes':
try.c: (.text+0x...): multiple definition of `KeccakP1600_ExtractBytes'; /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512_constbranchindex-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_ExtractAndAddBytes':
try.c: (.text+0x...): multiple definition of `KeccakP1600_ExtractAndAddBytes'; /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512_constbranchindex-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_Permute_24rounds':
try.c: (.text+0x...): multiple definition of `KeccakP1600_Permute_24rounds'; /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512_constbranchindex-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_Permute_12rounds':
try.c: (.text+0x...): multiple definition of `KeccakP1600_Permute_12rounds'; /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512_constbranchindex-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_Permute_Nrounds':
try.c: (.text+0x...): multiple definition of `KeccakP1600_Permute_Nrounds'; /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512_constbranchindex-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakF1600_FastLoop_Absorb':
try.c: (.text+0x...): multiple definition of `KeccakF1600_FastLoop_Absorb'; /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512_constbranchindex-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
try.c: /usr/bin/ld: /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libkeccak.a(KeccakP-1600-AVX2.o): in function `KeccakP1600_12rounds_FastLoop_Absorb':
try.c: (.text+0x...): multiple definition of `KeccakP1600_12rounds_FastLoop_Absorb'; /home/djb/supercop-20220506/supercop-data/icelake/amd64/lib/libsupercop.a(crypto_hash_sha3224_kcp_optimized1600AVX512_constbranchindex-KeccakP-1600-AVX512.o):KeccakP-1600-AVX512.c:(.text+0x...): first defined here
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 lowmem
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE vec