Implementation notes: amd64, genji262, crypto_sign/dilithium4

Computer: genji262
Architecture: amd64
CPU ID: AuthenticAMD-00800f12-178bfbff
SUPERCOP version: 20191017
Operation: crypto_sign
Primitive: dilithium4
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1002056231126 0 0257811 816 1632avx2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102420191017
1082642236497 0 0267028 864 1600avx2icc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102420191017
1087174236481 0 0267012 864 1600avx2icc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102420191017
1091090236481 0 0267012 864 1600avx2icc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102420191017
1095974236497 0 0267028 864 1600avx2icc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102420191017
1104950245873 0 0274708 864 1600avx2icc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102420191017
1130536250473 0 0280604 864 1600avx2icc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102420191017
1135838251033 0 0281164 864 1600avx2icc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102420191017
1139974251033 0 0281164 864 1600avx2icc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102420191017
1142438250473 0 0280604 864 1600avx2icc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102420191017
1144242260409 0 0289300 864 1600avx2icc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102420191017
1195260131033 0 0156331 816 1632avx2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102420191017
1208790247553 0 0277684 864 1600avx2icc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102420191017
1216490247553 0 0277684 864 1600avx2icc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102420191017
1219438247553 0 0277684 864 1600avx2icc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102420191017
1226148247553 0 0277684 864 1600avx2icc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102420191017
1247642262281 0 0292444 864 1600avx2icc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102420191017
1250964262281 0 0292444 864 1600avx2icc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102420191017
1251888262281 0 0292444 864 1600avx2icc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102420191017
1256882262281 0 0292444 864 1600avx2icc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102420191017
1277848126015 0 0150331 808 1600avx2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102420191017
1296834128835 0 0153883 816 1632avx2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102420191017
198847047849 0 074771 816 1632refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102420191017
204109437419 0 064545 808 1600refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102420191017
219456619547 0 045075 816 1632refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102420191017
233085667928 0 098732 864 1600reficc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102420191017
233290267928 0 098732 864 1600reficc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102420191017
235705870072 0 099252 864 1600reficc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102420191017
236645241557 0 068393 808 1600refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102420191017
237560472488 0 0102892 864 1600reficc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102420191017
237701218232 0 043483 816 1632refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102420191017
237835472488 0 0102892 864 1600reficc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102420191017
237954267912 0 098716 864 1600reficc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102420191017
238235867912 0 098716 864 1600reficc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102420191017
246752065792 0 094916 864 1600reficc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102420191017
247797072376 0 0102780 864 1600reficc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102420191017
248551672376 0 0102780 864 1600reficc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102420191017
262196029854 0 056417 808 1600refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102420191017
262979229854 0 056417 808 1600refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102420191017
265157217099 0 041259 808 1600refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102420191017
271535018595 0 042583 800 1600refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102420191017
293829867464 0 097884 864 1600reficc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102420191017
294005867464 0 097884 864 1600reficc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102420191017
294016867464 0 097884 864 1600reficc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102420191017
294236867464 0 097884 864 1600reficc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102420191017
300713671864 0 0102316 864 1600reficc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102420191017
301177871864 0 0102316 864 1600reficc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102420191017
302423071864 0 0102316 864 1600reficc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102420191017
302425271864 0 0102316 864 1600reficc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102420191017

Test failure

Implementation: avx2
Security model: unknown
Compiler: icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer
error 111

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

Compiler output

Implementation: avx2
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
KeccakP-1600-times4-SIMD256.c: In file included from KeccakP-1600-times4-SIMD256.c:19:
KeccakP-1600-times4-SIMD256.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/smmintrin.h:32:
KeccakP-1600-times4-SIMD256.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/tmmintrin.h:31:
KeccakP-1600-times4-SIMD256.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/pmmintrin.h:31:
KeccakP-1600-times4-SIMD256.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/emmintrin.h:31:
KeccakP-1600-times4-SIMD256.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/xmmintrin.h:31:
KeccakP-1600-times4-SIMD256.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:55:72: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
KeccakP-1600-times4-SIMD256.c: extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
KeccakP-1600-times4-SIMD256.c: ^
KeccakP-1600-times4-SIMD256.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:61:72: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
KeccakP-1600-times4-SIMD256.c: extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
KeccakP-1600-times4-SIMD256.c: ^
KeccakP-1600-times4-SIMD256.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:68:74: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
KeccakP-1600-times4-SIMD256.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
KeccakP-1600-times4-SIMD256.c: ^
KeccakP-1600-times4-SIMD256.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:74:74: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
KeccakP-1600-times4-SIMD256.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
KeccakP-1600-times4-SIMD256.c: ^
KeccakP-1600-times4-SIMD256.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:84:74: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
KeccakP-1600-times4-SIMD256.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
KeccakP-1600-times4-SIMD256.c: ^
KeccakP-1600-times4-SIMD256.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:90:74: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
KeccakP-1600-times4-SIMD256.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
KeccakP-1600-times4-SIMD256.c: ^
KeccakP-1600-times4-SIMD256.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:97:74: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
KeccakP-1600-times4-SIMD256.c: ...

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE avx2
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE avx2
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE avx2
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE avx2
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE avx2