Implementation notes: amd64, ghf51, crypto_sign/gemss128

Computer: ghf51
Architecture: amd64
CPU ID: AuthenticAMD-00810f81-178bfbff
SUPERCOP version: 20200702
Operation: crypto_sign
Primitive: gemss128
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
89770280692615 0 089013 800 1632optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071320200702
1063837138105361 0 0101957 800 1632optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071320200702
167996225892570 0 088917 800 1632skylakegcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071320200702
168641070089544 0 086381 800 1632skylakegcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071320200702
1696867536105278 0 0101853 800 1632skylakegcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071320200702
172089543681010 0 079341 792 1600skylakegcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071320200702
175291090081230 0 079565 792 1600optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071320200702
182933953889698 0 086541 800 1632optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071320200702
705693144070419 112 71791493 4080 6736refclang++_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020071320200702
722460120251796 112 71780012 4080 6800refg++_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071320200702
727658022056557 112 71786968 4080 6800refg++_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071320200702
1086370693241022 112 71761499 4072 6736refclang++_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020071320200702
1113950052844299 112 71769720 4080 6800refg++_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071320200702
1148367251238754 112 71767372 4072 6768refg++_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071320200702
1278642757646954 112 71774205 4080 6736refclang++_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020071320200702
1286813424046954 112 71774205 4080 6736refclang++_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020071320200702

Compiler output

Implementation: opt
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
mul_gf2x.c: mul_gf2x.c:13:12: warning: implicit declaration of function '_mm_cvtsi128_si64x' is invalid in C99 [-Wimplicit-function-declaration]
mul_gf2x.c: return MUL64LOW(x,y,0);
mul_gf2x.c: ^
mul_gf2x.c: ./mul_gf2x.h:905:27: note: expanded from macro 'MUL64LOW'
mul_gf2x.c: #define MUL64LOW(x,y,pos) _mm_cvtsi128_si64x(_mm_clmulepi64_si128(x, y, pos))
mul_gf2x.c: ^
mul_gf2x.c: 1 warning generated.
sqr_gf2x.c: sqr_gf2x.c:27:12: warning: implicit declaration of function '_mm_cvtsi128_si64x' is invalid in C99 [-Wimplicit-function-declaration]
sqr_gf2x.c: return _mm_cvtsi128_si64x(_mm_clmulepi64_si128(x,x,0));
sqr_gf2x.c: ^
sqr_gf2x.c: sqr_gf2x.c:316:12: warning: implicit declaration of function '_mm_cvtsi128_si64x' is invalid in C99 [-Wimplicit-function-declaration]
sqr_gf2x.c: return SQR64LOW(x,0);
sqr_gf2x.c: ^
sqr_gf2x.c: ./sqr_gf2x.h:250:25: note: expanded from macro 'SQR64LOW'
sqr_gf2x.c: #define SQR64LOW(x,pos) _mm_cvtsi128_si64x(_mm_clmulepi64_si128(x, x, pos))
sqr_gf2x.c: ^
sqr_gf2x.c: 2 warnings generated.
try.c: /usr/bin/ld: crypto_sign_gemss128.a(mul_gf2x.o): in function `GeMSS_128U_mul64low':
try.c: mul_gf2x.c:(.text+0x...): undefined reference to `_mm_cvtsi128_si64x'
try.c: /usr/bin/ld: crypto_sign_gemss128.a(sqr_gf2x.o): in function `GeMSS_128U_sqr64low':
try.c: sqr_gf2x.c:(.text+0x...): undefined reference to `_mm_cvtsi128_si64x'
try.c: /usr/bin/ld: crypto_sign_gemss128.a(sqr_gf2x.o): in function `GeMSS_128U_old_square64low':
try.c: sqr_gf2x.c:(.text+0x...): undefined reference to `_mm_cvtsi128_si64x'
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 8, namely:
CompilerImplementations
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 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE skylake
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE skylake
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE skylake
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE skylake

Compiler output

Implementation: opt
Security model: unknown
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
arith_gf2n.c: In file included from arith_gf2n.c:1:
arith_gf2n.c: In file included from ./arith_gf2n.h:9:
arith_gf2n.c: In file included from ./tools_gf2n.h:162:
arith_gf2n.c: ./mul_gf2x.h:17:14: fatal error: 'gf2x/gf2x_mul1.h' file not found
arith_gf2n.c: #include <gf2x/gf2x_mul1.h>
arith_gf2n.c: ^~~~~~~~~~~~~~~~~~
arith_gf2n.c: 1 error generated.

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt skylake

Compiler output

Implementation: ref
Security model: unknown
Compiler: clang++ -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
bit.c: clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
convMQS_gf2.c: clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
evalMQnocst_gf2.c: clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
KAT_int.c: clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
printgf2x.c: clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
sign.c: clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
sign_openHFE.c: clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
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

Namespace violations

Implementation: opt
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
arith_gf2n.o GeMSS_128U_mulmod_gf2n T
arith_gf2n.o GeMSS_128U_squaremod_gf2n T
changeVariablesMQS_gf2.o GeMSS_128U_changeVariablesMQS64_gf2 T
chooseRootHFE_gf2nx.o GeMSS_128U_chooseRootHFE_gf2nx T
convMQS_gf2.o GeMSS_128U_convMQS_one_eq_to_hybrid_representation_gf2 T
convMQS_gf2.o GeMSS_128U_convMQS_one_to_m_compressed_equations_gf2 T
convMQS_gf2.o GeMSS_128U_convMQS_one_to_m_equations_gf2 T
conv_gf2nx.o GeMSS_128U_convHFEpolynomialSparseToDense_gf2nx T
conv_gf2nx.o GeMSS_128U_convMonic_gf2nx T
determinantn_gf2.o GeMSS_128U_determinantn_gf2 T
determinantn_gf2.o GeMSS_128U_determinantn_nocst_gf2 T
determinantnv_gf2.o GeMSS_128U_determinantnv_gf2 T
determinantnv_gf2.o GeMSS_128U_determinantnv_nocst_gf2 T
div_gf2nx.o GeMSS_128U_div_qr_gf2nx T
div_gf2nx.o GeMSS_128U_div_qr_not_monic_gf2nx T
div_gf2nx.o GeMSS_128U_div_r_HFE_gf2nx T
div_gf2nx.o GeMSS_128U_div_r_HFE_gf2nx_cst T
div_gf2nx.o GeMSS_128U_div_r_HFE_gf2nx_d_cst T
div_gf2nx.o GeMSS_128U_div_r_gf2nx T
div_gf2nx.o GeMSS_128U_div_r_not_monic_gf2nx T
dotProduct_gf2n.o GeMSS_128U_dotProduct_noSIMD_gf2n T
dotProduct_gf2n.o GeMSS_128U_doubleDotProduct_noSIMD_gf2n T
evalMQS_gf2.o GeMSS_128U_evalMQS_classical_gf2 T
evalMQS_gf2.o GeMSS_128U_evalMQS_unrolled_gf2 T
evalMQShybrid_gf2.o GeMSS_128U_evalMQShybrid_nocst_gf2_m T
evalMQSnocst_gf2.o GeMSS_128U_evalMQSnocst_unrolled_gf2 T
evalMQSnocst_quo_gf2.o GeMSS_128U_evalMQSnocst_unrolled_quo_gf2 T
evalMQSv_gf2.o GeMSS_128U_evalMQSv_classical_gf2 T
evalMQSv_gf2.o GeMSS_128U_evalMQSv_unrolled_gf2 T
evalMQnocst_gf2.o GeMSS_128U_evalMQSnocst_noSIMD_gf2_m T
evalMQnocst_gf2.o GeMSS_128U_evalMQnocst_noSIMD2_gf2 T
evalMQnocst_gf2.o GeMSS_128U_evalMQnocst_noSIMD_gf2 T
findRootsSplit_gf2nx.o GeMSS_128U_findRootsSplit_gf2nx T
findRoots_gf2nx.o GeMSS_128U_findRootsHFE_gf2nx T
findRoots_gf2nx.o GeMSS_128U_findRoots_gf2nx T
findRoots_gf2nx.o GeMSS_128U_findUniqRootHFE_gf2nx T
frobeniusMap_gf2nx.o GeMSS_128U_frobeniusMap_HFE_gf2nx T
frobeniusMap_gf2nx.o GeMSS_128U_frobeniusMap_gf2nx T
frobeniusMap_gf2nx.o GeMSS_128U_frobeniusMap_multisqr_HFE_gf2nx T
gcd_gf2nx.o GeMSS_128U_gcd_gf2nx T
genCanonicalBasis_gf2n.o GeMSS_128U_genCanonicalBasisVertical_gf2n T
genCanonicalBasis_gf2n.o GeMSS_128U_genCanonicalBasis_gf2n T
genSecretMQS_gf2.o GeMSS_128U_genSecretMQS_gf2 T
initListDifferences_gf2nx.o GeMSS_128U_initListDifferences_gf2nx T
initMatrixId_gf2.o GeMSS_128U_initMatrixIdn_gf2 T
initMatrixId_gf2.o GeMSS_128U_initMatrixIdnv_gf2 T
invMatrixn_gf2.o GeMSS_128U_invMatrixLUn_gf2 T
invMatrixn_gf2.o GeMSS_128U_invMatrixn_gf2 T
invMatrixn_gf2.o GeMSS_128U_invMatrixn_nocst_gf2 T
invMatrixnv_gf2.o GeMSS_128U_invMatrixLUnv_gf2 T
invMatrixnv_gf2.o GeMSS_128U_invMatrixnv_gf2 T
invMatrixnv_gf2.o GeMSS_128U_invMatrixnv_nocst_gf2 T
inv_gf2n.o GeMSS_128U_inv_EEA_gf2n T
inv_gf2n.o GeMSS_128U_inv_ITMIA_gf2n T
matVecProduct_gf2.o GeMSS_128U_matVecProduct_gf2 T
mixEquationsMQS_gf2.o GeMSS_128U_mixEquationsMQS_gf2_left T
mixEquationsMQS_gf2.o GeMSS_128U_mixEquationsMQS_gf2_right T
mul_gf2x.o GeMSS_128U_mul128 T
mul_gf2x.o GeMSS_128U_mul160 T
mul_gf2x.o GeMSS_128U_mul192 T
mul_gf2x.o GeMSS_128U_mul224 T
mul_gf2x.o GeMSS_128U_mul256 T
mul_gf2x.o GeMSS_128U_mul288 T
mul_gf2x.o GeMSS_128U_mul320 T
mul_gf2x.o GeMSS_128U_mul352 T
mul_gf2x.o GeMSS_128U_mul384 T
mul_gf2x.o GeMSS_128U_mul416 T
mul_gf2x.o GeMSS_128U_mul448 T
mul_gf2x.o GeMSS_128U_mul480 T
mul_gf2x.o GeMSS_128U_mul512 T
mul_gf2x.o GeMSS_128U_mul544 T
mul_gf2x.o GeMSS_128U_mul576 T
mul_gf2x.o GeMSS_128U_mul64 T
mul_gf2x.o GeMSS_128U_mul64low T
mul_gf2x.o GeMSS_128U_mul96 T
predicate.o GeMSS_128U_CMP_GT T
predicate.o GeMSS_128U_CMP_LT T
predicate.o GeMSS_128U_ISEQUAL T
predicate.o GeMSS_128U_ISONE T
predicate.o GeMSS_128U_ISZERO T
printHFE.o GeMSS_128U_printDocument T
printHFE.o GeMSS_128U_printSignature T
printHFE.o GeMSS_128U_printSignature_uncompressed T
print_gf2x.o GeMSS_128U_print_gf2x T
quickSort_gf2n.o GeMSS_128U_quickSort_gf2n T
randMatrix_gf2.o GeMSS_128U_genLowerMatrixn T
randMatrix_gf2.o GeMSS_128U_genLowerMatrixnv T
randMatrix_gf2.o GeMSS_128U_randInvMatrixLU_gf2_n T
randMatrix_gf2.o GeMSS_128U_randInvMatrixLU_gf2_nv T
randMatrix_gf2.o GeMSS_128U_randInvMatrix_gf2_n T
randMatrix_gf2.o GeMSS_128U_randInvMatrix_gf2_nv T
randMatrix_gf2.o GeMSS_128U_randMatrix_gf2_n T
randMatrix_gf2.o GeMSS_128U_randMatrix_gf2_nv T
rand_gf2nx.o GeMSS_128U_randMonicHFE_gf2nx T
rand_gf2nx.o GeMSS_128U_randMonicHFEv_gf2nx T
rand_gf2nx.o GeMSS_128U_randMonic_gf2nx T
rand_gf2nx.o GeMSS_128U_rand_gf2nx T
rem_gf2n.o GeMSS_128U_rem_noSIMD_gf2n T
rem_gf2x.o GeMSS_128U_rem128_pentanom T
rem_gf2x.o GeMSS_128U_rem128_pentanom_k128 T
rem_gf2x.o GeMSS_128U_rem128_trinom T
rem_gf2x.o GeMSS_128U_rem160_pentanom T
rem_gf2x.o GeMSS_128U_rem160_trinom T
rem_gf2x.o GeMSS_128U_rem192_pentanom T
rem_gf2x.o GeMSS_128U_rem192_pentanom_k192 T
rem_gf2x.o GeMSS_128U_rem192_trinom T
rem_gf2x.o GeMSS_128U_rem224_pentanom T
rem_gf2x.o GeMSS_128U_rem224_trinom T
rem_gf2x.o GeMSS_128U_rem256_pentanom T
rem_gf2x.o GeMSS_128U_rem256_pentanom_k256 T
rem_gf2x.o GeMSS_128U_rem256_trinom T
rem_gf2x.o GeMSS_128U_rem288_pentanom T
rem_gf2x.o GeMSS_128U_rem288_trinom T
rem_gf2x.o GeMSS_128U_rem320_pentanom T
rem_gf2x.o GeMSS_128U_rem320_pentanom_k320 T
rem_gf2x.o GeMSS_128U_rem320_trinom T
rem_gf2x.o GeMSS_128U_rem32_pentanom T
rem_gf2x.o GeMSS_128U_rem32_trinom T
rem_gf2x.o GeMSS_128U_rem352_pentanom T
rem_gf2x.o GeMSS_128U_rem352_trinom T
rem_gf2x.o GeMSS_128U_rem384_pentanom T
rem_gf2x.o GeMSS_128U_rem384_pentanom_k384 T
rem_gf2x.o GeMSS_128U_rem384_trinom T
rem_gf2x.o GeMSS_128U_rem416_pentanom T
rem_gf2x.o GeMSS_128U_rem416_trinom T
rem_gf2x.o GeMSS_128U_rem448_pentanom T
rem_gf2x.o GeMSS_128U_rem448_pentanom_k448 T
rem_gf2x.o GeMSS_128U_rem448_trinom T
rem_gf2x.o GeMSS_128U_rem480_pentanom T
rem_gf2x.o GeMSS_128U_rem480_trinom T
rem_gf2x.o GeMSS_128U_rem512_pentanom T
rem_gf2x.o GeMSS_128U_rem512_trinom T
rem_gf2x.o GeMSS_128U_rem544_pentanom T
rem_gf2x.o GeMSS_128U_rem544_trinom T
rem_gf2x.o GeMSS_128U_rem576_pentanom T
rem_gf2x.o GeMSS_128U_rem576_trinom T
rem_gf2x.o GeMSS_128U_rem64_pentanom T
rem_gf2x.o GeMSS_128U_rem64_trinom T
rem_gf2x.o GeMSS_128U_rem96_pentanom T
rem_gf2x.o GeMSS_128U_rem96_trinom T
signHFE.o GeMSS_128U_precSignHFE T
signHFE.o GeMSS_128U_signHFE1 T
signHFE.o GeMSS_128U_signHFE1withPrec T
signHFE.o GeMSS_128U_signHFE_FeistelPatarin T
sign_keypairHFE.o GeMSS_128U_sign_keypairHFE T
sign_openHFE.o GeMSS_128U_sign_openHFE T
sqr_gf2nx.o GeMSS_128U_sqr_HFE_gf2nx T
sqr_gf2nx.o GeMSS_128U_sqr_gf2nx T
sqr_gf2x.o GeMSS_128U_old_square128 T
sqr_gf2x.o GeMSS_128U_old_square160 T
sqr_gf2x.o GeMSS_128U_old_square192 T
sqr_gf2x.o GeMSS_128U_old_square224 T
sqr_gf2x.o GeMSS_128U_old_square256 T
sqr_gf2x.o GeMSS_128U_old_square288 T
sqr_gf2x.o GeMSS_128U_old_square320 T
sqr_gf2x.o GeMSS_128U_old_square352 T
sqr_gf2x.o GeMSS_128U_old_square384 T
sqr_gf2x.o GeMSS_128U_old_square416 T
sqr_gf2x.o GeMSS_128U_old_square448 T
sqr_gf2x.o GeMSS_128U_old_square480 T
sqr_gf2x.o GeMSS_128U_old_square512 T
sqr_gf2x.o GeMSS_128U_old_square544 T
sqr_gf2x.o GeMSS_128U_old_square576 T
sqr_gf2x.o GeMSS_128U_old_square64 T
sqr_gf2x.o GeMSS_128U_old_square64low T
sqr_gf2x.o GeMSS_128U_old_square96 T
sqr_gf2x.o GeMSS_128U_sqr128 T
sqr_gf2x.o GeMSS_128U_sqr160 T
sqr_gf2x.o GeMSS_128U_sqr192 T
sqr_gf2x.o GeMSS_128U_sqr224 T
sqr_gf2x.o GeMSS_128U_sqr256 T
sqr_gf2x.o GeMSS_128U_sqr288 T
sqr_gf2x.o GeMSS_128U_sqr320 T
sqr_gf2x.o GeMSS_128U_sqr352 T
sqr_gf2x.o GeMSS_128U_sqr384 T
sqr_gf2x.o GeMSS_128U_sqr416 T
sqr_gf2x.o GeMSS_128U_sqr448 T
sqr_gf2x.o GeMSS_128U_sqr480 T
sqr_gf2x.o GeMSS_128U_sqr512 T
sqr_gf2x.o GeMSS_128U_sqr544 T
sqr_gf2x.o GeMSS_128U_sqr576 T
sqr_gf2x.o GeMSS_128U_sqr64 T
sqr_gf2x.o GeMSS_128U_sqr64low T
sqr_gf2x.o GeMSS_128U_sqr96 T
vecMatProduct_gf2.o GeMSS_128U_vecMatProductm_64 T
vecMatProduct_gf2.o GeMSS_128U_vecMatProductn_64 T
vecMatProduct_gf2.o GeMSS_128U_vecMatProductnv_64 T
vecMatProduct_gf2.o GeMSS_128U_vecMatProductnvn_64 T
vecMatProduct_gf2.o GeMSS_128U_vecMatProductnvn_start_64 T
vecMatProduct_gf2.o GeMSS_128U_vecMatProductv_64 T

Number of similar (compiler,implementation) pairs: 8, 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
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE skylake
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE skylake
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE skylake
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE skylake