Implementation notes: amd64, devoptimis, crypto_dh/gls254

Computer: devoptimis
Architecture: amd64
CPU ID: GenuineIntel-000206c2-bfebfbff
SUPERCOP version: 20190910
Operation: crypto_dh
Primitive: gls254
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
50073524420 196608 042181 197408 1632optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019100320190910
51183744890 98304 063077 99104 1632protgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019100320190910
53955835058 98336 053260 99144 1632refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019100320190910
57848013988 98336 029772 99144 1632refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019100320190910
59021515318 98336 031404 99144 1632refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019100320190910
82307415326 98304 031093 99104 1632protgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019100320190910
82521222020 196608 037653 197408 1632optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019100320190910
84285320172 196608 035813 197408 1632optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019100320190910
84877917250 98304 033325 99104 1632protgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019100320190910
85089317219 196608 031757 197400 1600optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019100320190910

Test failure

Implementation: prot
Security model: unknown
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
error 111

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE prot ref

Compiler output

Implementation: prot
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
dh.c: In file included from dh.c:9:0:
dh.c: scmul.incl: In function 'scmul_rand_wreg':
dh.c: scmul.incl:273:17: warning: implicit declaration of function 'types_cond_copy2'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy2(tab0, tab4, tabx, n1, n2);
dh.c: ^~~~~~~~~~~~~~~~
dh.c: types_copy
dh.c: scmul.incl:284:9: warning: implicit declaration of function 'types_cond_copy'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: types_cond_copy(QX, tab0, o1);
dh.c: ^~~~~~~~~~~~~~~
dh.c: types_copy

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE prot
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE prot
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE prot
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE prot

Namespace violations

Implementation: opt
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
dh.o eca_add_add_dbl T
dh.o eca_add_dbl T
dh.o eca_add_ful T
dh.o eca_add_mix T
dh.o eca_add_mma T
dh.o eca_add_sub_dbl T
dh.o eca_dbl_ful T
dh.o low_inv T
dh.o low_inv_bas T
dh.o low_msq_015 T
dh.o low_msq_030 T
dh.o low_msq_063 T
dh.o low_mul T
dh.o low_mul_00u T
dh.o low_mul_01u T
dh.o low_mul_27u T
dh.o low_mul_bas T
dh.o low_mul_fq1 T
dh.o low_sqr T
dh.o low_sqr_003_bas T
dh.o low_sqr_006_bas T
dh.o low_sqr_bas T
dh.o mtx_msq_015_000 D
dh.o mtx_msq_015_001 D
dh.o mtx_msq_015_002 D
dh.o mtx_msq_015_003 D
dh.o mtx_msq_015_004 D
dh.o mtx_msq_015_005 D
dh.o mtx_msq_015_006 D
dh.o mtx_msq_015_007 D
dh.o mtx_msq_015_008 D
dh.o mtx_msq_015_009 D
dh.o mtx_msq_015_010 D
dh.o mtx_msq_015_011 D
dh.o mtx_msq_015_012 D
dh.o mtx_msq_015_013 D
dh.o mtx_msq_015_014 D
dh.o mtx_msq_015_015 D
dh.o mtx_msq_030_000 D
dh.o mtx_msq_030_001 D
dh.o mtx_msq_030_002 D
dh.o mtx_msq_030_003 D
dh.o mtx_msq_030_004 D
dh.o mtx_msq_030_005 D
dh.o mtx_msq_030_006 D
dh.o mtx_msq_030_007 D
dh.o mtx_msq_030_008 D
dh.o mtx_msq_030_009 D
dh.o mtx_msq_030_010 D
dh.o mtx_msq_030_011 D
dh.o mtx_msq_030_012 D
dh.o mtx_msq_030_013 D
dh.o mtx_msq_030_014 D
dh.o mtx_msq_030_015 D
dh.o mtx_msq_063_000 D
dh.o mtx_msq_063_001 D
dh.o mtx_msq_063_002 D
dh.o mtx_msq_063_003 D
dh.o mtx_msq_063_004 D
dh.o mtx_msq_063_005 D
dh.o mtx_msq_063_006 D
dh.o mtx_msq_063_007 D
dh.o mtx_msq_063_008 D
dh.o mtx_msq_063_009 D
dh.o mtx_msq_063_010 D
dh.o mtx_msq_063_011 D
dh.o mtx_msq_063_012 D
dh.o mtx_msq_063_013 D
dh.o mtx_msq_063_014 D
dh.o mtx_msq_063_015 D
dh.o smu_5nf_dna_ltr T
dh.o smu_pre_5nf T
dh.o smu_reg_rec T

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE opt

Namespace violations

Implementation: prot
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
dh.o bn_rsh T
dh.o curves_domParam T
dh.o ec_add_mix T
dh.o ec_doub T
dh.o ec_doub_add T
dh.o ec_doub_add2 T
dh.o ec_doub_add_mix T
dh.o ec_doub_addsub T
dh.o low_htr T
dh.o low_htr254 T
dh.o low_inv T
dh.o low_inv254 T
dh.o low_inv254_const T
dh.o low_inv254_sim T
dh.o low_inv_const T
dh.o low_mul T
dh.o low_mul254 T
dh.o low_mul_a T
dh.o low_mul_a_2 T
dh.o low_mul_aplus1 T
dh.o low_mul_nr254 T
dh.o low_sq T
dh.o low_sq254 T
dh.o low_sq_nr254 T
dh.o low_sqi T
dh.o low_sqr06 T
dh.o low_sqr12 T
dh.o low_sqr24 T
dh.o low_sqr48 T
dh.o low_sqrt254 T
dh.o scmul_protected_direct_recoding T
dh.o scmul_rand_wreg T
dh.o scmul_wreg T
types.o types_cond_copy T
types.o types_cond_copy1 T
types.o types_cond_copy2 T
types.o types_cond_save T

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE prot
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE prot
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE prot

Namespace violations

Implementation: ref
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
dh.o AESenc T
dh.o AESkeyExp T
dh.o curves_domParam T
dh.o ec_add_full_lambda T
dh.o ec_add_mix_lambda_opt T
dh.o ec_doub_lambda T
dh.o ec_halv_opt T
dh.o gen253 T
dh.o low_htr T
dh.o low_htr254 T
dh.o low_inv T
dh.o low_inv254 T
dh.o low_mul T
dh.o low_mul254 T
dh.o low_mul_a T
dh.o low_mul_a_2 T
dh.o low_mul_aplus1 T
dh.o low_mul_nr254 T
dh.o low_sq T
dh.o low_sq254 T
dh.o low_sq_nr254 T
dh.o low_sqi T
dh.o low_sqr06 T
dh.o low_sqr12 T
dh.o low_sqr24 T
dh.o low_sqr48 T
dh.o low_sqrt254 T
dh.o scmul_4wnafend T
dh.o scmul_cvhalv_end T
dh.o scmul_direct_coding_doub T
dh.o scmul_end_halv_direct T
dh.o tbl4NAF D

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