Implementation notes: amd64, genji239, crypto_kem/ntskem13136

Computer: genji239
Architecture: amd64
CPU ID: GenuineIntel-00050654-bfebfbff
SUPERCOP version: 20191017
Operation: crypto_kem
Primitive: ntskem13136
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
163739887514 84 16114829 976 1640avx2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102120191017
1647804111204 84 16141213 976 1640avx2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102120191017
175525880679 84 16107076 968 1608avx2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102120191017
176203089168 84 16116605 976 1640avx2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102120191017
186173479431 84 16106821 976 1640sse2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102120191017
1913352104520 84 16134613 976 1640sse2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102120191017
209229880811 84 16108261 976 1640sse2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102120191017
214387274301 84 16100780 968 1608sse2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102120191017
328398875197 84 16104277 976 1640optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102120191017
3364382123083 84 16154661 976 1640optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102120191017
3400490199608 108 16233765 1048 1608opticc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102120191017
3419550199624 108 16233781 1048 1608opticc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102120191017
3420210199608 108 16233765 1048 1608opticc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102120191017
3426800199624 108 16233781 1048 1608opticc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102120191017
3440462190296 108 16225021 1048 1640opticc_-march=skylake-avx512_-mtune=skylake-avx512_-O3_-fomit-frame-pointer2019102120191017
3488086177584 108 16212453 1048 1640opticc_-march=skylake-avx512_-mtune=skylake-avx512_-O2_-fomit-frame-pointer2019102120191017
3494988200272 108 16235637 1048 1640opticc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer2019102120191017
3532964170904 108 16205493 1048 1608opticc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102120191017
3535476170904 108 16205493 1048 1608opticc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102120191017
3542738212064 108 16247077 1048 1640opticc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer2019102120191017
3590646170920 108 16205509 1048 1608opticc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102120191017
359323073809 84 16102701 976 1640optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102120191017
3597044180704 108 16213549 1048 1608opticc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102120191017
3608042183016 108 16217141 1048 1608opticc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102120191017
3609792180776 108 16214869 1048 1608opticc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102120191017
3613674183016 108 16217141 1048 1608opticc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102120191017
3618878180776 108 16214869 1048 1608opticc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102120191017
3627982183016 108 16217141 1048 1608opticc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102120191017
3628028183208 108 16216109 1048 1608opticc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102120191017
3640076183016 108 16217141 1048 1608opticc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102120191017
3648214180776 108 16214869 1048 1608opticc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102120191017
3652658180776 108 16214869 1048 1608opticc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102120191017
3736282170920 108 16205509 1048 1608opticc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102120191017
386109468796 84 1696644 968 1608optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102120191017
24342166129560 100 16163709 1016 1608reficc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102120191017
24367486102400 100 16136981 1016 1608reficc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102120191017
24380574102384 100 16136965 1016 1608reficc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102120191017
24444072129576 100 16163725 1016 1608reficc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102120191017
24516014102384 100 16136965 1016 1608reficc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102120191017
24530114102400 100 16136981 1016 1608reficc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102120191017
24538412129560 100 16163709 1016 1608reficc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102120191017
24542702108712 100 16143573 1016 1640reficc_-march=skylake-avx512_-mtune=skylake-avx512_-O2_-fomit-frame-pointer2019102120191017
24594310128048 100 16163053 1016 1640reficc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer2019102120191017
24651804129576 100 16163725 1016 1608reficc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102120191017
24678094116856 100 16152213 1016 1640reficc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer2019102120191017
25032640103616 100 16136509 1016 1608reficc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102120191017
25137776100704 100 16133541 1016 1608reficc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102120191017
25228716102768 100 16136885 1016 1608reficc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102120191017
25238892102768 100 16136885 1016 1608reficc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102120191017
25346802120072 100 16154789 1016 1640reficc_-march=skylake-avx512_-mtune=skylake-avx512_-O3_-fomit-frame-pointer2019102120191017
25353810102768 100 16136885 1016 1608reficc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102120191017
25416320100064 100 16134149 1016 1608reficc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102120191017
25424844102768 100 16136885 1016 1608reficc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102120191017
25431154100064 100 16134149 1016 1608reficc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102120191017
25465930100064 100 16134149 1016 1608reficc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102120191017
25473740100064 100 16134149 1016 1608reficc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102120191017
2615313835215 76 1666973 944 1640refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102120191017
2649022624802 76 1653885 944 1640refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102120191017
2686617223341 76 1652221 944 1640refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102120191017
2953011619989 76 1647804 936 1608refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102120191017

Test failure

Implementation: crypto_kem/ntskem13136/opt
Compiler: icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer
error 111

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer opt ref
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer opt ref

Compiler output

Implementation: crypto_kem/ntskem13136/avx2
Compiler: icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer
nts_kem.c: nts_kem.c(717): error: expression must have integral type
nts_kem.c: v[i] = ~v[i];
nts_kem.c: ^
nts_kem.c:
nts_kem.c: compilation aborted for nts_kem.c (code 2)

Number of similar (compiler,implementation) pairs: 38, namely:
CompilerImplementations
icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer avx2 sse2
icc -march=broadwell -mtune=broadwell -O3 -fomit-frame-pointer avx2 sse2
icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer avx2 sse2
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer avx2 sse2
icc -march=core-avx-i -mtune=core-avx-i -O2 -fomit-frame-pointer sse2
icc -march=core-avx-i -mtune=core-avx-i -O3 -fomit-frame-pointer sse2
icc -march=core-avx2 -mtune=core-avx2 -O2 -fomit-frame-pointer avx2 sse2
icc -march=core-avx2 -mtune=core-avx2 -O3 -fomit-frame-pointer avx2 sse2
icc -march=corei7-avx -mtune=corei7-avx -O2 -fomit-frame-pointer sse2
icc -march=corei7-avx -mtune=corei7-avx -O3 -fomit-frame-pointer sse2
icc -march=corei7 -mtune=corei7 -O2 -fomit-frame-pointer sse2
icc -march=corei7 -mtune=corei7 -O3 -fomit-frame-pointer sse2
icc -march=haswell -mtune=haswell -O2 -fomit-frame-pointer avx2 sse2
icc -march=haswell -mtune=haswell -O3 -fomit-frame-pointer avx2 sse2
icc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer avx2 sse2
icc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer avx2 sse2
icc -march=ivybridge -mtune=ivybridge -O2 -fomit-frame-pointer sse2
icc -march=ivybridge -mtune=ivybridge -O3 -fomit-frame-pointer sse2
icc -march=sandybridge -mtune=sandybridge -O2 -fomit-frame-pointer sse2
icc -march=sandybridge -mtune=sandybridge -O3 -fomit-frame-pointer sse2
icc -march=skylake-avx512 -mtune=skylake-avx512 -O2 -fomit-frame-pointer avx2 sse2
icc -march=skylake-avx512 -mtune=skylake-avx512 -O3 -fomit-frame-pointer avx2 sse2
icc -march=skylake -mtune=skylake -O2 -fomit-frame-pointer avx2 sse2
icc -march=skylake -mtune=skylake -O3 -fomit-frame-pointer avx2 sse2

Compiler output

Implementation: crypto_kem/ntskem13136/avx2
Compiler: icc -march=core-avx-i -mtune=core-avx-i -O2 -fomit-frame-pointer
nts_kem.c: nts_kem.c(373): error: a value of type "union __m256i" cannot be assigned to an entity of type "vector"
nts_kem.c: Q[i][NTS_KEM_PARAM_R_VEC-1] = _mm256_setzero_si256();
nts_kem.c: ^
nts_kem.c:
nts_kem.c: nts_kem.c(409): error: a value of type "union __m256i" cannot be assigned to an entity of type "vector"
nts_kem.c: c_c[i] = _mm256_setzero_si256();
nts_kem.c: ^
nts_kem.c:
nts_kem.c: nts_kem.c(517): error: a value of type "union __m256i" cannot be used to initialize an entity of type "vector"
nts_kem.c: vector allones = _mm256_set1_epi64x(-1);
nts_kem.c: ^
nts_kem.c:
nts_kem.c: nts_kem.c(592): warning #167: argument of type "vector (*)[13]" is incompatible with parameter of type "__m256i (*)[13]"
nts_kem.c: bitslice_fft(evals, sigma);
nts_kem.c: ^
nts_kem.c:
nts_kem.c: nts_kem.c(608): warning #167: argument of type "vector *" is incompatible with parameter of type "const __m256i *"
nts_kem.c: error[i] = vector_ff_or(evals[i]);
nts_kem.c: ^
nts_kem.c:
nts_kem.c: nts_kem.c(608): error: a value of type "__m256i" cannot be assigned to an entity of type "vector"
nts_kem.c: error[i] = vector_ff_or(evals[i]);
nts_kem.c: ^
nts_kem.c:
nts_kem.c: nts_kem.c(609): error: argument of type "vector" is incompatible with parameter of type "union __m256i"
nts_kem.c: ...

Number of similar (compiler,implementation) pairs: 10, namely:
CompilerImplementations
icc -march=core-avx-i -mtune=core-avx-i -O2 -fomit-frame-pointer avx2
icc -march=core-avx-i -mtune=core-avx-i -O3 -fomit-frame-pointer avx2
icc -march=corei7-avx -mtune=corei7-avx -O2 -fomit-frame-pointer avx2
icc -march=corei7-avx -mtune=corei7-avx -O3 -fomit-frame-pointer avx2
icc -march=corei7 -mtune=corei7 -O2 -fomit-frame-pointer avx2
icc -march=corei7 -mtune=corei7 -O3 -fomit-frame-pointer avx2
icc -march=ivybridge -mtune=ivybridge -O2 -fomit-frame-pointer avx2
icc -march=ivybridge -mtune=ivybridge -O3 -fomit-frame-pointer avx2
icc -march=sandybridge -mtune=sandybridge -O2 -fomit-frame-pointer avx2
icc -march=sandybridge -mtune=sandybridge -O3 -fomit-frame-pointer avx2