Implementation notes: ppc64, power9, crypto_kem/threebears1248r2cca

Computer: power9
Architecture: ppc64
CPU ID: unknown CPU ID
SUPERCOP version: 20210326
Operation: crypto_kem
Primitive: threebears1248r2cca
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
755343021028 0 045834 692 1920refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
887529713190 0 039071 684 1936refgcc_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
887701213190 0 039071 684 1936refgcc_-mcpu=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
995304623212 0 049546 692 1920refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
996175046424 0 049546 692 1920refclang_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
1045101819484 0 043738 692 1904refclang_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
1045139619484 0 043738 692 1904refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
1252698213050 0 039187 684 1936refgcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
173634957033 0 027956 684 1904refclang_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
173657137033 0 027956 684 1904refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
234339087329 0 028868 684 1904refclang_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
234667447329 0 028868 684 1904refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
267870967514 0 029572 676 1920refgcc_-mcpu=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
269913487514 0 029572 676 1920refgcc_-mcpu=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
290544057526 0 029704 676 1920refgcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
366359229947 0 034540 684 1928refgcc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
367691689911 0 034480 684 1928refgcc_-mcpu=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
369222129911 0 034480 684 1928refgcc_-mcpu=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
371427238815 0 032808 684 1928refgcc_-mcpu=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
371442518815 0 032808 684 1928refgcc_-mcpu=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
373577728871 0 032844 684 1928refgcc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326

Compiler output

Implementation: lowmem
Security model: constbranchindex
Compiler: clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
shake.c: In file included from shake.c:3:
shake.c: ./shake.h:3:10: fatal error: 'libkeccak.a.headers/KeccakP-1600-SnP.h' file not found
shake.c: #include <libkeccak.a.headers/KeccakP-1600-SnP.h>
shake.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
shake.c: 1 error generated.

Number of similar (compiler,implementation) pairs: 24, namely:
CompilerImplementations
clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE lowmem
clang -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE lowmem
clang -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE lowmem
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 -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
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 -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE vec
clang -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE vec
clang -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE vec
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: clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
shake.c: In file included from shake.c:3:
shake.c: ./shake.h:3:10: fatal error: 'libkeccak.a.headers/KeccakP-1600-SnP.h' file not found
shake.c: #include <libkeccak.a.headers/KeccakP-1600-SnP.h>
shake.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
shake.c: 1 error generated.
shake.c: In file included from shake.c:3:
shake.c: ./shake.h:3:10: fatal error: 'libkeccak.a.headers/KeccakP-1600-SnP.h' file not found
shake.c: #include <libkeccak.a.headers/KeccakP-1600-SnP.h>
shake.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
shake.c: 1 error generated.

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE lowmem opt vec

Compiler output

Implementation: lowmem
Security model: constbranchindex
Compiler: gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
shake.c: In file included from shake.c:3:
shake.c: shake.h:3:10: fatal error: libkeccak.a.headers/KeccakP-1600-SnP.h: No such file or directory
shake.c: 3 | #include <libkeccak.a.headers/KeccakP-1600-SnP.h>
shake.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
shake.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 36, namely:
CompilerImplementations
gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -mcpu=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -mcpu=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -mcpu=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -mcpu=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -mcpu=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -mcpu=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -mcpu=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -mcpu=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -mcpu=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -mcpu=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -mcpu=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -mcpu=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -mcpu=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -mcpu=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -mcpu=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -mcpu=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -mcpu=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -mcpu=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -mcpu=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -mcpu=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -mcpu=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -mcpu=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -mcpu=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -mcpu=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE vec

Namespace violations

Implementation: ref
Security model: constbranchindex
Compiler: clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
melas_fec.o pqcrypto_kem_threebears1248r2cca_impl_priv_melas_fec_correct T
melas_fec.o pqcrypto_kem_threebears1248r2cca_impl_priv_melas_fec_set T
ring.o pqcrypto_kem_threebears1248r2cca_impl_priv_canon_3120 T
ring.o pqcrypto_kem_threebears1248r2cca_impl_priv_contract_3120 T
ring.o pqcrypto_kem_threebears1248r2cca_impl_priv_expand_3120 T
ring.o pqcrypto_kem_threebears1248r2cca_impl_priv_mac_3120 T
shake.o pqcrypto_kem_threebears1248r2cca_impl_priv_hash_output T
shake.o pqcrypto_kem_threebears1248r2cca_impl_priv_hash_update T
shake.o pqcrypto_kem_threebears1248r2cca_impl_priv_threebears_cshake_init T
threebears.o pqcrypto_kem_threebears1248r2cca_impl_priv_decapsulate T
threebears.o pqcrypto_kem_threebears1248r2cca_impl_priv_encapsulate T
threebears.o pqcrypto_kem_threebears1248r2cca_impl_priv_get_pubkey T
threebears.o pqcrypto_kem_threebears1248r2cca_impl_priv_secure_bzero T

Number of similar (compiler,implementation) pairs: 20, namely:
CompilerImplementations
clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -mcpu=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -mcpu=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -mcpu=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -mcpu=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -mcpu=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -mcpu=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -mcpu=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -mcpu=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ref

Namespace violations

Implementation: ref
Security model: constbranchindex
Compiler: clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
melas_fec.o pqcrypto_kem_threebears1248r2cca_impl_priv_melas_fec_correct T
melas_fec.o pqcrypto_kem_threebears1248r2cca_impl_priv_melas_fec_correct T
melas_fec.o pqcrypto_kem_threebears1248r2cca_impl_priv_melas_fec_set T
melas_fec.o pqcrypto_kem_threebears1248r2cca_impl_priv_melas_fec_set T
ring.o pqcrypto_kem_threebears1248r2cca_impl_priv_canon_3120 T
ring.o pqcrypto_kem_threebears1248r2cca_impl_priv_canon_3120 T
ring.o pqcrypto_kem_threebears1248r2cca_impl_priv_contract_3120 T
ring.o pqcrypto_kem_threebears1248r2cca_impl_priv_contract_3120 T
ring.o pqcrypto_kem_threebears1248r2cca_impl_priv_expand_3120 T
ring.o pqcrypto_kem_threebears1248r2cca_impl_priv_expand_3120 T
ring.o pqcrypto_kem_threebears1248r2cca_impl_priv_mac_3120 T
ring.o pqcrypto_kem_threebears1248r2cca_impl_priv_mac_3120 T
shake.o pqcrypto_kem_threebears1248r2cca_impl_priv_hash_output T
shake.o pqcrypto_kem_threebears1248r2cca_impl_priv_hash_output T
shake.o pqcrypto_kem_threebears1248r2cca_impl_priv_hash_update T
shake.o pqcrypto_kem_threebears1248r2cca_impl_priv_hash_update T
shake.o pqcrypto_kem_threebears1248r2cca_impl_priv_threebears_cshake_init T
shake.o pqcrypto_kem_threebears1248r2cca_impl_priv_threebears_cshake_init T
threebears.o pqcrypto_kem_threebears1248r2cca_impl_priv_decapsulate T
threebears.o pqcrypto_kem_threebears1248r2cca_impl_priv_decapsulate T
threebears.o pqcrypto_kem_threebears1248r2cca_impl_priv_encapsulate T
threebears.o pqcrypto_kem_threebears1248r2cca_impl_priv_encapsulate T
threebears.o pqcrypto_kem_threebears1248r2cca_impl_priv_get_pubkey T
threebears.o pqcrypto_kem_threebears1248r2cca_impl_priv_get_pubkey T
threebears.o pqcrypto_kem_threebears1248r2cca_impl_priv_secure_bzero T
threebears.o pqcrypto_kem_threebears1248r2cca_impl_priv_secure_bzero T

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref