Implementation notes: amd64, genji548, crypto_kem/ntskem13136

Computer: genji548
Architecture: amd64
CPU ID: GenuineIntel-00050654-bfebfbff
SUPERCOP version: 20191017
Operation: crypto_kem
Primitive: ntskem13136
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
163072887514 84 16114829 976 1640avx2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
1641434111204 84 16141213 976 1640avx2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
173592080679 84 16107076 968 1608avx2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
177436889168 84 16116605 976 1640avx2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
1831176104520 84 16134613 976 1640sse2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
186095479431 84 16106821 976 1640sse2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
191813280811 84 16108261 976 1640sse2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
219614874301 84 16100780 968 1608sse2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
329079075197 84 16104277 976 1640optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
3371930123083 84 16154661 976 1640optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
3420914199624 108 16233781 1048 1608opticc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102020191017
3440808199624 108 16233781 1048 1608opticc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102020191017
3447010199608 108 16233765 1048 1608opticc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102020191017
3449526199608 108 16233765 1048 1608opticc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102020191017
3450708190296 108 16225021 1048 1640opticc_-march=skylake-avx512_-mtune=skylake-avx512_-O3_-fomit-frame-pointer2019102020191017
3510964177584 108 16212453 1048 1640opticc_-march=skylake-avx512_-mtune=skylake-avx512_-O2_-fomit-frame-pointer2019102020191017
3521314200272 108 16235637 1048 1640opticc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer2019102020191017
3531112170904 108 16205493 1048 1608opticc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102020191017
3554730170904 108 16205493 1048 1608opticc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102020191017
3559312212064 108 16247077 1048 1640opticc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer2019102020191017
3563288170920 108 16205509 1048 1608opticc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102020191017
356512873809 84 16102701 976 1640optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
3574890170920 108 16205509 1048 1608opticc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102020191017
3588956180704 108 16213549 1048 1608opticc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102020191017
3606644183016 108 16217141 1048 1608opticc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102020191017
3619634180776 108 16214869 1048 1608opticc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102020191017
3624620183016 108 16217141 1048 1608opticc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102020191017
3627246183016 108 16217141 1048 1608opticc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102020191017
3638406183016 108 16217141 1048 1608opticc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102020191017
3641978180776 108 16214869 1048 1608opticc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102020191017
3644866180776 108 16214869 1048 1608opticc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102020191017
3657150180776 108 16214869 1048 1608opticc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102020191017
3660384183208 108 16216109 1048 1608opticc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102020191017
384605068796 84 1696644 968 1608optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
24456724102400 100 16136981 1016 1608reficc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102020191017
24493700129576 100 16163725 1016 1608reficc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102020191017
24499140116856 100 16152213 1016 1640reficc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer2019102020191017
24549816102384 100 16136965 1016 1608reficc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102020191017
24553128102384 100 16136965 1016 1608reficc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102020191017
24556280129560 100 16163709 1016 1608reficc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102020191017
24562108102400 100 16136981 1016 1608reficc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102020191017
24603780108712 100 16143573 1016 1640reficc_-march=skylake-avx512_-mtune=skylake-avx512_-O2_-fomit-frame-pointer2019102020191017
24605844129560 100 16163709 1016 1608reficc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102020191017
24664734120072 100 16154789 1016 1640reficc_-march=skylake-avx512_-mtune=skylake-avx512_-O3_-fomit-frame-pointer2019102020191017
24666576129576 100 16163725 1016 1608reficc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102020191017
24772810128048 100 16163053 1016 1640reficc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer2019102020191017
25258032103616 100 16136509 1016 1608reficc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102020191017
25283354102768 100 16136885 1016 1608reficc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102020191017
25324990100704 100 16133541 1016 1608reficc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102020191017
25402842102768 100 16136885 1016 1608reficc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102020191017
25440886102768 100 16136885 1016 1608reficc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102020191017
25452912100064 100 16134149 1016 1608reficc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102020191017
25455268102768 100 16136885 1016 1608reficc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102020191017
25473572100064 100 16134149 1016 1608reficc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102020191017
25487938100064 100 16134149 1016 1608reficc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102020191017
25697038100064 100 16134149 1016 1608reficc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102020191017
2610184835215 76 1666973 944 1640refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
2651457224802 76 1653885 944 1640refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
2697380823341 76 1652221 944 1640refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
2964687419989 76 1647804 936 1608refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017

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