Implementation notes: ppc64, power9, crypto_encrypt/mcnie3q1921

Computer: power9
Architecture: ppc64
CPU ID: unknown CPU ID
SUPERCOP version: 20210326
Operation: crypto_encrypt
Primitive: mcnie3q1921
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1910112178217 22 52103370 700 2000T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
1986361157538 22 5283806 692 2032T:refgcc_-mcpu=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
1986975457538 22 5283806 692 2032T:refgcc_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
2131419048410 22 5273294 692 2000T:refgcc_-mcpu=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
2133321448410 22 5273294 692 2000T:refgcc_-mcpu=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
2496375577173 22 52101770 700 2000T:refclang_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
2499162377173 22 52101770 700 2000T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
25100366166466 44 104109914 700 2000T:refclang_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
2519462483233 22 52109914 700 2000T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
2675954040387 22 5261910 692 1992T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
2687411940387 22 5261910 692 1992T:refclang_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
2770995737665 22 5258470 692 1992T:refclang_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
2771585537665 22 5258470 692 1992T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
3176498046010 22 5269978 692 2000T:refgcc_-mcpu=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
3179861646010 22 5269978 692 2000T:refgcc_-mcpu=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
4557794646038 22 5269986 692 2000T:refgcc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
4603074057922 22 5284522 692 2032T:refgcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
4728968448994 22 5273990 692 2000T:refgcc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
4986326635129 22 5257630 684 1992T:refgcc_-mcpu=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
4988154835129 22 5257630 684 1992T:refgcc_-mcpu=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
5068327635085 22 5257502 684 1992T:refgcc_-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_3Q 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_3Q T
crypt.o gen_3Q 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