Implementation notes: amd64, genji346, crypto_core/multsntrup761

Computer: genji346
Architecture: amd64
CPU ID: AuthenticAMD-00830f10-178bfbff
SUPERCOP version: 20191017
Operation: crypto_core
Primitive: multsntrup761
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1572016568 32 033621 896 768avxicc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102520191017
1572016520 32 033157 896 768avxicc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102520191017
1574016632 32 031957 896 768avxicc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102520191017
1574016568 32 033621 896 768avxicc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102520191017
1574016520 32 033173 896 768avxicc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102520191017
1578016520 32 033173 896 768avxicc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102520191017
1578016520 32 033157 896 768avxicc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102520191017
1580016568 32 033605 896 768avxicc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102520191017
1588016568 32 033605 896 768avxicc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102520191017
1588016632 32 032013 896 768avxicc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102520191017
1604015381 0 028889 816 800avxgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
1842014655 0 025772 808 800avxgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
1910014741 0 026084 808 800avxgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
2154015200 0 025412 792 800avxgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
2330018904 32 035509 896 768avxicc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102520191017
2330018856 32 035493 896 768avxicc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102520191017
2330018904 32 035509 896 768avxicc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102520191017
2330018856 32 035493 896 768avxicc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102520191017
2332018856 32 035493 896 768avxicc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102520191017
2336018856 32 035493 896 768avxicc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102520191017
2344018904 32 035509 896 768avxicc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102520191017
2356018904 32 035509 896 768avxicc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102520191017
2472015447 0 028921 816 800round1gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
2482014336 0 031373 856 768round1icc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102520191017
2484014336 0 031373 856 768round1icc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102520191017
2506014320 0 031341 856 768round1icc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102520191017
2508014320 0 031341 856 768round1icc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102520191017
2550014072 0 029381 856 768round1icc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102520191017
2574014784 0 031421 856 768round1icc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102520191017
2578014784 0 031421 856 768round1icc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102520191017
2604014768 0 031389 856 768round1icc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102520191017
2612014768 0 031389 856 768round1icc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102520191017
2616014448 0 031069 856 768round1icc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102520191017
2616014448 0 031069 856 768round1icc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102520191017
2620014448 0 031069 856 768round1icc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102520191017
2626014448 0 031069 856 768round1icc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102520191017
2652014984 0 030349 856 768round1icc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102520191017
2694015232 0 031885 856 768round1icc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102520191017
2696015232 0 031885 856 768round1icc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102520191017
2698015232 0 031885 856 768round1icc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102520191017
2698015232 0 031885 856 768round1icc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102520191017
295409799 0 021201 816 800round1gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
315409403 0 020601 816 800round1gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
329009434 0 019644 792 800round1gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
1763203266 0 016761 816 800refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
1802402549 0 016179 808 776refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
1849602549 0 015555 808 776refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
1850402549 0 015555 808 776refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
4037803568 0 020557 856 768reficc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102520191017
4037803568 0 020557 856 768reficc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102520191017
4038003472 0 020061 856 768reficc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102520191017
4039803568 0 020573 856 768reficc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102520191017
4040403568 0 020573 856 768reficc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102520191017
4041603472 0 020077 856 768reficc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102520191017
4042203472 0 020077 856 768reficc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102520191017
4044403472 0 020061 856 768reficc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102520191017
4288002296 0 018853 856 768reficc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102520191017
4289602296 0 018853 856 768reficc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102520191017
4295402296 0 018853 856 768reficc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102520191017
4297202296 0 018853 856 768reficc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102520191017
4318802320 0 017581 856 768reficc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102520191017
4319002488 0 019077 856 768reficc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102520191017
4321802488 0 019077 856 768reficc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102520191017
4333602560 0 017877 856 768reficc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102520191017
4337402488 0 019077 856 768reficc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102520191017
4337602488 0 019077 856 768reficc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102520191017
7018602355 0 015747 808 760refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
1505160596 0 010961 800 760refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
1540460466 0 010644 792 800refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
1556820537 0 011644 808 800refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
1603140606 0 011916 808 800refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017

Test failure

Implementation: crypto_core/multsntrup761/avx
Compiler: icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer
error 111

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

Compiler output

Implementation: crypto_core/multsntrup761/round1
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
mult.c: In file included from mult.c:2:
mult.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:27:
mult.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]
mult.c: extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
mult.c: ^
mult.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]
mult.c: extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
mult.c: ^
mult.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]
mult.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
mult.c: ^
mult.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]
mult.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
mult.c: ^
mult.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]
mult.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
mult.c: ^
mult.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]
mult.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
mult.c: ^
mult.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]
mult.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
mult.c: ^
mult.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:103:74: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
mult.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
mult.c: ...

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

Compiler output

Implementation: crypto_core/multsntrup761/avx
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
mult768.c: In file included from mult768.c:2:
mult768.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:27:
mult768.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]
mult768.c: extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
mult768.c: ^
mult768.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]
mult768.c: extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
mult768.c: ^
mult768.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]
mult768.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
mult768.c: ^
mult768.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]
mult768.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
mult768.c: ^
mult768.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]
mult768.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
mult768.c: ^
mult768.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]
mult768.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
mult768.c: ^
mult768.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]
mult768.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
mult768.c: ^
mult768.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:103:74: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
mult768.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
mult768.c: ...

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

Compiler output

Implementation: crypto_core/multsntrup761/avx
Compiler: icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer
mult768.c: mult768.c(196): warning #167: argument of type "int16={int16_t={short}} (*)[512]" is incompatible with parameter of type "const int16={int16_t={short}} (*)[512]"
mult768.c: ungood(h_7681,hpad);
mult768.c: ^
mult768.c:
mult768.c: mult768.c(224): warning #167: argument of type "int16={int16_t={short}} (*)[512]" is incompatible with parameter of type "const int16={int16_t={short}} (*)[512]"
mult768.c: ungood(h_10753,hpad);
mult768.c: ^
mult768.c:

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