Implementation notes: amd64, genji262, crypto_hash/hamsi

Computer: genji262
Architecture: amd64
CPU ID: AuthenticAMD-00800f12-178bfbff
SUPERCOP version: 20190910
Operation: crypto_hash
Primitive: hamsi
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2710442392 0 056333 840 744simd-2icc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019091220190910
2719240960 0 056229 840 744simd-2icc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019091220190910
2734641128 0 056365 840 744simd-2icc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019091220190910
2741241432 0 057021 840 744simd-1icc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019091220190910
2743440960 0 056229 840 744simd-2icc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019091220190910
2743441560 0 056749 840 744simd-2icc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019091220190910
2750014184 0 028125 840 744bernstein/small-simd-2icc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019091220190910
2765440888 0 056125 840 744simd-1icc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019091220190910
2767640960 0 056229 840 744simd-2icc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019091220190910
2769840960 0 056229 840 744simd-2icc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019091220190910
2769841656 0 057245 840 744simd-2icc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019091220190910
2772041128 0 056365 840 744simd-2icc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019091220190910
2774241128 0 056365 840 744simd-2icc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019091220190910
2778641128 0 056365 840 744simd-2icc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019091220190910
2778641656 0 057245 840 744simd-2icc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019091220190910
2778613408 0 029029 840 744bernstein/small-simd-2icc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019091220190910
2796241560 0 056749 840 744simd-2icc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019091220190910
2796241560 0 056749 840 744simd-2icc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019091220190910
2796241560 0 056749 840 744simd-2icc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019091220190910
2796241656 0 057245 840 744simd-2icc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019091220190910
2800641656 0 057245 840 744simd-2icc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019091220190910
2802842240 0 056237 840 744simd-2icc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019091220190910
2802812896 0 028133 840 744bernstein/small-simd-2icc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019091220190910
2805013408 0 029029 840 744bernstein/small-simd-2icc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019091220190910
2805013408 0 029029 840 744bernstein/small-simd-2icc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019091220190910
2805013408 0 029029 840 744bernstein/small-simd-2icc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019091220190910
2818240864 0 056133 840 744simd-1icc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019091220190910
2818240888 0 056125 840 744simd-1icc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019091220190910
2820441432 0 056621 840 744simd-1icc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019091220190910
2820441432 0 056621 840 744simd-1icc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019091220190910
2822640864 0 056133 840 744simd-1icc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019091220190910
2827042056 0 055997 840 744simd-1icc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019091220190910
2833612752 0 028021 840 744bernstein/small-simd-2icc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019091220190910
2835813336 0 028557 840 744bernstein/small-simd-2icc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019091220190910
2840212896 0 028133 840 744bernstein/small-simd-2icc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019091220190910
2846840888 0 056125 840 744simd-1icc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019091220190910
2846841432 0 057021 840 744simd-1icc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019091220190910
2846840864 0 056133 840 744simd-1icc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019091220190910
2846840864 0 056133 840 744simd-1icc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019091220190910
2857812896 0 028133 840 744bernstein/small-simd-2icc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019091220190910
2864412752 0 028021 840 744bernstein/small-simd-2icc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019091220190910
2866613336 0 028557 840 744bernstein/small-simd-2icc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019091220190910
2873240888 0 056125 840 744simd-1icc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019091220190910
2877641432 0 057021 840 744simd-1icc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019091220190910
2877641432 0 056621 840 744simd-1icc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019091220190910
2879841432 0 056621 840 744simd-1icc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019091220190910
2890812752 0 028021 840 744bernstein/small-simd-2icc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019091220190910
2890842032 0 056029 840 744simd-1icc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019091220190910
2897412896 0 028133 840 744bernstein/small-simd-2icc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019091220190910
2897413336 0 028557 840 744bernstein/small-simd-2icc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019091220190910
2910641432 0 057021 840 744simd-1icc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019091220190910
2919413808 0 027805 840 744bernstein/small-simd-2icc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019091220190910
2919412752 0 028021 840 744bernstein/small-simd-2icc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019091220190910
2923813336 0 028557 840 744bernstein/small-simd-2icc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019091220190910
3667439418 0 051017 800 776simd-1gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
3669639390 0 048380 776 776simd-2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
3680639474 0 049484 792 776simd-2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
3680611754 0 023353 800 776bernstein/small-simd-2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
3685011603 0 021460 792 776bernstein/small-simd-2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
3707039442 0 049292 792 776simd-2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
3722411518 0 020516 776 776bernstein/small-simd-2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
3733439314 0 049324 792 776simd-1gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
3735611578 0 021588 792 776bernstein/small-simd-2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
3781839238 0 049100 792 776simd-1gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
3784039578 0 051177 800 776simd-2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
3885239230 0 048220 776 776simd-1gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910

Test failure

Implementation: crypto_hash/hamsi/bernstein/small-simd-2
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 bernstein/small-simd-2 simd-1 simd-2
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer bernstein/small-simd-2 simd-1 simd-2
icc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer bernstein/small-simd-2 simd-1 simd-2
icc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer bernstein/small-simd-2 simd-1 simd-2
icc -march=skylake-avx512 -mtune=skylake-avx512 -O2 -fomit-frame-pointer bernstein/small-simd-2 simd-1 simd-2
icc -march=skylake-avx512 -mtune=skylake-avx512 -O3 -fomit-frame-pointer bernstein/small-simd-2 simd-1 simd-2

Compiler output

Implementation: crypto_hash/hamsi/bernstein/small-simd-2
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hamsi.c: In file included from hamsi.c:1:
hamsi.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:
hamsi.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:
hamsi.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]
hamsi.c: extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
hamsi.c: ^
hamsi.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]
hamsi.c: extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
hamsi.c: ^
hamsi.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]
hamsi.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
hamsi.c: ^
hamsi.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]
hamsi.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
hamsi.c: ^
hamsi.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]
hamsi.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
hamsi.c: ^
hamsi.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]
hamsi.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
hamsi.c: ^
hamsi.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]
hamsi.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
hamsi.c: ^
hamsi.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]
hamsi.c: ...

Number of similar (compiler,implementation) pairs: 12, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE bernstein/small-simd-2 simd-1 simd-2
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE bernstein/small-simd-2 simd-1 simd-2
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE bernstein/small-simd-2 simd-1 simd-2
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE bernstein/small-simd-2 simd-1 simd-2

Compiler output

Implementation: crypto_hash/hamsi/sphlib
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hamsi.c: hamsi.c:111:10: fatal error: 'hamsi_helper.c' file not found
hamsi.c: #include "hamsi_helper.c"
hamsi.c: ^~~~~~~~~~~~~~~~
hamsi.c: 1 error generated.

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

Compiler output

Implementation: crypto_hash/hamsi/sphlib
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hamsi.c: hamsi.c:111:10: fatal error: hamsi_helper.c: No such file or directory
hamsi.c: 111 | #include "hamsi_helper.c"
hamsi.c: | ^~~~~~~~~~~~~~~~
hamsi.c: compilation terminated.

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

Compiler output

Implementation: crypto_hash/hamsi/sphlib
Compiler: icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer
hamsi.c: hamsi.c(111): catastrophic error: cannot open source file "hamsi_helper.c"
hamsi.c: #include "hamsi_helper.c"
hamsi.c: ^
hamsi.c:
hamsi.c: compilation aborted for hamsi.c (code 4)

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