Implementation notes: amd64, titan0, crypto_hash/blake256

Computer: titan0
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_hash
Primitive: blake256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
122235763 0 017002 852 960sse41-2clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
122326207 0 016800 860 896avxsclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
122356695 0 021288 860 928avxsclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
122405827 0 020064 860 928sse41-2clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
122466223 0 020520 860 928avxsclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
122466299 0 020816 860 928sse41-2clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
122486172 0 017506 852 960avxsclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
122625811 0 016328 860 896sse41-2clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
122826419 0 017725 804 960avxsgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
122916335 0 017308 796 960avxsgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
123046579 0 019949 804 960avxsgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
123556173 0 016168 780 928avxsgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
125966655 0 021176 860 928sse2clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
126196215 0 020456 860 928sse2clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
126556142 0 017402 852 960sse2clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
137216529 0 017080 860 896sse2clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
141677763 0 022304 860 928bswapclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
141757299 0 021560 860 928bswapclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
142667263 0 018538 852 960bswapclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
148846743 0 018453 804 960ssse3gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
149086741 0 018068 796 960ssse3gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
151126446 0 016744 780 928ssse3gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
151167808 0 021597 804 960ssse3gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
153177670 0 020584 860 896sse2clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
153688132 0 021048 860 896sse2-2clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
156297826 0 022088 860 928regsclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
156528266 0 022808 860 928regsclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
158127768 0 019034 852 960regsclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
158927676 0 018216 860 896sse2-2clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
161752743 0 017264 860 928refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
165562447 0 016688 860 928refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1683510328 0 023240 860 896sandyclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1683926261 0 038053 804 960sphlibgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1695511144 0 022468 796 960bswapgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1708911479 0 023189 804 960regsgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1709911479 0 023189 804 960bswapgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1725611138 0 021448 780 928regsgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1729110128 0 020664 860 896sandyclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1733611138 0 021448 780 928bswapgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1736310892 0 021192 780 928sandygcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1739625642 0 037109 804 960sphlibgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
174059918 0 024160 860 928sandyclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1741925074 0 038104 860 896sphlibclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1742110382 0 024904 860 928sandyclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1747327715 0 041565 804 960sphlibgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1752310056 0 022968 860 896bswapclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1758110751 0 021288 860 896regsclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1761910072 0 022984 860 896regsclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
177257102 0 018436 796 960sse2gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1775710703 0 021240 860 896bswapclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1776826761 0 041416 860 928sphlibclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1778226745 0 041120 860 928sphlibclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1779527113 0 037768 860 896sphlibclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1779611799 0 023124 796 960regsgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
178146830 0 017128 780 928sse2gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
178167159 0 018869 804 960sse2gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1784524913 0 035304 780 928sphlibgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
178968055 0 019765 804 960sse2-2gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1795611367 0 023077 804 960sandygcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
179987746 0 018048 780 928sse2-2gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
180188104 0 021877 804 960sse2gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1802710959 0 022292 796 960sandygcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
182268231 0 019556 796 960sse2-2gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1836113202 0 026981 804 960bswapgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1836410184 0 021450 852 960sandyclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1838013832 0 027605 804 960regsgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1905513170 0 026949 804 960sandygcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
191652407 0 013674 852 960refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1920626977 0 038362 852 960sphlibclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
203027658 0 019066 852 960sphlib-smallclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
204227913 0 022304 860 928sphlib-smallclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
207657945 0 022616 860 928sphlib-smallclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
242037683 0 018072 780 928sphlib-smallgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
248828245 0 019757 804 960sphlib-smallgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
255342714 0 013016 780 928refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
264653078 0 014404 796 960refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2886611171 0 025021 804 960sphlib-smallgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2891510677 0 022485 804 960sphlib-smallgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
292688473 0 019144 860 896sphlib-smallclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
297275224 0 018997 804 960refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
303933323 0 016232 860 896refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
310072647 0 013192 860 896refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
316473767 0 015477 804 960refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
318598722 0 021768 860 896sphlib-smallclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
4069647265 0 021512 860 928sse2-2clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
4075017705 0 022232 860 928sse2-2clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
4077427192 0 018458 852 960sse2-2clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
4079169096 0 022869 804 960sse2-2gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625

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 (Ubuntu_Clang_14.0.0)
avxsclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
avxsclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
avxsclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

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 (Ubuntu_Clang_14.0.0)

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 (11.4.0)
avxsgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
avxsgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
avxsgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

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 (Ubuntu_Clang_14.0.0)
sse2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

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 (11.4.0)
sse2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

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 (Ubuntu_Clang_14.0.0)
sse2-2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2-2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2-2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2-2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

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 (11.4.0)
sse2-2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse2-2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse2-2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

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 (Ubuntu_Clang_14.0.0)
sse41clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse41clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse41clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse41clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

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 (11.4.0)
sse41gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse41gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse41gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

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-14/lib/clang/14.0.0/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: 6 warnings generated.

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

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-14/lib/clang/14.0.0/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: 1, namely:
ImplementationCompiler
sse41-2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

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-14/lib/clang/14.0.0/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 (Ubuntu_Clang_14.0.0)

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 (11.4.0)
sse41-2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse41-2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse41-2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

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 (Ubuntu_Clang_14.0.0)
ssse3clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
ssse3clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
ssse3clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
ssse3clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

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 (11.4.0)
ssse3gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
ssse3gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
ssse3gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

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: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: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: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: 1, namely:
ImplementationCompiler
xopclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

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: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: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: 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 (Ubuntu_Clang_14.0.0)

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: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: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: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: 1, namely:
ImplementationCompiler
xopclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

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: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: 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: 1, namely:
ImplementationCompiler
xopclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

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: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: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 -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

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 (11.4.0)
xopgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
xopgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
xopgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Passed TIMECOP


TIMECOP iterations: 10

Number of similar (implementation,compiler) pairs: 88, namely:
ImplementationCompiler
avxsclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
avxsclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
avxsclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
avxsclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
avxsgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
avxsgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
avxsgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
avxsgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
bswapclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
bswapclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
bswapclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
bswapclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
bswapclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
bswapgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
bswapgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
bswapgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
bswapgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
regsclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
regsclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
regsclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
regsclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
regsclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
regsgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
regsgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
regsgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
regsgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sandyclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sandyclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sandyclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sandyclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sandyclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sandygcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sandygcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sandygcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sandygcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sphlibclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sphlibclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sphlibclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sphlibclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sphlibclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sphlibgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sphlibgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sphlibgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sphlibgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sphlib-smallclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sphlib-smallclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sphlib-smallclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sphlib-smallclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sphlib-smallclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sphlib-smallgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sphlib-smallgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sphlib-smallgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sphlib-smallgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse2-2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2-2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2-2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2-2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2-2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2-2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse2-2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse2-2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse2-2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse41-2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse41-2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse41-2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse41-2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
ssse3gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
ssse3gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
ssse3gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
ssse3gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)