Implementation notes: amd64, hydra4, crypto_hash/blake256

Computer: hydra4
Microarchitecture: amd64; K10 32nm (300f10)
Architecture: amd64
CPU ID: AuthenticAMD-00300f10-178bfbff
SUPERCOP version: 20240625
Operation: crypto_hash
Primitive: blake256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
203479886 0 019507 756 920regsgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
203839886 0 019507 756 920bswapgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
205577444 0 019480 812 888sse2clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
207148116 0 021000 812 888sse2clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
207348116 0 021000 812 888sse2clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
208177710 0 017814 804 888sse2-2clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
208279584 0 021600 812 888bswapclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2084310280 0 023160 812 888bswapclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2084910296 0 023160 812 888regsclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2085810296 0 023160 812 888regsclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2086010280 0 023160 812 888bswapclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
208729624 0 021640 812 888regsclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
208879680 0 020318 804 888bswapclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
209069888 0 020542 804 888regsclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
209267371 0 017494 804 888sse2clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
209709952 0 020535 772 952bswapgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2102910354 0 021680 780 952regsgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2103210354 0 021680 780 952bswapgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2111710792 0 023296 780 952bswapgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
211478455 0 021320 812 888sse2-2clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
211518455 0 021320 812 888sse2-2clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2117110794 0 023296 780 952regsgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
211997783 0 019800 812 888sse2-2clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2167924944 0 037576 780 952sphlibgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2168524718 0 036176 780 952sphlibgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2199224770 0 036904 812 888sphlibclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2200224834 0 037832 812 888sphlibclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2202524834 0 037832 812 888sphlibclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2203710650 0 021239 772 952regsgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
223748844 0 019502 804 888sse2-2clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2238110032 0 020134 804 888regsclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2238310008 0 020134 804 888bswapclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
224248387 0 019022 804 888sse2clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2276224927 0 035174 804 888sphlibclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2293523549 0 034320 780 952sphlibgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2324022758 0 032523 756 920sphlibgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
232599508 0 020095 772 952sse2-2gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
233598734 0 019327 772 952sse2gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2528225239 0 036070 804 888sphlibclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
259299370 0 020696 780 952sse2-2gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
259509810 0 022312 780 952sse2-2gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
297226900 0 016651 756 920sphlib-smallgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
301118730 0 020056 780 952sse2gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
301239170 0 021672 780 952sse2gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
306128032 0 018824 780 952sphlib-smallgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
350002449 0 012083 756 920refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
363968407 0 018646 804 888sphlib-smallclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
364308610 0 020760 812 888sphlib-smallclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
365358690 0 021688 812 888sphlib-smallclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
365378690 0 021688 812 888sphlib-smallclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
371312819 0 013423 772 952refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
379803582 0 016440 812 888refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
379933582 0 016440 812 888refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
390368338 0 017971 756 920sse2-2gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
392452782 0 014792 812 888refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
393978919 0 019766 804 888sphlib-smallclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
4147211278 0 022736 780 952sphlib-smallgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
4222211568 0 024200 780 952sphlib-smallgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
424783037 0 013678 804 888refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
4308310751 0 020371 756 920sandygcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
433769859 0 021888 812 888sandyclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
4337710555 0 023416 812 888sandyclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
4339110555 0 023416 812 888sandyclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
434639955 0 020606 804 888sandyclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
4447110284 0 020390 804 888sandyclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
4454311186 0 022512 780 952sandygcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
4461011624 0 024128 780 952sandygcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
452654314 0 016800 780 952refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
458362759 0 012870 804 888refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
468857618 0 017267 756 920sse2gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
4700810514 0 021111 772 952sandygcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
493393378 0 014704 780 952refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625

Compiler output


hash.c: hash.c:42:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c: static const u8 sigma[][16] =
hash.c:                 ^
hash.c: hash.c:65:18: warning: unused variable 'cst' [-Wunused-const-variable]
hash.c: static const u32 cst[16] =
hash.c:                  ^
hash.c: hash.c:155:61: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'blake256_final' that is compiled without support for 'ssse3'
hash.c:     __m128i w0 = _mm_load_si128((__m128i*)(&S->h[0])); w0 = _mm_shuffle_epi8(w0, u32to8);
hash.c:                                                             ^
hash.c: hash.c:156:61: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'blake256_final' that is compiled without support for 'ssse3'
hash.c:     __m128i w1 = _mm_load_si128((__m128i*)(&S->h[4])); w1 = _mm_shuffle_epi8(w1, u32to8);
hash.c:                                                             ^
hash.c: 2 warnings and 2 errors generated.

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
avxsclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
avxsclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
avxsclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
avxsclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
avxsclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


hash.c: hash.c:65:18: warning: 'cst' defined but not used [-Wunused-const-variable=]
hash.c:    65 | static const u32 cst[16] =
hash.c:       |                  ^~~
hash.c: hash.c:42:17: warning: 'sigma' defined but not used [-Wunused-const-variable=]
hash.c:    42 | static const u8 sigma[][16] =
hash.c:       |                 ^~~~~
hash.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:35,
hash.c:                  from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
hash.c:                  from hash.c:7:
hash.c: hash.c: In function 'blake256_final':
hash.c: /usr/lib/gcc/x86_64-linux-gnu/10/include/tmmintrin.h:136:1: error: inlining failed in call to 'always_inline' '_mm_shuffle_epi8': target specific option mismatch
hash.c:   136 | _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
hash.c:       | ^~~~~~~~~~~~~~~~
hash.c: hash.c:156:61: note: called from here
hash.c:   156 |     __m128i w1 = _mm_load_si128((__m128i*)(&S->h[4])); w1 = _mm_shuffle_epi8(w1, u32to8);
hash.c:       |                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
hash.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:35,
hash.c:                  from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
hash.c:                  from hash.c:7:
hash.c: /usr/lib/gcc/x86_64-linux-gnu/10/include/tmmintrin.h:136:1: error: inlining failed in call to 'always_inline' '_mm_shuffle_epi8': target specific option mismatch
hash.c:   136 | _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
hash.c:       | ^~~~~~~~~~~~~~~~
hash.c: hash.c:155:61: note: called from here
hash.c:   155 |     __m128i w0 = _mm_load_si128((__m128i*)(&S->h[0])); w0 = _mm_shuffle_epi8(w0, u32to8);
hash.c:       |                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
hash.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
avxsgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
avxsgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
avxsgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
avxsgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Compiler output


hash.c: hash.c:80:7: warning: unused variable 'r' [-Wunused-variable]
hash.c:   int r;
hash.c:       ^
hash.c: hash.c:81:7: warning: unused variable 't' [-Wunused-variable]
hash.c:   u64 t;
hash.c:       ^
hash.c: hash.c:37:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c: static const u8 sigma[][16] = {
hash.c:                 ^
hash.c: hash.c:59:18: warning: unused variable 'cst' [-Wunused-const-variable]
hash.c: static const u32 cst[16] = {
hash.c:                  ^
hash.c: 4 warnings generated.

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
sse2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


hash.c: hash.c: In function 'blake256_compress':
hash.c: hash.c:81:7: warning: unused variable 't' [-Wunused-variable]
hash.c:    81 |   u64 t;
hash.c:       |       ^
hash.c: hash.c:80:7: warning: unused variable 'r' [-Wunused-variable]
hash.c:    80 |   int r;
hash.c:       |       ^
hash.c: At top level:
hash.c: hash.c:59:18: warning: 'cst' defined but not used [-Wunused-const-variable=]
hash.c:    59 | static const u32 cst[16] = {
hash.c:       |                  ^~~
hash.c: hash.c:37:17: warning: 'sigma' defined but not used [-Wunused-const-variable=]
hash.c:    37 | static const u8 sigma[][16] = {
hash.c:       |                 ^~~~~

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
sse2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Compiler output


hash.c: hash.c:85:7: warning: unused variable 'r' [-Wunused-variable]
hash.c:   int r;
hash.c:       ^
hash.c: hash.c:86:7: warning: unused variable 't' [-Wunused-variable]
hash.c:   u64 t;
hash.c:       ^
hash.c: hash.c:37:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c: static const u8 sigma[][16] = {
hash.c:                 ^
hash.c: hash.c:59:18: warning: unused variable 'cst' [-Wunused-const-variable]
hash.c: static const u32 cst[16] = {
hash.c:                  ^
hash.c: 4 warnings generated.

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
sse2-2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2-2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2-2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2-2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2-2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


hash.c: hash.c: In function 'blake256_compress':
hash.c: hash.c:86:7: warning: unused variable 't' [-Wunused-variable]
hash.c:    86 |   u64 t;
hash.c:       |       ^
hash.c: hash.c:85:7: warning: unused variable 'r' [-Wunused-variable]
hash.c:    85 |   int r;
hash.c:       |       ^
hash.c: At top level:
hash.c: hash.c:59:18: warning: 'cst' defined but not used [-Wunused-const-variable=]
hash.c:    59 | static const u32 cst[16] = {
hash.c:       |                  ^~~
hash.c: hash.c:37:17: warning: 'sigma' defined but not used [-Wunused-const-variable=]
hash.c:    37 | static const u8 sigma[][16] = {
hash.c:       |                 ^~~~~

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
sse2-2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse2-2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse2-2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse2-2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Compiler output


hash.c: hash.c:73:7: warning: unused variable 'm' [-Wunused-variable]
hash.c:   u32 m[16];
hash.c:       ^
hash.c: hash.c:74:7: warning: unused variable 'r' [-Wunused-variable]
hash.c:   int r;
hash.c:       ^
hash.c: hash.c:75:7: warning: unused variable 't' [-Wunused-variable]
hash.c:   u64 t;
hash.c:       ^
hash.c: hash.c:77:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:   static const int sig[][16] = {
hash.c:                    ^
hash.c: hash.c:93:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:   static const u32 z[16] = {
hash.c:                    ^
hash.c: hash.c:102:49: warning: unused variable 'tmp7' [-Wunused-variable]
hash.c:   __m128i tmp0, tmp1, tmp2, tmp3,tmp4,tmp5,tmp6,tmp7;
hash.c:                                                 ^
hash.c: In file included from hash.c:121:
hash.c: ./rounds.sse41.h:17:55: warning: implicit conversion from 'long' to 'int' changes value from 2242054355 to -2052912941 [-Wconstant-conversion]
hash.c: buf2 = _mm_set_epi32(3964562569, 698298832, 57701188, 2242054355);
hash.c:        ~~~~~~~~~~~~~                                  ^~~~~~~~~~
hash.c: ./rounds.sse41.h:17:22: warning: implicit conversion from 'long' to 'int' changes value from 3964562569 to -330404727 [-Wconstant-conversion]
hash.c: buf2 = _mm_set_epi32(3964562569, 698298832, 57701188, 2242054355);
hash.c:        ~~~~~~~~~~~~~ ^~~~~~~~~~
hash.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
sse41clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse41clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse41clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse41clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse41clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


hash.c: hash.c: In function 'blake256_compress':
hash.c: hash.c:102:49: warning: unused variable 'tmp7' [-Wunused-variable]
hash.c:   102 |   __m128i tmp0, tmp1, tmp2, tmp3,tmp4,tmp5,tmp6,tmp7;
hash.c:       |                                                 ^~~~
hash.c: hash.c:93:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:    93 |   static const u32 z[16] = {
hash.c:       |                    ^
hash.c: hash.c:77:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:    77 |   static const int sig[][16] = {
hash.c:       |                    ^~~
hash.c: hash.c:75:7: warning: unused variable 't' [-Wunused-variable]
hash.c:    75 |   u64 t;
hash.c:       |       ^
hash.c: hash.c:74:7: warning: unused variable 'r' [-Wunused-variable]
hash.c:    74 |   int r;
hash.c:       |       ^
hash.c: hash.c:73:7: warning: unused variable 'm' [-Wunused-variable]
hash.c:    73 |   u32 m[16];
hash.c:       |       ^
hash.c: At top level:
hash.c: hash.c:77:20: warning: 'sig' defined but not used [-Wunused-const-variable=]
hash.c:    77 |   static const int sig[][16] = {
hash.c:       |                    ^~~
hash.c: hash.c:93:20: warning: 'z' defined but not used [-Wunused-const-variable=]
hash.c:    93 |   static const u32 z[16] = {
hash.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
sse41gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse41gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse41gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse41gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Compiler output


hash.c: In file included from hash.c:2:
hash.c: ./blake256.h:105:15: warning: '_mm_roti_epi32' macro redefined [-Wmacro-redefined]
hash.c:       #define _mm_roti_epi32(r, c) ((8==-c) ? _mm_shuffle_epi8(r,r8) : ( (16==-c) ? _mm_shuffle_epi8(r,r16) :  _mm_xor_si128(_mm_srli_epi32( (r), -(c) ),_mm_slli_epi32( (r), 32-(-c) )) ) )
hash.c:               ^
hash.c: /usr/lib/llvm-11/lib/clang/11.0.1/include/xopintrin.h:233:9: note: previous definition is here
hash.c: #define _mm_roti_epi32(A, N) \
hash.c:         ^
hash.c: hash.c:67:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:   static const int sig[][16] =
hash.c:                    ^
hash.c: hash.c:85:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:   static const u32 z[16] =
hash.c:                    ^
hash.c: In file included from hash.c:2:
hash.c: ./blake256.h:176:13: warning: unused function 'print_xmm' [-Wunused-function]
hash.c: static void print_xmm(const __m128i xmm)
hash.c:             ^
hash.c: hash.c:14:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c: static const u8 sigma[][16] =
hash.c:                 ^
hash.c: hash.c:37:18: warning: unused variable 'cst' [-Wunused-const-variable]
hash.c: static const u32 cst[16] =
hash.c:                  ^
hash.c: hash.c:93:22: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'blake256_compress' that is compiled without support for 'ssse3'
hash.c:   const __m128i m0 = _mm_shuffle_epi8(LOADU(datablock +  00), u8to32);
hash.c: ...

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
sse41-2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse41-2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse41-2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


hash.c: In file included from hash.c:2:
hash.c: ./blake256.h:105:15: warning: '_mm_roti_epi32' macro redefined [-Wmacro-redefined]
hash.c:       #define _mm_roti_epi32(r, c) ((8==-c) ? _mm_shuffle_epi8(r,r8) : ( (16==-c) ? _mm_shuffle_epi8(r,r16) :  _mm_xor_si128(_mm_srli_epi32( (r), -(c) ),_mm_slli_epi32( (r), 32-(-c) )) ) )
hash.c:               ^
hash.c: /usr/lib/llvm-11/lib/clang/11.0.1/include/xopintrin.h:233:9: note: previous definition is here
hash.c: #define _mm_roti_epi32(A, N) \
hash.c:         ^
hash.c: hash.c:85:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:   static const u32 z[16] =
hash.c:                    ^
hash.c: hash.c:67:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:   static const int sig[][16] =
hash.c:                    ^
hash.c: In file included from hash.c:2:
hash.c: ./blake256.h:176:13: warning: unused function 'print_xmm' [-Wunused-function]
hash.c: static void print_xmm(const __m128i xmm)
hash.c:             ^
hash.c: hash.c:14:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c: static const u8 sigma[][16] =
hash.c:                 ^
hash.c: hash.c:37:18: warning: unused variable 'cst' [-Wunused-const-variable]
hash.c: static const u32 cst[16] =
hash.c:                  ^
hash.c: hash.c:93:22: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'blake256_compress' that is compiled without support for 'ssse3'
hash.c:   const __m128i m0 = _mm_shuffle_epi8(LOADU(datablock +  00), u8to32);
hash.c: ...

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
sse41-2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse41-2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


hash.c: In file included from hash.c:2:
hash.c: blake256.h:130:1: warning: multi-line comment [-Wcomment]
hash.c:   130 | //#define G(r,row1,row2,row3,row4,buf1,buf2) \
hash.c:       | ^
hash.c: blake256.h:147:1: warning: multi-line comment [-Wcomment]
hash.c:   147 | //#define DIAGONALIZE(r,row1,row2,row3,row4) \
hash.c:       | ^
hash.c: blake256.h:155:1: warning: multi-line comment [-Wcomment]
hash.c:   155 | //#define UNDIAGONALIZE(r,row1,row2,row3,row4) \
hash.c:       | ^
hash.c: blake256.h:163:1: warning: multi-line comment [-Wcomment]
hash.c:   163 | //#define ROUND(r) \
hash.c:       | ^
hash.c: hash.c: In function 'blake256_compress':
hash.c: hash.c:85:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:    85 |   static const u32 z[16] =
hash.c:       |                    ^
hash.c: hash.c:67:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:    67 |   static const int sig[][16] =
hash.c:       |                    ^~~
hash.c: At top level:
hash.c: hash.c:67:20: warning: 'sig' defined but not used [-Wunused-const-variable=]
hash.c: hash.c:85:20: warning: 'z' defined but not used [-Wunused-const-variable=]
hash.c:    85 |   static const u32 z[16] =
hash.c:       |                    ^
hash.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
sse41-2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse41-2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse41-2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse41-2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Compiler output


hash.c: hash.c:79:7: warning: unused variable 'r' [-Wunused-variable]
hash.c:   int r;
hash.c:       ^
hash.c: hash.c:80:7: warning: unused variable 't' [-Wunused-variable]
hash.c:   u64 t;
hash.c:       ^
hash.c: hash.c:82:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:   static const int sig[][16] = {
hash.c:                    ^
hash.c: hash.c:98:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:   static const u32 z[16] = {
hash.c:                    ^
hash.c: In file included from hash.c:122:
hash.c: ./rounds.ssse3.h:3:55: warning: implicit conversion from 'long' to 'int' changes value from 2242054355 to -2052912941 [-Wconstant-conversion]
hash.c: buf2 = _mm_set_epi32(3964562569, 698298832, 57701188, 2242054355);
hash.c:        ~~~~~~~~~~~~~                                  ^~~~~~~~~~
hash.c: ./rounds.ssse3.h:3:22: warning: implicit conversion from 'long' to 'int' changes value from 3964562569 to -330404727 [-Wconstant-conversion]
hash.c: buf2 = _mm_set_epi32(3964562569, 698298832, 57701188, 2242054355);
hash.c:        ~~~~~~~~~~~~~ ^~~~~~~~~~
hash.c: ./rounds.ssse3.h:6:33: warning: implicit conversion from 'long' to 'int' changes value from 2752067618 to -1542899678 [-Wconstant-conversion]
hash.c: buf1 = _mm_set_epi32(137296536, 2752067618, 320440878, 608135816);
hash.c:        ~~~~~~~~~~~~~            ^~~~~~~~~~
hash.c: ./rounds.ssse3.h:27:34: warning: implicit conversion from 'long' to 'int' changes value from 3380367581 to -914599715 [-Wconstant-conversion]
hash.c: buf2 = _mm_set_epi32(3041331479, 3380367581, 887688300, 953160567);
hash.c:        ~~~~~~~~~~~~~             ^~~~~~~~~~
hash.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
ssse3clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
ssse3clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
ssse3clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
ssse3clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
ssse3clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


hash.c: hash.c: In function 'blake256_compress':
hash.c: hash.c:98:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:    98 |   static const u32 z[16] = {
hash.c:       |                    ^
hash.c: hash.c:82:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:    82 |   static const int sig[][16] = {
hash.c:       |                    ^~~
hash.c: hash.c:80:7: warning: unused variable 't' [-Wunused-variable]
hash.c:    80 |   u64 t;
hash.c:       |       ^
hash.c: hash.c:79:7: warning: unused variable 'r' [-Wunused-variable]
hash.c:    79 |   int r;
hash.c:       |       ^
hash.c: At top level:
hash.c: hash.c:82:20: warning: 'sig' defined but not used [-Wunused-const-variable=]
hash.c:    82 |   static const int sig[][16] = {
hash.c:       |                    ^~~
hash.c: hash.c:98:20: warning: 'z' defined but not used [-Wunused-const-variable=]
hash.c:    98 |   static const u32 z[16] = {
hash.c:       |                    ^
hash.c: hash.c:54:18: warning: 'cst' defined but not used [-Wunused-const-variable=]
hash.c:    54 | static const u32 cst[16] = {
hash.c:       |                  ^~~
hash.c: hash.c:32:17: warning: 'sigma' defined but not used [-Wunused-const-variable=]
hash.c:    32 | static const u8 sigma[][16] = {
hash.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
ssse3gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
ssse3gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
ssse3gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
ssse3gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Compiler output


hash.c: hash.c:59:17: warning: unused variable 'r8' [-Wunused-variable]
hash.c:   const __m128i r8 = _mm_set_epi8(12,15,14,13,8,11,10,9,4,7,6,5,0,3,2,1);
hash.c:                 ^
hash.c: hash.c:56:23: warning: unused variable 't3' [-Wunused-variable]
hash.c:   __m128i t0, t1, t2, t3;
hash.c:                       ^
hash.c: hash.c:56:19: warning: unused variable 't2' [-Wunused-variable]
hash.c:   __m128i t0, t1, t2, t3;
hash.c:                   ^
hash.c: hash.c:67:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:   static const int sig[][16] =
hash.c:                    ^
hash.c: hash.c:85:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:   static const u32 z[16] =
hash.c:                    ^
hash.c: hash.c:60:17: warning: unused variable 'r16' [-Wunused-variable]
hash.c:   const __m128i r16 = _mm_set_epi8(13,12,15,14,9,8,11,10,5,4,7,6,1,0,3,2);
hash.c:                 ^
hash.c: In file included from hash.c:2:
hash.c: ./blake256.h:176:13: warning: unused function 'print_xmm' [-Wunused-function]
hash.c: static void print_xmm(const __m128i xmm)
hash.c:             ^
hash.c: hash.c:14:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c: static const u8 sigma[][16] =
hash.c:                 ^
hash.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
xopclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


hash.c: hash.c:56:23: warning: unused variable 't3' [-Wunused-variable]
hash.c:   __m128i t0, t1, t2, t3;
hash.c:                       ^
hash.c: hash.c:56:19: warning: unused variable 't2' [-Wunused-variable]
hash.c:   __m128i t0, t1, t2, t3;
hash.c:                   ^
hash.c: hash.c:60:17: warning: unused variable 'r16' [-Wunused-variable]
hash.c:   const __m128i r16 = _mm_set_epi8(13,12,15,14,9,8,11,10,5,4,7,6,1,0,3,2);
hash.c:                 ^
hash.c: hash.c:85:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:   static const u32 z[16] =
hash.c:                    ^
hash.c: hash.c:67:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:   static const int sig[][16] =
hash.c:                    ^
hash.c: hash.c:59:17: warning: unused variable 'r8' [-Wunused-variable]
hash.c:   const __m128i r8 = _mm_set_epi8(12,15,14,13,8,11,10,9,4,7,6,5,0,3,2,1);
hash.c:                 ^
hash.c: In file included from hash.c:2:
hash.c: ./blake256.h:176:13: warning: unused function 'print_xmm' [-Wunused-function]
hash.c: static void print_xmm(const __m128i xmm)
hash.c:             ^
hash.c: hash.c:14:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c: static const u8 sigma[][16] =
hash.c:                 ^
hash.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
xopclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


hash.c: hash.c:56:19: warning: unused variable 't2' [-Wunused-variable]
hash.c:   __m128i t0, t1, t2, t3;
hash.c:                   ^
hash.c: hash.c:85:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:   static const u32 z[16] =
hash.c:                    ^
hash.c: hash.c:56:23: warning: unused variable 't3' [-Wunused-variable]
hash.c:   __m128i t0, t1, t2, t3;
hash.c:                       ^
hash.c: hash.c:59:17: warning: unused variable 'r8' [-Wunused-variable]
hash.c:   const __m128i r8 = _mm_set_epi8(12,15,14,13,8,11,10,9,4,7,6,5,0,3,2,1);
hash.c:                 ^
hash.c: hash.c:67:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:   static const int sig[][16] =
hash.c:                    ^
hash.c: hash.c:60:17: warning: unused variable 'r16' [-Wunused-variable]
hash.c:   const __m128i r16 = _mm_set_epi8(13,12,15,14,9,8,11,10,5,4,7,6,1,0,3,2);
hash.c:                 ^
hash.c: In file included from hash.c:2:
hash.c: ./blake256.h:176:13: warning: unused function 'print_xmm' [-Wunused-function]
hash.c: static void print_xmm(const __m128i xmm)
hash.c:             ^
hash.c: hash.c:14:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c: static const u8 sigma[][16] =
hash.c:                 ^
hash.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
xopclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


hash.c: hash.c:67:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:   static const int sig[][16] =
hash.c:                    ^
hash.c: hash.c:60:17: warning: unused variable 'r16' [-Wunused-variable]
hash.c:   const __m128i r16 = _mm_set_epi8(13,12,15,14,9,8,11,10,5,4,7,6,1,0,3,2);
hash.c:                 ^
hash.c: hash.c:56:19: warning: unused variable 't2' [-Wunused-variable]
hash.c:   __m128i t0, t1, t2, t3;
hash.c:                   ^
hash.c: hash.c:56:23: warning: unused variable 't3' [-Wunused-variable]
hash.c:   __m128i t0, t1, t2, t3;
hash.c:                       ^
hash.c: hash.c:85:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:   static const u32 z[16] =
hash.c:                    ^
hash.c: hash.c:59:17: warning: unused variable 'r8' [-Wunused-variable]
hash.c:   const __m128i r8 = _mm_set_epi8(12,15,14,13,8,11,10,9,4,7,6,5,0,3,2,1);
hash.c:                 ^
hash.c: In file included from hash.c:2:
hash.c: ./blake256.h:176:13: warning: unused function 'print_xmm' [-Wunused-function]
hash.c: static void print_xmm(const __m128i xmm)
hash.c:             ^
hash.c: hash.c:14:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c: static const u8 sigma[][16] =
hash.c:                 ^
hash.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
xopclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


hash.c: hash.c:59:17: warning: unused variable 'r8' [-Wunused-variable]
hash.c:   const __m128i r8 = _mm_set_epi8(12,15,14,13,8,11,10,9,4,7,6,5,0,3,2,1);
hash.c:                 ^
hash.c: hash.c:56:19: warning: unused variable 't2' [-Wunused-variable]
hash.c:   __m128i t0, t1, t2, t3;
hash.c:                   ^
hash.c: hash.c:56:23: warning: unused variable 't3' [-Wunused-variable]
hash.c:   __m128i t0, t1, t2, t3;
hash.c:                       ^
hash.c: hash.c:60:17: warning: unused variable 'r16' [-Wunused-variable]
hash.c:   const __m128i r16 = _mm_set_epi8(13,12,15,14,9,8,11,10,5,4,7,6,1,0,3,2);
hash.c:                 ^
hash.c: hash.c:67:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:   static const int sig[][16] =
hash.c:                    ^
hash.c: hash.c:85:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:   static const u32 z[16] =
hash.c:                    ^
hash.c: In file included from hash.c:2:
hash.c: ./blake256.h:176:13: warning: unused function 'print_xmm' [-Wunused-function]
hash.c: static void print_xmm(const __m128i xmm)
hash.c:             ^
hash.c: hash.c:14:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c: static const u8 sigma[][16] =
hash.c:                 ^
hash.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
xopclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


hash.c: In file included from hash.c:2:
hash.c: blake256.h:130:1: warning: multi-line comment [-Wcomment]
hash.c:   130 | //#define G(r,row1,row2,row3,row4,buf1,buf2) \
hash.c:       | ^
hash.c: blake256.h:147:1: warning: multi-line comment [-Wcomment]
hash.c:   147 | //#define DIAGONALIZE(r,row1,row2,row3,row4) \
hash.c:       | ^
hash.c: blake256.h:155:1: warning: multi-line comment [-Wcomment]
hash.c:   155 | //#define UNDIAGONALIZE(r,row1,row2,row3,row4) \
hash.c:       | ^
hash.c: blake256.h:163:1: warning: multi-line comment [-Wcomment]
hash.c:   163 | //#define ROUND(r) \
hash.c:       | ^
hash.c: hash.c: In function 'blake256_compress':
hash.c: hash.c:85:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:    85 |   static const u32 z[16] =
hash.c:       |                    ^
hash.c: hash.c:67:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:    67 |   static const int sig[][16] =
hash.c:       |                    ^~~
hash.c: hash.c:60:17: warning: unused variable 'r16' [-Wunused-variable]
hash.c:    60 |   const __m128i r16 = _mm_set_epi8(13,12,15,14,9,8,11,10,5,4,7,6,1,0,3,2);
hash.c:       |                 ^~~
hash.c: hash.c:59:17: warning: unused variable 'r8' [-Wunused-variable]
hash.c:    59 |   const __m128i r8 = _mm_set_epi8(12,15,14,13,8,11,10,9,4,7,6,5,0,3,2,1);
hash.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
xopgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
xopgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
xopgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
xopgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Passed TIMECOP


TIMECOP iterations: 10

Number of similar (implementation,compiler) pairs: 72, namely:
ImplementationCompiler
bswapclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
bswapclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
bswapclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
bswapclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
bswapclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
bswapgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
bswapgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
bswapgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
bswapgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
regsclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
regsclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
regsclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
regsclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
regsclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
regsgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
regsgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
regsgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
regsgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sandyclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sandyclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sandyclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sandyclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sandyclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sandygcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sandygcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sandygcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sandygcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sphlibclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sphlibclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sphlibclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sphlibclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sphlibclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sphlibgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sphlibgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sphlibgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sphlibgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sphlib-smallclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sphlib-smallclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sphlib-smallclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sphlib-smallclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sphlib-smallclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sphlib-smallgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sphlib-smallgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sphlib-smallgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sphlib-smallgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse2-2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2-2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2-2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2-2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2-2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2-2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse2-2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse2-2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse2-2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)