Implementation notes: amd64, genji262, crypto_hash/bblake512

Computer: genji262
Architecture: amd64
CPU ID: AuthenticAMD-00800f12-178bfbff
SUPERCOP version: 20190910
Operation: crypto_hash
Primitive: bblake512

Compiler output

Implementation: crypto_hash/bblake512/xop
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hash.c: In file included from hash.c:5:
hash.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:
hash.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]
hash.c: __attribute__((__gnu_inline__, __always_inline__, __artificial__))
hash.c: ^
hash.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]
hash.c: __attribute__((__gnu_inline__, __always_inline__, __artificial__))
hash.c: ^
hash.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]
hash.c: return __builtin_ia32_bsrsi (__X);
hash.c: ^
hash.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]
hash.c: __attribute__((__gnu_inline__, __always_inline__, __artificial__))
hash.c: ^
hash.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]
hash.c: __attribute__((__gnu_inline__, __always_inline__, __artificial__))
hash.c: ^
hash.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]
hash.c: __attribute__((__gnu_inline__, __always_inline__, __artificial__))
hash.c: ^
hash.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]
hash.c: __attribute__((__gnu_inline__, __always_inline__, __artificial__))
hash.c: ^
hash.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]
hash.c: __attribute__((__gnu_inline__, __always_inline__, __artificial__))
hash.c: ...

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

Compiler output

Implementation: crypto_hash/bblake512/xop
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hash.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,
hash.c: from hash.c:5:
hash.c: hash.c: In function 'blake512_compress':
hash.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
hash.c: 266 | _mm_roti_epi64(__m128i __A, const int __B)
hash.c: | ^~~~~~~~~~~~~~
hash.c: In file included from hash.c:8:
hash.c: rounds.h:1978:11: note: called from here
hash.c: 1978 | row2h = _mm_roti_epi64(row2h, -11); \
hash.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~
hash.c: rounds.h:2136:3: note: in expansion of macro 'G2'
hash.c: 2136 | G2(row1l,row2l,row3l,row4l,row1h,row2h,row3h,row4h,b0,b1); \
hash.c: | ^~
hash.c: hash.c:132:3: note: in expansion of macro 'ROUND'
hash.c: 132 | ROUND(15);
hash.c: | ^~~~~
hash.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,
hash.c: from hash.c:5:
hash.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
hash.c: 266 | _mm_roti_epi64(__m128i __A, const int __B)
hash.c: | ^~~~~~~~~~~~~~
hash.c: In file included from hash.c:8:
hash.c: rounds.h:1977:11: note: called from here
hash.c: 1977 | row2l = _mm_roti_epi64(row2l, -11); \
hash.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~
hash.c: ...

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

Compiler output

Implementation: crypto_hash/bblake512/xop
Compiler: icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer
hash.c: hash.c(81): warning #266: function "_mm_perm_epi8" declared implicitly
hash.c: m0 = BSWAP64(m0);
hash.c: ^
hash.c:
hash.c: hash.c(81): error: a value of type "int" cannot be assigned to an entity of type "__m128i"
hash.c: m0 = BSWAP64(m0);
hash.c: ^
hash.c:
hash.c: hash.c(82): error: a value of type "int" cannot be assigned to an entity of type "__m128i"
hash.c: m1 = BSWAP64(m1);
hash.c: ^
hash.c:
hash.c: hash.c(83): error: a value of type "int" cannot be assigned to an entity of type "__m128i"
hash.c: m2 = BSWAP64(m2);
hash.c: ^
hash.c:
hash.c: hash.c(84): error: a value of type "int" cannot be assigned to an entity of type "__m128i"
hash.c: m3 = BSWAP64(m3);
hash.c: ^
hash.c:
hash.c: hash.c(85): error: a value of type "int" cannot be assigned to an entity of type "__m128i"
hash.c: m4 = BSWAP64(m4);
hash.c: ^
hash.c:
hash.c: hash.c(86): error: a value of type "int" cannot be assigned to an entity of type "__m128i"
hash.c: ...

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