Implementation notes: amd64, genji262, crypto_hash/keccakc512treed2

Computer: genji262
Architecture: amd64
CPU ID: AuthenticAMD-00800f12-178bfbff
SUPERCOP version: 20190910
Operation: crypto_hash
Primitive: keccakc512treed2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1155031064 0 046317 840 744sseu4icc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019091220190910
1161627759 0 037636 792 776sseu4gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
1166031064 0 046317 840 744sseu4icc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019091220190910
11682136402 0 0146276 792 776sseu24gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
1168231048 0 046685 840 744sseu4icc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019091220190910
11792136571 0 0146596 792 776sseu24gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
1179231048 0 046685 840 744sseu4icc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019091220190910
1179231064 0 046317 840 744sseu4icc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019091220190910
1179231048 0 046685 840 744sseu4icc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019091220190910
1179231064 0 046317 840 744sseu4icc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019091220190910
1179231048 0 046685 840 744sseu4icc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019091220190910
1194627963 0 037988 792 776sseu4gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
1194628299 0 039897 800 776sseu4gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
11990136907 0 0148505 800 776sseu24gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
12122136264 0 0145268 776 776sseu24gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
1221027259 0 036260 776 776sseu4gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
12342151736 0 0167373 840 744sseu24icc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019091220190910
12452151752 0 0167005 840 744sseu24icc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019091220190910
12452151736 0 0167373 840 744sseu24icc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019091220190910
12452151752 0 0167005 840 744sseu24icc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019091220190910
12474151752 0 0167005 840 744sseu24icc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019091220190910
1267233528 0 048813 840 744sseu4icc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019091220190910
12694151736 0 0167373 840 744sseu24icc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019091220190910
12694151736 0 0167373 840 744sseu24icc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019091220190910
12738151752 0 0167005 840 744sseu24icc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019091220190910
1280433528 0 048813 840 744sseu4icc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019091220190910
1287033512 0 048749 840 744sseu4icc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019091220190910
1291433528 0 048813 840 744sseu4icc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019091220190910
1293633528 0 048813 840 744sseu4icc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019091220190910
1300233512 0 048749 840 744sseu4icc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019091220190910
1304633512 0 048749 840 744sseu4icc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019091220190910
1311233512 0 048749 840 744sseu4icc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019091220190910
1337639448 0 053405 840 744sseu4icc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019091220190910
1386042376 0 056389 840 744sseu4icc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019091220190910
14014164680 0 0179917 840 744sseu24icc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019091220190910
14102164696 0 0179981 840 744sseu24icc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019091220190910
14102164696 0 0179981 840 744sseu24icc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019091220190910
14212164680 0 0179917 840 744sseu24icc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019091220190910
14212164680 0 0179917 840 744sseu24icc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019091220190910
14234164696 0 0179981 840 744sseu24icc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019091220190910
15092164696 0 0179981 840 744sseu24icc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019091220190910
15752201640 0 0215597 840 744sseu24icc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019091220190910
17028214072 0 0228085 840 744sseu24icc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019091220190910
21252164680 0 0179917 840 744sseu24icc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019091220190910

Test failure

Implementation: crypto_hash/keccakc512treed2/sseu24
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 sseu24 sseu4
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer sseu24 sseu4
icc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer sseu24 sseu4
icc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer sseu24 sseu4
icc -march=skylake-avx512 -mtune=skylake-avx512 -O2 -fomit-frame-pointer sseu24 sseu4
icc -march=skylake-avx512 -mtune=skylake-avx512 -O3 -fomit-frame-pointer sseu24 sseu4

Compiler output

Implementation: crypto_hash/keccakc512treed2/sseu24
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
DoublePermutation.c: In file included from DoublePermutation.c:17:
DoublePermutation.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/x86intrin.h:27:
DoublePermutation.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/ia32intrin.h:30:51: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
DoublePermutation.c: __attribute__((__gnu_inline__, __always_inline__, __artificial__))
DoublePermutation.c: ^
DoublePermutation.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/ia32intrin.h:38:51: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
DoublePermutation.c: __attribute__((__gnu_inline__, __always_inline__, __artificial__))
DoublePermutation.c: ^
DoublePermutation.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/ia32intrin.h:41:10: error: use of unknown builtin '__builtin_ia32_bsrsi' [-Wimplicit-function-declaration]
DoublePermutation.c: return __builtin_ia32_bsrsi (__X);
DoublePermutation.c: ^
DoublePermutation.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/ia32intrin.h:46:51: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
DoublePermutation.c: __attribute__((__gnu_inline__, __always_inline__, __artificial__))
DoublePermutation.c: ^
DoublePermutation.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/ia32intrin.h:62:51: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
DoublePermutation.c: __attribute__((__gnu_inline__, __always_inline__, __artificial__))
DoublePermutation.c: ^
DoublePermutation.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/ia32intrin.h:69:51: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
DoublePermutation.c: __attribute__((__gnu_inline__, __always_inline__, __artificial__))
DoublePermutation.c: ^
DoublePermutation.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/ia32intrin.h:76:51: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
DoublePermutation.c: __attribute__((__gnu_inline__, __always_inline__, __artificial__))
DoublePermutation.c: ^
DoublePermutation.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/ia32intrin.h:91:51: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
DoublePermutation.c: __attribute__((__gnu_inline__, __always_inline__, __artificial__))
DoublePermutation.c: ...

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

Compiler output

Implementation: crypto_hash/keccakc512treed2/xopu24
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
DoublePermutation.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/x86intrin.h:38,
DoublePermutation.c: from DoublePermutation.c:17:
DoublePermutation.c: DoublePermutation.c: In function 'KeccakDoublePermutationOnWords':
DoublePermutation.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/xopintrin.h:266:1: error: inlining failed in call to always_inline '_mm_roti_epi64': target specific option mismatch
DoublePermutation.c: 266 | _mm_roti_epi64(__m128i __A, const int __B)
DoublePermutation.c: | ^~~~~~~~~~~~~~
DoublePermutation.c: DoublePermutation.c:33:37: note: called from here
DoublePermutation.c: 33 | #define ROL64in128(a, o) _mm_roti_epi64(a, o)
DoublePermutation.c: | ^~~~~~~~~~~~~~~~~~~~
DoublePermutation.c: DoublePermutation.c:276:11: note: in expansion of macro 'ROL64in128'
DoublePermutation.c: 276 | Bsu = ROL64in128(A##se, 2); \
DoublePermutation.c: | ^~~~~~~~~~
DoublePermutation.c: KeccakF-1600-unrolling.macros:40:5: note: in expansion of macro 'thetaRhoPiChiIota'
DoublePermutation.c: 40 | thetaRhoPiChiIota(23, E, A) \
DoublePermutation.c: | ^~~~~~~~~~~~~~~~~
DoublePermutation.c: DoublePermutation.c:507:5: note: in expansion of macro 'rounds'
DoublePermutation.c: 507 | rounds
DoublePermutation.c: | ^~~~~~
DoublePermutation.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/x86intrin.h:38,
DoublePermutation.c: from DoublePermutation.c:17:
DoublePermutation.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/xopintrin.h:266:1: error: inlining failed in call to always_inline '_mm_roti_epi64': target specific option mismatch
DoublePermutation.c: 266 | _mm_roti_epi64(__m128i __A, const int __B)
DoublePermutation.c: | ^~~~~~~~~~~~~~
DoublePermutation.c: DoublePermutation.c:33:37: note: called from here
DoublePermutation.c: 33 | #define ROL64in128(a, o) _mm_roti_epi64(a, o)
DoublePermutation.c: ...

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

Compiler output

Implementation: crypto_hash/keccakc512treed2/xopu24
Compiler: icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer
DoublePermutation.c: DoublePermutation.c(507): warning #266: function "_mm_roti_epi64" declared implicitly
DoublePermutation.c: rounds
DoublePermutation.c: ^
DoublePermutation.c:
DoublePermutation.c: DoublePermutation.c(507): error: argument of type "int" is incompatible with parameter of type "union __m128i"
DoublePermutation.c: rounds
DoublePermutation.c: ^
DoublePermutation.c:
DoublePermutation.c: DoublePermutation.c(507): error: argument of type "int" is incompatible with parameter of type "union __m128i"
DoublePermutation.c: rounds
DoublePermutation.c: ^
DoublePermutation.c:
DoublePermutation.c: DoublePermutation.c(507): error: argument of type "int" is incompatible with parameter of type "union __m128i"
DoublePermutation.c: rounds
DoublePermutation.c: ^
DoublePermutation.c:
DoublePermutation.c: DoublePermutation.c(507): error: argument of type "int" is incompatible with parameter of type "union __m128i"
DoublePermutation.c: rounds
DoublePermutation.c: ^
DoublePermutation.c:
DoublePermutation.c: DoublePermutation.c(507): error: argument of type "int" is incompatible with parameter of type "union __m128i"
DoublePermutation.c: rounds
DoublePermutation.c: ^
DoublePermutation.c:
DoublePermutation.c: DoublePermutation.c(507): error: a value of type "int" cannot be assigned to an entity of type "V128"
DoublePermutation.c: ...

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