Implementation notes: ppc64, power9, crypto_kem/threebears1248r2cpa

Computer: power9
Architecture: ppc64
CPU ID: unknown CPU ID
SUPERCOP version: 20210326
Operation: crypto_kem
Primitive: threebears1248r2cpa
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
297674319832 0 044602 692 1920refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
353853512186 0 038079 684 1936refgcc_-mcpu=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
354199012186 0 038079 684 1936refgcc_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
393821844096 0 048346 692 1920refclang_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
393942722048 0 048346 692 1920refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
411854716824 0 041018 692 1904refclang_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
412002816824 0 041018 692 1904refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
501259712054 0 038195 684 1936refgcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
67873287145 0 028068 684 1904refclang_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
67976657145 0 028068 684 1904refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
92318647233 0 028772 684 1904refclang_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
92333207233 0 028772 684 1904refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
106218267402 0 029472 676 1920refgcc_-mcpu=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
106247977402 0 029472 676 1920refgcc_-mcpu=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
114763667418 0 029572 676 1920refgcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
145255259859 0 034472 684 1928refgcc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
145273049871 0 034452 684 1928refgcc_-mcpu=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
145745139871 0 034452 684 1928refgcc_-mcpu=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
146432718663 0 032668 684 1928refgcc_-mcpu=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
148326638723 0 032704 684 1928refgcc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
151555138663 0 032668 684 1928refgcc_-mcpu=native_-mtune=native_-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_threebears1248r2cpa_impl_priv_melas_fec_correct T
melas_fec.o pqcrypto_kem_threebears1248r2cpa_impl_priv_melas_fec_set T
ring.o pqcrypto_kem_threebears1248r2cpa_impl_priv_canon_3120 T
ring.o pqcrypto_kem_threebears1248r2cpa_impl_priv_contract_3120 T
ring.o pqcrypto_kem_threebears1248r2cpa_impl_priv_expand_3120 T
ring.o pqcrypto_kem_threebears1248r2cpa_impl_priv_mac_3120 T
shake.o pqcrypto_kem_threebears1248r2cpa_impl_priv_hash_output T
shake.o pqcrypto_kem_threebears1248r2cpa_impl_priv_hash_update T
shake.o pqcrypto_kem_threebears1248r2cpa_impl_priv_threebears_cshake_init T
threebears.o pqcrypto_kem_threebears1248r2cpa_impl_priv_decapsulate T
threebears.o pqcrypto_kem_threebears1248r2cpa_impl_priv_encapsulate T
threebears.o pqcrypto_kem_threebears1248r2cpa_impl_priv_get_pubkey T
threebears.o pqcrypto_kem_threebears1248r2cpa_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_threebears1248r2cpa_impl_priv_melas_fec_correct T
melas_fec.o pqcrypto_kem_threebears1248r2cpa_impl_priv_melas_fec_correct T
melas_fec.o pqcrypto_kem_threebears1248r2cpa_impl_priv_melas_fec_set T
melas_fec.o pqcrypto_kem_threebears1248r2cpa_impl_priv_melas_fec_set T
ring.o pqcrypto_kem_threebears1248r2cpa_impl_priv_canon_3120 T
ring.o pqcrypto_kem_threebears1248r2cpa_impl_priv_canon_3120 T
ring.o pqcrypto_kem_threebears1248r2cpa_impl_priv_contract_3120 T
ring.o pqcrypto_kem_threebears1248r2cpa_impl_priv_contract_3120 T
ring.o pqcrypto_kem_threebears1248r2cpa_impl_priv_expand_3120 T
ring.o pqcrypto_kem_threebears1248r2cpa_impl_priv_expand_3120 T
ring.o pqcrypto_kem_threebears1248r2cpa_impl_priv_mac_3120 T
ring.o pqcrypto_kem_threebears1248r2cpa_impl_priv_mac_3120 T
shake.o pqcrypto_kem_threebears1248r2cpa_impl_priv_hash_output T
shake.o pqcrypto_kem_threebears1248r2cpa_impl_priv_hash_output T
shake.o pqcrypto_kem_threebears1248r2cpa_impl_priv_hash_update T
shake.o pqcrypto_kem_threebears1248r2cpa_impl_priv_hash_update T
shake.o pqcrypto_kem_threebears1248r2cpa_impl_priv_threebears_cshake_init T
shake.o pqcrypto_kem_threebears1248r2cpa_impl_priv_threebears_cshake_init T
threebears.o pqcrypto_kem_threebears1248r2cpa_impl_priv_decapsulate T
threebears.o pqcrypto_kem_threebears1248r2cpa_impl_priv_decapsulate T
threebears.o pqcrypto_kem_threebears1248r2cpa_impl_priv_encapsulate T
threebears.o pqcrypto_kem_threebears1248r2cpa_impl_priv_encapsulate T
threebears.o pqcrypto_kem_threebears1248r2cpa_impl_priv_get_pubkey T
threebears.o pqcrypto_kem_threebears1248r2cpa_impl_priv_get_pubkey T
threebears.o pqcrypto_kem_threebears1248r2cpa_impl_priv_secure_bzero T
threebears.o pqcrypto_kem_threebears1248r2cpa_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