Implementation notes: ppc64, power9, crypto_kem/threebears624r2cpa

Computer: power9
Architecture: ppc64
CPU ID: unknown CPU ID
SUPERCOP version: 20210326
Operation: crypto_kem
Primitive: threebears624r2cpa
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
109899818247 0 043098 692 1920refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
129158912145 0 038059 684 1936refgcc_-mcpu=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
129227412145 0 038059 684 1936refgcc_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
142068340478 0 046618 692 1920refclang_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
143603420239 0 046618 692 1920refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
148680817319 0 041626 692 1904refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
148710117319 0 041626 692 1904refclang_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
181234811969 0 038167 684 1936refgcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
24695797124 0 028100 684 1904refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
24711727124 0 028100 684 1904refclang_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
33231767232 0 028804 684 1904refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
34475157232 0 028804 684 1904refclang_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
37289887469 0 029524 676 1920refgcc_-mcpu=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
37308887469 0 029524 676 1920refgcc_-mcpu=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
40761957485 0 029624 676 1920refgcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
50627649774 0 034412 684 1928refgcc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
50635509830 0 034432 684 1928refgcc_-mcpu=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
51367768622 0 032640 684 1928refgcc_-mcpu=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
51373468622 0 032640 684 1928refgcc_-mcpu=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
51854369830 0 034432 684 1928refgcc_-mcpu=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
52261298682 0 032708 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_threebears624r2cpa_impl_priv_melas_fec_correct T
melas_fec.o pqcrypto_kem_threebears624r2cpa_impl_priv_melas_fec_set T
ring.o pqcrypto_kem_threebears624r2cpa_impl_priv_canon_3120 T
ring.o pqcrypto_kem_threebears624r2cpa_impl_priv_contract_3120 T
ring.o pqcrypto_kem_threebears624r2cpa_impl_priv_expand_3120 T
ring.o pqcrypto_kem_threebears624r2cpa_impl_priv_mac_3120 T
shake.o pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output T
shake.o pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update T
shake.o pqcrypto_kem_threebears624r2cpa_impl_priv_threebears_cshake_init T
threebears.o pqcrypto_kem_threebears624r2cpa_impl_priv_decapsulate T
threebears.o pqcrypto_kem_threebears624r2cpa_impl_priv_encapsulate T
threebears.o pqcrypto_kem_threebears624r2cpa_impl_priv_get_pubkey T
threebears.o pqcrypto_kem_threebears624r2cpa_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_threebears624r2cpa_impl_priv_melas_fec_correct T
melas_fec.o pqcrypto_kem_threebears624r2cpa_impl_priv_melas_fec_correct T
melas_fec.o pqcrypto_kem_threebears624r2cpa_impl_priv_melas_fec_set T
melas_fec.o pqcrypto_kem_threebears624r2cpa_impl_priv_melas_fec_set T
ring.o pqcrypto_kem_threebears624r2cpa_impl_priv_canon_3120 T
ring.o pqcrypto_kem_threebears624r2cpa_impl_priv_canon_3120 T
ring.o pqcrypto_kem_threebears624r2cpa_impl_priv_contract_3120 T
ring.o pqcrypto_kem_threebears624r2cpa_impl_priv_contract_3120 T
ring.o pqcrypto_kem_threebears624r2cpa_impl_priv_expand_3120 T
ring.o pqcrypto_kem_threebears624r2cpa_impl_priv_expand_3120 T
ring.o pqcrypto_kem_threebears624r2cpa_impl_priv_mac_3120 T
ring.o pqcrypto_kem_threebears624r2cpa_impl_priv_mac_3120 T
shake.o pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output T
shake.o pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output T
shake.o pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update T
shake.o pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update T
shake.o pqcrypto_kem_threebears624r2cpa_impl_priv_threebears_cshake_init T
shake.o pqcrypto_kem_threebears624r2cpa_impl_priv_threebears_cshake_init T
threebears.o pqcrypto_kem_threebears624r2cpa_impl_priv_decapsulate T
threebears.o pqcrypto_kem_threebears624r2cpa_impl_priv_decapsulate T
threebears.o pqcrypto_kem_threebears624r2cpa_impl_priv_encapsulate T
threebears.o pqcrypto_kem_threebears624r2cpa_impl_priv_encapsulate T
threebears.o pqcrypto_kem_threebears624r2cpa_impl_priv_get_pubkey T
threebears.o pqcrypto_kem_threebears624r2cpa_impl_priv_get_pubkey T
threebears.o pqcrypto_kem_threebears624r2cpa_impl_priv_secure_bzero T
threebears.o pqcrypto_kem_threebears624r2cpa_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