Implementation notes: ppc64, power9, crypto_encrypt/mcnie4q2562

Computer: power9
Architecture: ppc64
CPU ID: unknown CPU ID
SUPERCOP version: 20210326
Operation: crypto_encrypt
Primitive: mcnie4q2562
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1919549058338 22 5284622 692 2032T:refgcc_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
1920981758338 22 5284622 692 2032T:refgcc_-mcpu=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
1995564376585 22 52101738 700 2000T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
2061955449198 22 5274082 692 2000T:refgcc_-mcpu=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
2062067649198 22 5274082 692 2000T:refgcc_-mcpu=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
2586549174805 22 5299402 700 2000T:refclang_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
2588326274805 22 5299402 700 2000T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
25945368161026 44 104107194 700 2000T:refclang_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
2597774480513 22 52107194 700 2000T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
2696620747822 22 5271778 692 2000T:refgcc_-mcpu=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
2708609747822 22 5271778 692 2000T:refgcc_-mcpu=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
2765778841859 22 5263382 692 1992T:refclang_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
2773749141859 22 5263382 692 1992T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
2779280039089 22 5259878 692 1992T:refclang_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
2781045939089 22 5259878 692 1992T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
4529978258882 22 5285482 692 2032T:refgcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
4661292549986 22 5274982 692 2000T:refgcc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
4730975148098 22 5272042 692 2000T:refgcc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
5089234436329 22 5258818 684 1992T:refgcc_-mcpu=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
5097889036313 22 5258754 684 1992T:refgcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
5125517036329 22 5258818 684 1992T:refgcc_-mcpu=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE
matrix.c: matrix.c: In function 'mat_inv':
matrix.c: matrix.c:278:7: note: the layout of aggregates containing vectors with 4-byte alignment has changed in GCC 5
matrix.c: 278 | *X = gen_matrix(N,N);
matrix.c: | ^~~~~~~~~~~~~~~

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
gcc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -mcpu=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -mcpu=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref

Namespace violations

Implementation: T:ref
Security model: timingleaks
Compiler: clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
aes256.o aes256_decrypt_ecb T
aes256.o aes256_done T
aes256.o aes256_encrypt_ecb T
aes256.o aes256_init T
bin_vec.o Shift T
bin_vec.o chk_zero T
bin_vec.o gauss_elm T
bin_vec.o gen_vec T
bin_vec.o gen_vec_copy T
bin_vec.o gen_vec_rand T
bin_vec.o gen_vec_zero T
bin_vec.o get_elt T
bin_vec.o print_bin T
bin_vec.o put_elt T
bin_vec.o vec_add T
bin_vec.o vec_sum T
bin_vec.o vec_swap T
conv.o conv T
conv.o inv_conv T
crypt.o Const_bytes R
crypt.o blk D
crypt.o d D
crypt.o decrypt_one_block T
crypt.o decrypt_one_block_INDCCA2 T
crypt.o decrypt_one_block_return_error T
crypt.o dual_space T
crypt.o encrypt_one_block T
crypt.o encrypt_one_block_INDCCA2 T
crypt.o encrypt_one_block_given_error T
crypt.o error_space T
crypt.o free_LRP T
crypt.o gen_4Q T
crypt.o r D
crypt.o syndrome_decode T
crypt.o vec_sp_inter T
gf.o Div T
gf.o Gauss_elimination T
gf.o _m R
gf.o base_poly R
gf.o bin2gf T
gf.o bin_rank T
gf.o gen_indep_vec T
gf.o gen_rand_vec T
gf.o gf2bin T
gf.o gf_add T
gf.o gf_inverse T
gf.o gf_mul T
gf.o gf_sum T
gf.o rand_gf T
gf.o vec_get_elt T
gf.o vec_print T
gf.o vec_put_elt T
gf.o vec_size T
matrix.o free_matrix T
matrix.o gen_matrix T
matrix.o gen_matrix_id T
matrix.o gf_gauss_elm T
matrix.o gf_gauss_elm2 T
matrix.o mat_inv T
matrix.o mat_mul T
matrix.o mat_mul_t T
matrix.o mat_rank T
matrix.o print_matrix T
rng.o AES256_CTR_DRBG_Update T
rng.o AES256_ECB T
rng.o DRBG_ctx B
rng.o seedexpander T
rng.o seedexpander_init T
rng.o xrandombytes T
rng.o xrandombytes_init T
sha3.o SHA3_Final T
sha3.o SHA3_Init T
sha3.o SHA3_Transform T
sha3.o SHA3_Update T
sha3.o keccakf_piln R
sha3.o keccakf_rndc R
sha3.o keccakf_rotc R

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

Namespace violations

Implementation: T:ref
Security model: timingleaks
Compiler: clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
aes256.o aes256_decrypt_ecb T
aes256.o aes256_decrypt_ecb T
aes256.o aes256_done T
aes256.o aes256_done T
aes256.o aes256_encrypt_ecb T
aes256.o aes256_encrypt_ecb T
aes256.o aes256_init T
aes256.o aes256_init T
bin_vec.o Shift T
bin_vec.o Shift T
bin_vec.o chk_zero T
bin_vec.o chk_zero T
bin_vec.o gauss_elm T
bin_vec.o gauss_elm T
bin_vec.o gen_vec T
bin_vec.o gen_vec T
bin_vec.o gen_vec_copy T
bin_vec.o gen_vec_copy T
bin_vec.o gen_vec_rand T
bin_vec.o gen_vec_rand T
bin_vec.o gen_vec_zero T
bin_vec.o gen_vec_zero T
bin_vec.o get_elt T
bin_vec.o get_elt T
bin_vec.o print_bin T
bin_vec.o print_bin T
bin_vec.o put_elt T
bin_vec.o put_elt T
bin_vec.o vec_add T
bin_vec.o vec_add T
bin_vec.o vec_sum T
bin_vec.o vec_sum T
bin_vec.o vec_swap T
bin_vec.o vec_swap T
conv.o conv T
conv.o conv T
conv.o inv_conv T
conv.o inv_conv T
crypt.o Const_bytes R
crypt.o Const_bytes R
crypt.o blk D
crypt.o blk D
crypt.o d D
crypt.o d D
crypt.o decrypt_one_block T
crypt.o decrypt_one_block T
crypt.o decrypt_one_block_INDCCA2 T
crypt.o decrypt_one_block_INDCCA2 T
crypt.o decrypt_one_block_return_error T
crypt.o decrypt_one_block_return_error T
crypt.o dual_space T
crypt.o dual_space T
crypt.o encrypt_one_block T
crypt.o encrypt_one_block T
crypt.o encrypt_one_block_INDCCA2 T
crypt.o encrypt_one_block_INDCCA2 T
crypt.o encrypt_one_block_given_error T
crypt.o encrypt_one_block_given_error T
crypt.o error_space T
crypt.o error_space T
crypt.o free_LRP T
crypt.o free_LRP T
crypt.o gen_4Q T
crypt.o gen_4Q T
crypt.o r D
crypt.o r D
crypt.o syndrome_decode T
crypt.o syndrome_decode T
crypt.o vec_sp_inter T
crypt.o vec_sp_inter T
gf.o Div T
gf.o Div T
gf.o Gauss_elimination T
gf.o Gauss_elimination T
gf.o _m R
gf.o _m R
gf.o base_poly R
gf.o base_poly R
gf.o bin2gf T
gf.o bin2gf T
gf.o bin_rank T
gf.o bin_rank T
gf.o gen_indep_vec T
gf.o gen_indep_vec T
gf.o gen_rand_vec T
gf.o gen_rand_vec T
gf.o gf2bin T
gf.o gf2bin T
gf.o gf_add T
gf.o gf_add T
gf.o gf_inverse T
gf.o gf_inverse T
gf.o gf_mul T
gf.o gf_mul T
gf.o gf_sum T
gf.o gf_sum T
gf.o rand_gf T
gf.o rand_gf T
gf.o vec_get_elt T
gf.o vec_get_elt T
gf.o vec_print T
gf.o vec_print T
gf.o vec_put_elt T
gf.o vec_put_elt T
gf.o vec_size T
gf.o vec_size T
matrix.o free_matrix T
matrix.o free_matrix T
matrix.o gen_matrix T
matrix.o gen_matrix T
matrix.o gen_matrix_id T
matrix.o gen_matrix_id T
matrix.o gf_gauss_elm T
matrix.o gf_gauss_elm T
matrix.o gf_gauss_elm2 T
matrix.o gf_gauss_elm2 T
matrix.o mat_inv T
matrix.o mat_inv T
matrix.o mat_mul T
matrix.o mat_mul T
matrix.o mat_mul_t T
matrix.o mat_mul_t T
matrix.o mat_rank T
matrix.o mat_rank T
matrix.o print_matrix T
matrix.o print_matrix T
rng.o AES256_CTR_DRBG_Update T
rng.o AES256_CTR_DRBG_Update T
rng.o AES256_ECB T
rng.o AES256_ECB T
rng.o DRBG_ctx B
rng.o DRBG_ctx B
rng.o seedexpander T
rng.o seedexpander T
rng.o seedexpander_init T
rng.o seedexpander_init T
rng.o xrandombytes T
rng.o xrandombytes T
rng.o xrandombytes_init T
rng.o xrandombytes_init T
sha3.o SHA3_Final T
sha3.o SHA3_Final T
sha3.o SHA3_Init T
sha3.o SHA3_Init T
sha3.o SHA3_Transform T
sha3.o SHA3_Transform T
sha3.o SHA3_Update T
sha3.o SHA3_Update T
sha3.o keccakf_piln R
sha3.o keccakf_piln R
sha3.o keccakf_rndc R
sha3.o keccakf_rndc R
sha3.o keccakf_rotc R
sha3.o keccakf_rotc R

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