Implementation notes: amd64, genji548, crypto_kem/mceliece6960119f

Computer: genji548
Architecture: amd64
CPU ID: GenuineIntel-00050654-bfebfbff
SUPERCOP version: 20191017
Operation: crypto_kem
Primitive: mceliece6960119f
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
421724129366 0 0201469 840 1608avxgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
639272241910 0 0300669 840 1608ssegcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
70669866599 0 0123309 840 1608ssegcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
71627266321 0 0122949 840 1608ssegcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
78897262111 0 0117637 832 1576ssegcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
1700966257713 0 0318405 840 1608vecgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
1867178134144 0 0198716 880 1608vecicc_-march=skylake-avx512_-mtune=skylake-avx512_-O3_-fomit-frame-pointer2019102020191017
1891576133728 0 0198380 880 1608vecicc_-march=skylake-avx512_-mtune=skylake-avx512_-O2_-fomit-frame-pointer2019102020191017
1933796131496 0 0194308 880 1576vecicc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102020191017
1954044130512 0 0194596 880 1576vecicc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102020191017
1956424130512 0 0194596 880 1576vecicc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102020191017
1956736130512 0 0194596 880 1576vecicc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102020191017
1957068130512 0 0194596 880 1576vecicc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102020191017
1992820132544 0 0195300 880 1576vecicc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102020191017
2014498133064 0 0197116 880 1576vecicc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102020191017
2018804133064 0 0197116 880 1576vecicc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102020191017
2021372133064 0 0197116 880 1576vecicc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102020191017
2025652133064 0 0197116 880 1576vecicc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102020191017
2081352136856 0 0201620 880 1608vecicc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer2019102020191017
2117876129936 0 0194308 880 1576vecicc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102020191017
2124088130288 0 0194260 880 1576vecicc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102020191017
2127986130288 0 0194260 880 1576vecicc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102020191017
2127990130288 0 0194260 880 1576vecicc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102020191017
2144944129904 0 0194276 880 1576vecicc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102020191017
2155278129936 0 0194308 880 1576vecicc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102020191017
2243424129936 0 0194308 880 1576vecicc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102020191017
2356246137552 0 0202668 880 1608vecicc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer2019102020191017
2363926130288 0 0194260 880 1576vecicc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102020191017
281723062265 0 0121325 840 1608vecgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
289623462150 0 0121165 840 1608vecgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
291020652463 0 0110437 832 1576vecgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
27273857052064 0 0116156 880 1576reficc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102020191017
27295456252064 0 0116156 880 1576reficc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102020191017
27298131052064 0 0116156 880 1576reficc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102020191017
27303353452064 0 0116156 880 1576reficc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102020191017
27328220649872 0 0112636 880 1576reficc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102020191017
27339041051856 0 0114676 880 1576reficc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102020191017
27362402650504 0 0114564 880 1576reficc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102020191017
27368534650504 0 0114564 880 1576reficc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102020191017
27384964450504 0 0114564 880 1576reficc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102020191017
27389328650504 0 0114564 880 1576reficc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102020191017
27542151264160 0 0128740 880 1608reficc_-march=skylake-avx512_-mtune=skylake-avx512_-O3_-fomit-frame-pointer2019102020191017
27546194857216 0 0121628 880 1576reficc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102020191017
27547099659176 0 0123188 880 1576reficc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102020191017
27550565857216 0 0121628 880 1576reficc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102020191017
27551760057216 0 0121628 880 1576reficc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102020191017
27561879659176 0 0123188 880 1576reficc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102020191017
27569070457216 0 0121628 880 1576reficc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102020191017
27592356059176 0 0123188 880 1576reficc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102020191017
27595676259176 0 0123188 880 1576reficc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102020191017
27658143862248 0 0126940 880 1608reficc_-march=skylake-avx512_-mtune=skylake-avx512_-O2_-fomit-frame-pointer2019102020191017
288952206184524 0 0246107 848 1608refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
38938209816240 0 075485 840 1608refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
39314261816238 0 075269 840 1608refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
39708661012793 0 070661 832 1576refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017

Test failure

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

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

Compiler output

Implementation: crypto_kem/mceliece6960119f/avx
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
bm.c: In file included from /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/immintrin.h:51,
bm.c: from vec256.h:11,
bm.c: from bm.h:10,
bm.c: from bm.c:6:
bm.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/avxintrin.h: In function 'bm':
bm.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/avxintrin.h:524:20: error: the last argument must be a 1-bit immediate
bm.c: 524 | return (__m128i) __builtin_ia32_vextractf128_si256 ((__v8si)__X, __N);
bm.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bm.c: In file included from vec128.h:12,
bm.c: from bm.h:9,
bm.c: from bm.c:6:
bm.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/smmintrin.h:456:10: error: selector must be an integer constant in the range 0..1
bm.c: 456 | return __builtin_ia32_vec_ext_v2di ((__v2di)__X, __N);
bm.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

Compiler output

Implementation: crypto_kem/mceliece6960119f/sse
Compiler: icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer
bm.c: bm.c(129): (col. 30) catastrophic error: Intrinsic parameter must be an immediate value
bm.c: compilation aborted for bm.c (code 1)

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

Compiler output

Implementation: crypto_kem/mceliece6960119f/avx
Compiler: icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer
bm.c: bm.c(133): (col. 30) catastrophic error: Intrinsic parameter must be an immediate value
bm.c: compilation aborted for bm.c (code 1)

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

Compiler output

Implementation: crypto_kem/mceliece6960119f/vec
Compiler: icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer
pk_gen.c: pk_gen.c(205): warning #167: argument of type "vec={uint64_t={unsigned long}} (*)[13]" is incompatible with parameter of type "const vec={uint64_t={unsigned long}} (*)[13]"
pk_gen.c: de_bitslicing(list, prod);
pk_gen.c: ^
pk_gen.c:

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