Implementation notes: ppc64, power9, crypto_kem/threebears936r2cpa

Computer: power9
Architecture: ppc64
CPU ID: unknown CPU ID
SUPERCOP version: 20210326
Operation: crypto_kem
Primitive: threebears936r2cpa
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
191867118519 0 043290 692 1920refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
243405312157 0 038067 684 1936refgcc_-mcpu=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
252559541374 0 046970 692 1920refclang_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
252747020687 0 046970 692 1920refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
256174212157 0 038067 684 1936refgcc_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
264709619031 0 043226 692 1904refclang_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
264909719031 0 043226 692 1904refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
321392112029 0 038187 684 1936refgcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
43695217144 0 028068 684 1904refclang_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
43698087144 0 028068 684 1904refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
59166597232 0 028772 684 1904refclang_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
59174157232 0 028772 684 1904refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
67497097393 0 029444 676 1920refgcc_-mcpu=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
72351477393 0 029444 676 1920refgcc_-mcpu=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
72889147409 0 029544 676 1920refgcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
91786329834 0 034432 684 1928refgcc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
91859139842 0 034440 684 1928refgcc_-mcpu=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
91869799842 0 034440 684 1928refgcc_-mcpu=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
92391868594 0 032584 684 1928refgcc_-mcpu=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
92466928594 0 032584 684 1928refgcc_-mcpu=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
93400118654 0 032620 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_threebears936r2cpa_impl_priv_melas_fec_correct T
melas_fec.o pqcrypto_kem_threebears936r2cpa_impl_priv_melas_fec_set T
ring.o pqcrypto_kem_threebears936r2cpa_impl_priv_canon_3120 T
ring.o pqcrypto_kem_threebears936r2cpa_impl_priv_contract_3120 T
ring.o pqcrypto_kem_threebears936r2cpa_impl_priv_expand_3120 T
ring.o pqcrypto_kem_threebears936r2cpa_impl_priv_mac_3120 T
shake.o pqcrypto_kem_threebears936r2cpa_impl_priv_hash_output T
shake.o pqcrypto_kem_threebears936r2cpa_impl_priv_hash_update T
shake.o pqcrypto_kem_threebears936r2cpa_impl_priv_threebears_cshake_init T
threebears.o pqcrypto_kem_threebears936r2cpa_impl_priv_decapsulate T
threebears.o pqcrypto_kem_threebears936r2cpa_impl_priv_encapsulate T
threebears.o pqcrypto_kem_threebears936r2cpa_impl_priv_get_pubkey T
threebears.o pqcrypto_kem_threebears936r2cpa_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_threebears936r2cpa_impl_priv_melas_fec_correct T
melas_fec.o pqcrypto_kem_threebears936r2cpa_impl_priv_melas_fec_correct T
melas_fec.o pqcrypto_kem_threebears936r2cpa_impl_priv_melas_fec_set T
melas_fec.o pqcrypto_kem_threebears936r2cpa_impl_priv_melas_fec_set T
ring.o pqcrypto_kem_threebears936r2cpa_impl_priv_canon_3120 T
ring.o pqcrypto_kem_threebears936r2cpa_impl_priv_canon_3120 T
ring.o pqcrypto_kem_threebears936r2cpa_impl_priv_contract_3120 T
ring.o pqcrypto_kem_threebears936r2cpa_impl_priv_contract_3120 T
ring.o pqcrypto_kem_threebears936r2cpa_impl_priv_expand_3120 T
ring.o pqcrypto_kem_threebears936r2cpa_impl_priv_expand_3120 T
ring.o pqcrypto_kem_threebears936r2cpa_impl_priv_mac_3120 T
ring.o pqcrypto_kem_threebears936r2cpa_impl_priv_mac_3120 T
shake.o pqcrypto_kem_threebears936r2cpa_impl_priv_hash_output T
shake.o pqcrypto_kem_threebears936r2cpa_impl_priv_hash_output T
shake.o pqcrypto_kem_threebears936r2cpa_impl_priv_hash_update T
shake.o pqcrypto_kem_threebears936r2cpa_impl_priv_hash_update T
shake.o pqcrypto_kem_threebears936r2cpa_impl_priv_threebears_cshake_init T
shake.o pqcrypto_kem_threebears936r2cpa_impl_priv_threebears_cshake_init T
threebears.o pqcrypto_kem_threebears936r2cpa_impl_priv_decapsulate T
threebears.o pqcrypto_kem_threebears936r2cpa_impl_priv_decapsulate T
threebears.o pqcrypto_kem_threebears936r2cpa_impl_priv_encapsulate T
threebears.o pqcrypto_kem_threebears936r2cpa_impl_priv_encapsulate T
threebears.o pqcrypto_kem_threebears936r2cpa_impl_priv_get_pubkey T
threebears.o pqcrypto_kem_threebears936r2cpa_impl_priv_get_pubkey T
threebears.o pqcrypto_kem_threebears936r2cpa_impl_priv_secure_bzero T
threebears.o pqcrypto_kem_threebears936r2cpa_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