Implementation notes: amd64, genji262, crypto_hash/keccakc256treed2

Computer: genji262
Architecture: amd64
CPU ID: AuthenticAMD-00800f12-178bfbff
SUPERCOP version: 20190910
Operation: crypto_hash
Primitive: keccakc256treed2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
983427695 0 037564 792 776sseu4gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
9988136338 0 0146204 792 776sseu24gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
1003231096 0 046349 840 744sseu4icc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019091220190910
1005428107 0 039705 800 776sseu4gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
1005431096 0 046349 840 744sseu4icc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019091220190910
10098136507 0 0146532 792 776sseu24gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
1009827899 0 037924 792 776sseu4gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
1009831112 0 046749 840 744sseu4icc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019091220190910
1009831112 0 046749 840 744sseu4icc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019091220190910
1012027208 0 036212 776 776sseu4gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
1012031096 0 046349 840 744sseu4icc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019091220190910
1018631112 0 046749 840 744sseu4icc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019091220190910
1020831112 0 046749 840 744sseu4icc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019091220190910
1023031096 0 046349 840 744sseu4icc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019091220190910
10252136715 0 0148313 800 776sseu24gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
10362136213 0 0145220 776 776sseu24gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
10626151784 0 0167037 840 744sseu24icc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019091220190910
10648151800 0 0167437 840 744sseu24icc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019091220190910
10692151784 0 0167037 840 744sseu24icc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019091220190910
10736151800 0 0167437 840 744sseu24icc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019091220190910
10736151784 0 0167037 840 744sseu24icc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019091220190910
10736151784 0 0167037 840 744sseu24icc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019091220190910
10736151800 0 0167437 840 744sseu24icc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019091220190910
10846151800 0 0167437 840 744sseu24icc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019091220190910
1093433576 0 048813 840 744sseu4icc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019091220190910
1093433576 0 048813 840 744sseu4icc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019091220190910
1106633576 0 048813 840 744sseu4icc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019091220190910
1115433560 0 048845 840 744sseu4icc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019091220190910
1115433576 0 048813 840 744sseu4icc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019091220190910
1117633560 0 048845 840 744sseu4icc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019091220190910
1126433560 0 048845 840 744sseu4icc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019091220190910
1126433560 0 048845 840 744sseu4icc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019091220190910
1150639480 0 053437 840 744sseu4icc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019091220190910
11858164744 0 0179981 840 744sseu24icc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019091220190910
11880164744 0 0179981 840 744sseu24icc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019091220190910
11968164744 0 0179981 840 744sseu24icc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019091220190910
12100164728 0 0180013 840 744sseu24icc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019091220190910
12100164728 0 0180013 840 744sseu24icc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019091220190910
12100164728 0 0180013 840 744sseu24icc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019091220190910
12210164744 0 0179981 840 744sseu24icc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019091220190910
12408164728 0 0180013 840 744sseu24icc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019091220190910
1271642408 0 056421 840 744sseu4icc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019091220190910
13706201672 0 0215629 840 744sseu24icc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019091220190910
14806214104 0 0228117 840 744sseu24icc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019091220190910

Test failure

Implementation: crypto_hash/keccakc256treed2/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/keccakc256treed2/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/keccakc256treed2/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/keccakc256treed2/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