Implementation notes: amd64, icelake2, crypto_kem/threebears1248r2cca

Computer: icelake2
Architecture: amd64
CPU ID: GenuineIntel-000706e5-bfebfbff
SUPERCOP version: 20221005
Operation: crypto_kem
Primitive: threebears1248r2cca
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
220081150023 0 071955 796 1824refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100920220506
287782924383 0 045995 796 1760refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100920220506
309834015322 0 036394 780 1792refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100920220506
418485918596 0 039155 796 1760refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100920220506
58769017440 0 026690 780 1792refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100920220506
63002567206 0 026789 788 1824refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100920220506
138714358168 0 027027 796 1760refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022100920220506
170795036444 0 025226 780 1792refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022100920220506
183316655574 0 023230 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