Implementation notes: amd64, hunsnivy, crypto_hash/blake256

Computer: hunsnivy
Microarchitecture: amd64; Ivy Bridge+AES (306a9)
Architecture: amd64
CPU ID: GenuineIntel-000306a9-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_hash
Primitive: blake256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
122426172 0 016278 804 888avxsclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
122506319 0 016958 804 888avxsclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
122566232 0 019016 812 888avxsclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
122626944 0 021336 812 888avxsclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
122756232 0 016815 772 952avxsgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
123026406 0 018320 780 952avxsgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
123106374 0 017264 780 952avxsgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
123726104 0 015699 756 920avxsgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
125416748 0 021136 812 888sse2clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
125586076 0 018792 812 888sse2clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
127156010 0 016078 804 888sse2clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
129316504 0 020880 812 888sse41-2clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
129455872 0 016422 804 888sse41-2clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
129465792 0 018496 812 888sse41-2clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
129555720 0 015774 804 888sse41-2clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
130406673 0 017238 804 888sse2clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
138175898 0 016423 772 952sse41-2gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
138386026 0 017880 780 952sse41-2gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
138466162 0 016703 772 952sse41gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
138866517 0 018392 780 952sse41gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
139445994 0 016856 780 952sse41-2gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
139786130 0 017008 780 952sse41gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
140135648 0 015187 756 920sse41-2gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
140645839 0 015403 756 920sse41gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
143347301 0 021680 812 888bswapclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
143676621 0 019328 812 888bswapclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
143976598 0 016670 804 888bswapclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
145506674 0 017552 780 952ssse3gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
145736660 0 017199 772 952ssse3gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
145877112 0 018992 780 952ssse3gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
148826409 0 015963 756 920ssse3gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
148967809 0 022208 812 888regsclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
149317137 0 019864 812 888regsclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
149827179 0 017246 804 888regsclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
154028116 0 020928 812 888sse2clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
155172344 0 015064 812 888refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
156098455 0 021264 812 888sse2-2clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
157623064 0 017456 812 888refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
160218142 0 021000 812 888sphlib-smallclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
160507923 0 018142 804 888sphlib-smallclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
160817948 0 018518 804 888sse2-2clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
162318190 0 022720 812 888sphlib-smallclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
169272237 0 012318 804 888refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
174637045 0 017583 772 952sse2gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
174757544 0 019408 780 952sse2gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
175957106 0 017984 780 952sse2gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
176008034 0 018912 780 952sse2-2gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
176096782 0 016347 756 920sse2gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
176178472 0 020336 780 952sse2-2gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
178657733 0 017299 756 920sse2-2gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
180308116 0 018655 772 952sse2-2gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1869810296 0 023104 812 888regsclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1874610280 0 023088 812 888bswapclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1875510776 0 022640 780 952regsgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1877410624 0 025008 812 888sandyclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1879710555 0 023360 812 888sandyclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
188089944 0 022656 812 888sandyclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1881610338 0 021216 780 952regsgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1883110338 0 021216 780 952bswapgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
188409955 0 020518 804 888sandyclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1885110336 0 020902 804 888regsclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1891610825 0 022688 780 952bswapgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1894610128 0 020694 804 888bswapclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
190379886 0 019451 756 920regsgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
190399886 0 019451 756 920bswapgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
193709946 0 020495 772 952bswapgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1944724126 0 035128 780 952sphlibgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1948124834 0 037760 812 888sphlibclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1949425614 0 040128 812 888sphlibclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1951725566 0 038408 812 888sphlibclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1972110751 0 020315 756 920sandygcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1972511641 0 023504 780 952sandygcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1975326464 0 038440 780 952sphlibgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1975611154 0 022032 780 952sandygcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1980610131 0 020206 804 888sandyclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2006810651 0 021199 772 952regsgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2024523125 0 033864 780 952sphlibgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2029725590 0 035790 804 888sphlibclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2034710951 0 021487 772 952sandygcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2056422790 0 032467 756 920sphlibgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2201226215 0 036974 804 888sphlibclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
264986932 0 016611 756 920sphlib-smallgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
281027806 0 018544 780 952sphlib-smallgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
290902453 0 012011 756 920refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
297822799 0 013335 772 952refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
301918690 0 021632 812 888sphlib-smallclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
330283582 0 016384 812 888refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
338058999 0 019774 804 888sphlib-smallclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
3440610430 0 021432 780 952sphlib-smallgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
345694200 0 016048 780 952refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
353693068 0 013638 804 888refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
3545711008 0 022984 780 952sphlib-smallgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
362483442 0 014320 780 952refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
4216107373 0 017454 804 888sse2-2clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
4230078111 0 022496 812 888sse2-2clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
4258317439 0 020152 812 888sse2-2clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625

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: 2 warnings generated.

Number of similar (implementation,compiler) pairs: 4, 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)

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: 1, namely:
ImplementationCompiler
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:       |                 ^~~~~

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: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: 6 warnings generated.

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
sse41-2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
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)
sse41-2clang -march=native -Os -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: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: 1, namely:
ImplementationCompiler
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: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: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: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: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 -march=native -O2 -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: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: 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: 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: 2, namely:
ImplementationCompiler
xopclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
xopclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


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: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: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: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: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:85:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:   static const u32 z[16] =
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: 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: 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: 96, 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)
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)
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)
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)
sse41-2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
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)
sse41-2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
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)
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)