Implementation notes: amd64, hiphop, crypto_kem/sikep503comp

Computer: hiphop
Microarchitecture: amd64; HW+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-bfebfbff
SUPERCOP version: 20221122
Operation: crypto_kem
Primitive: sikep503comp
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
53021645477113 0 16498980 812 1712T:mulxclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021110820211108
53376522477113 0 16498980 812 1712T:mulxclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021110820211108
54350613485577 0 16507428 812 1712T:mulxclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021110820211108
54551341497018 0 16518140 812 1712T:mulxclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021110820211108
55721776392034 0 16410890 804 1712T:mulxclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021110820211108
57633683457041 0 16480841 812 1776T:mulxgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021110820211108
57711135407618 0 16428361 812 1776T:mulxgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021110820211108
57890983370644 0 16390129 804 1744T:mulxgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021110820211108
59383061395452 0 16416129 812 1776T:mulxgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021110820211108
61597440477477 0 16499364 812 1712T:amd64asmclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021110820211108
61606316497382 0 16518524 812 1712T:amd64asmclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021110820211108
61754703477477 0 16499364 812 1712T:amd64asmclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021110820211108
62254124485941 0 16507748 812 1712T:amd64asmclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021110820211108
63705491457405 0 16481225 812 1776T:amd64asmgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021110820211108
64417240392398 0 16411274 804 1712T:amd64asmclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021110820211108
66425205371008 0 16390513 804 1744T:amd64asmgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021110820211108
66573481407982 0 16428681 812 1776T:amd64asmgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021110820211108
67186111395816 0 16416449 812 1776T:amd64asmgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021110820211108
396014551469173 0 16491004 812 1712T:amd64clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021110820211108
397007873458509 0 16480380 812 1712T:amd64clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021110820211108
397468834458509 0 16480380 812 1712T:amd64clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021110820211108
399818560478991 0 16500156 812 1712T:amd64clang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021110820211108
430826061459998 0 16483817 812 1776T:amd64gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021110820211108
482179249396075 0 16414986 804 1712T:amd64clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021110820211108
487470436401921 0 16422633 812 1776T:amd64gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021110820211108
506962692392798 0 16413449 812 1776T:amd64gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021110820211108
740378249368933 0 16388425 804 1744T:amd64gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021110820211108

Test failure

Implementation: T:mulxadx
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
error 111

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

Namespace violations

Implementation: T:amd64
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
P503_compressed.o A_basis_zero R
P503_compressed.o A_gen R
P503_compressed.o Alice_order R
P503_compressed.o B_basis_zero R
P503_compressed.o B_gen R
P503_compressed.o B_gen_3_tors R
P503_compressed.o Bob_order R
P503_compressed.o CompleteMPoint T
P503_compressed.o Double T
P503_compressed.o EphemeralKeyGeneration_A_SIDHp503_Compressed T
P503_compressed.o EphemeralKeyGeneration_B_SIDHp503_Compressed T
P503_compressed.o EphemeralSecretAgreement_A_SIDHp503_Compressed T
P503_compressed.o EphemeralSecretAgreement_B_SIDHp503_Compressed T
P503_compressed.o FormatPrivKey_B T
P503_compressed.o Ladder T
P503_compressed.o Montgomery_R R
P503_compressed.o Montgomery_R2 R
P503_compressed.o Montgomery_RB1 R
P503_compressed.o Montgomery_RB2 R
P503_compressed.o Montgomery_inversion_mod_order_bingcd T
P503_compressed.o Montgomery_multiply_mod_order T
P503_compressed.o Montgomery_neg T
P503_compressed.o Montgomery_one R
P503_compressed.o T_tate2_P R
P503_compressed.o T_tate2_Q R
P503_compressed.o T_tate2_firststep_P R
P503_compressed.o T_tate2_firststep_Q R
P503_compressed.o T_tate3 R
P503_compressed.o Tate2_pairings T
P503_compressed.o Tate3_pairings T
P503_compressed.o Traverse_w_div_e_fullsigned T
P503_compressed.o Traverse_w_div_e_torus T
P503_compressed.o Traverse_w_notdiv_e_fullsigned T
P503_compressed.o U3 R
P503_compressed.o XQB3 R
P503_compressed.o clear_words T
P503_compressed.o cmp_f2elm T
P503_compressed.o copy_words T
P503_compressed.o ct_cmov T
P503_compressed.o ct_compare T
P503_compressed.o cube_Fp2_cycl T
P503_compressed.o eval_3_isog T
P503_compressed.o eval_4_isog T
P503_compressed.o fp2_conj T
P503_compressed.o fp2add503 T
P503_compressed.o fp2copy503 T
P503_compressed.o fp2correction503 T
P503_compressed.o fp2div2_503 T
P503_compressed.o fp2inv503_mont T
P503_compressed.o fp2inv503_mont_bingcd T
P503_compressed.o fp2mul503_mont T
P503_compressed.o fp2neg503 T
P503_compressed.o fp2shl T
P503_compressed.o fp2sqr503_mont T
P503_compressed.o fp2sub503 T
P503_compressed.o fp2zero503 T
P503_compressed.o fpcopy503 T
P503_compressed.o fpinv503_chain_mont T
P503_compressed.o fpinv503_mont T
P503_compressed.o fpinv503_mont_bingcd T
P503_compressed.o fpmul503_mont T
P503_compressed.o fpsqr503_mont T
P503_compressed.o fpzero503 T
P503_compressed.o from_Montgomery_mod_order T
P503_compressed.o from_base T
P503_compressed.o from_fp2mont T
P503_compressed.o from_mont T
P503_compressed.o fromproj T
P503_compressed.o g_R_S_im R
P503_compressed.o get_3_isog T
P503_compressed.o get_4_isog T
P503_compressed.o get_A T
P503_compressed.o highest_2t T
P503_compressed.o highest_t T
P503_compressed.o inv_3_way T
P503_compressed.o inv_Fp2_cycl_proj T
P503_compressed.o inv_mod_orderA T
P503_compressed.o is_sqr_fp2 T
P503_compressed.o j_inv T
P503_compressed.o mod T
P503_compressed.o mod3 T
P503_compressed.o mont_n_way_inv T
P503_compressed.o mp_add T
P503_compressed.o mp_shiftl1 T
P503_compressed.o mp_shiftleft T
P503_compressed.o mp_shiftr1 T
P503_compressed.o mp_sub T
P503_compressed.o mul3 T
P503_compressed.o mulmixed_montproj T
P503_compressed.o multiply T
P503_compressed.o ord2w_dlog T
P503_compressed.o ord2w_dloghyb T
P503_compressed.o p503 R
P503_compressed.o p503p1 R
P503_compressed.o p503p1x64 R
P503_compressed.o p503x16p R
P503_compressed.o p503x2 R
P503_compressed.o p503x4 R
P503_compressed.o ph2_CT R
P503_compressed.o ph2_G R
P503_compressed.o ph2_Log R
P503_compressed.o ph2_Texp R
P503_compressed.o ph2_path R
P503_compressed.o ph3_T R
P503_compressed.o ph3_T1 B
P503_compressed.o ph3_T2 B
P503_compressed.o ph3_path R
P503_compressed.o random_mod_order_A_SIDHp503 T
P503_compressed.o random_mod_order_B_SIDHp503 T
P503_compressed.o recover_os T
P503_compressed.o reverse_bits T
P503_compressed.o solve_dlog T
P503_compressed.o sqr_Fp2_cycl T
P503_compressed.o sqr_Fp2_cycl_proj T
P503_compressed.o sqrt_Fp2 T
P503_compressed.o strat_Alice R
P503_compressed.o strat_Bob R
P503_compressed.o table_r_qnr R
P503_compressed.o table_r_qr R
P503_compressed.o table_v_qnr R
P503_compressed.o table_v_qr R
P503_compressed.o threeinv R
P503_compressed.o to_Montgomery_mod_order T
P503_compressed.o to_fp2mont T
P503_compressed.o to_mont T
P503_compressed.o toproj T
P503_compressed.o u_entang R
P503_compressed.o v_3_torsion R
P503_compressed.o validate_ciphertext T
P503_compressed.o xDBL T
P503_compressed.o xDBLADD T
P503_compressed.o xDBL_e T
P503_compressed.o xDBLe T
P503_compressed.o xTPL T
P503_compressed.o xTPL_fast T
P503_compressed.o xTPLe T
P503_compressed.o xTPLe_fast T
fips202.o KeccakF1600_StatePermute T
fips202.o shake128 T
fips202.o shake128_absorb T
fips202.o shake128_squeezeblocks T
fips202.o shake256 T
fips202.o shake256_absorb T
fips202.o shake256_squeezeblocks T
fp_generic.o digit_x_digit T
fp_generic.o fpadd503 T
fp_generic.o fpcorrection503 T
fp_generic.o fpdiv2_503 T
fp_generic.o fpneg503 T
fp_generic.o fpsub503 T
fp_generic.o mp_mul T
fp_generic.o mp_sub503_p2 T
fp_generic.o mp_sub503_p4 T
fp_generic.o rdc_mont T

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

Namespace violations

Implementation: T:amd64asm
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
P503_compressed.o A_basis_zero R
P503_compressed.o A_gen R
P503_compressed.o Alice_order R
P503_compressed.o B_basis_zero R
P503_compressed.o B_gen R
P503_compressed.o B_gen_3_tors R
P503_compressed.o Bob_order R
P503_compressed.o CompleteMPoint T
P503_compressed.o Double T
P503_compressed.o EphemeralKeyGeneration_A_SIDHp503_Compressed T
P503_compressed.o EphemeralKeyGeneration_B_SIDHp503_Compressed T
P503_compressed.o EphemeralSecretAgreement_A_SIDHp503_Compressed T
P503_compressed.o EphemeralSecretAgreement_B_SIDHp503_Compressed T
P503_compressed.o FormatPrivKey_B T
P503_compressed.o Ladder T
P503_compressed.o Montgomery_R R
P503_compressed.o Montgomery_R2 R
P503_compressed.o Montgomery_RB1 R
P503_compressed.o Montgomery_RB2 R
P503_compressed.o Montgomery_inversion_mod_order_bingcd T
P503_compressed.o Montgomery_multiply_mod_order T
P503_compressed.o Montgomery_neg T
P503_compressed.o Montgomery_one R
P503_compressed.o T_tate2_P R
P503_compressed.o T_tate2_Q R
P503_compressed.o T_tate2_firststep_P R
P503_compressed.o T_tate2_firststep_Q R
P503_compressed.o T_tate3 R
P503_compressed.o Tate2_pairings T
P503_compressed.o Tate3_pairings T
P503_compressed.o Traverse_w_div_e_fullsigned T
P503_compressed.o Traverse_w_div_e_torus T
P503_compressed.o Traverse_w_notdiv_e_fullsigned T
P503_compressed.o U3 R
P503_compressed.o XQB3 R
P503_compressed.o clear_words T
P503_compressed.o cmp_f2elm T
P503_compressed.o copy_words T
P503_compressed.o ct_cmov T
P503_compressed.o ct_compare T
P503_compressed.o cube_Fp2_cycl T
P503_compressed.o eval_3_isog T
P503_compressed.o eval_4_isog T
P503_compressed.o fp2_conj T
P503_compressed.o fp2add503 T
P503_compressed.o fp2copy503 T
P503_compressed.o fp2correction503 T
P503_compressed.o fp2div2_503 T
P503_compressed.o fp2inv503_mont T
P503_compressed.o fp2inv503_mont_bingcd T
P503_compressed.o fp2mul503_mont T
P503_compressed.o fp2neg503 T
P503_compressed.o fp2shl T
P503_compressed.o fp2sqr503_mont T
P503_compressed.o fp2sub503 T
P503_compressed.o fp2zero503 T
P503_compressed.o fpcopy503 T
P503_compressed.o fpinv503_chain_mont T
P503_compressed.o fpinv503_mont T
P503_compressed.o fpinv503_mont_bingcd T
P503_compressed.o fpmul503_mont T
P503_compressed.o fpsqr503_mont T
P503_compressed.o fpzero503 T
P503_compressed.o from_Montgomery_mod_order T
P503_compressed.o from_base T
P503_compressed.o from_fp2mont T
P503_compressed.o from_mont T
P503_compressed.o fromproj T
P503_compressed.o g_R_S_im R
P503_compressed.o get_3_isog T
P503_compressed.o get_4_isog T
P503_compressed.o get_A T
P503_compressed.o highest_2t T
P503_compressed.o highest_t T
P503_compressed.o inv_3_way T
P503_compressed.o inv_Fp2_cycl_proj T
P503_compressed.o inv_mod_orderA T
P503_compressed.o is_sqr_fp2 T
P503_compressed.o j_inv T
P503_compressed.o mod T
P503_compressed.o mod3 T
P503_compressed.o mont_n_way_inv T
P503_compressed.o mp_add T
P503_compressed.o mp_shiftl1 T
P503_compressed.o mp_shiftleft T
P503_compressed.o mp_shiftr1 T
P503_compressed.o mp_sub T
P503_compressed.o mul3 T
P503_compressed.o mulmixed_montproj T
P503_compressed.o multiply T
P503_compressed.o ord2w_dlog T
P503_compressed.o ord2w_dloghyb T
P503_compressed.o p503 R
P503_compressed.o p503p1 R
P503_compressed.o p503p1x64 R
P503_compressed.o p503x16p R
P503_compressed.o p503x2 R
P503_compressed.o p503x4 R
P503_compressed.o ph2_CT R
P503_compressed.o ph2_G R
P503_compressed.o ph2_Log R
P503_compressed.o ph2_Texp R
P503_compressed.o ph2_path R
P503_compressed.o ph3_T R
P503_compressed.o ph3_T1 B
P503_compressed.o ph3_T2 B
P503_compressed.o ph3_path R
P503_compressed.o random_mod_order_A_SIDHp503 T
P503_compressed.o random_mod_order_B_SIDHp503 T
P503_compressed.o recover_os T
P503_compressed.o reverse_bits T
P503_compressed.o solve_dlog T
P503_compressed.o sqr_Fp2_cycl T
P503_compressed.o sqr_Fp2_cycl_proj T
P503_compressed.o sqrt_Fp2 T
P503_compressed.o strat_Alice R
P503_compressed.o strat_Bob R
P503_compressed.o table_r_qnr R
P503_compressed.o table_r_qr R
P503_compressed.o table_v_qnr R
P503_compressed.o table_v_qr R
P503_compressed.o threeinv R
P503_compressed.o to_Montgomery_mod_order T
P503_compressed.o to_fp2mont T
P503_compressed.o to_mont T
P503_compressed.o toproj T
P503_compressed.o u_entang R
P503_compressed.o v_3_torsion R
P503_compressed.o validate_ciphertext T
P503_compressed.o xDBL T
P503_compressed.o xDBLADD T
P503_compressed.o xDBL_e T
P503_compressed.o xDBLe T
P503_compressed.o xTPL T
P503_compressed.o xTPL_fast T
P503_compressed.o xTPLe T
P503_compressed.o xTPLe_fast T
fips202.o KeccakF1600_StatePermute T
fips202.o shake128 T
fips202.o shake128_absorb T
fips202.o shake128_squeezeblocks T
fips202.o shake256 T
fips202.o shake256_absorb T
fips202.o shake256_squeezeblocks T
fp_x64.o fpadd503 T
fp_x64.o fpcorrection503 T
fp_x64.o fpdiv2_503 T
fp_x64.o fpneg503 T
fp_x64.o fpsub503 T
fp_x64.o mp_mul T
fp_x64.o mp_sub503_p2 T
fp_x64.o mp_sub503_p4 T
fp_x64.o rdc_mont T
fp_x64_asm.o fpadd503_asm T
fp_x64_asm.o fpsub503_asm T
fp_x64_asm.o mp_add503_asm T
fp_x64_asm.o mp_dblsub503x2_asm T
fp_x64_asm.o mp_sub503_p2_asm T
fp_x64_asm.o mp_sub503_p4_asm T
fp_x64_asm.o mp_subadd503x2_asm T
fp_x64_asm.o mul503_asm T
fp_x64_asm.o rdc503_asm T

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