Test results for amd64, h9ivy, crypto_hash/lsh512
[Page version: 20250923 18:30:57]
Measurements for amd64, h9ivy, crypto_hash
Test results for amd64, h9ivy, crypto_hash
Test results for crypto_hash/lsh512
Computer: h9ivy
Microarchitecture: amd64; Ivy Bridge+AES (306a9)
Architecture: amd64
CPU ID: GenuineIntel-000306a9-bfebfbff
SUPERCOP version: 20250415
Operation: crypto_hash
Primitive: lsh512
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
6653 | 23399 0 0 | 26597 820 904 | ssse3 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
6667 | 23399 0 0 | 22149 820 904 | ssse3 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
6703 | 23431 0 0 | 26133 820 904 | ssse3 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
6787 | 22807 0 0 | 21678 812 904 | ssse3 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
7438 | 23980 0 0 | 22691 772 968 | ssse3 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
7633 | 24721 0 0 | 23204 780 968 | ssse3 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
7642 | 24721 0 0 | 24532 780 968 | ssse3 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
7891 | 25511 0 0 | 27173 820 904 | sse2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
7929 | 25479 0 0 | 23189 820 904 | sse2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
7930 | 24863 0 0 | 22702 812 904 | sse2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
7937 | 25479 0 0 | 27637 820 904 | sse2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
8223 | 21711 0 0 | 20239 756 936 | ssse3 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
9047 | 31183 0 0 | 32365 820 904 | sse2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
9386 | 28068 0 0 | 24723 772 968 | sse2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
9417 | 28881 0 0 | 26612 780 968 | sse2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
9426 | 28881 0 0 | 25284 780 968 | sse2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
10578 | 25989 0 0 | 22383 756 936 | sse2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
10904 | 33383 0 0 | 33597 820 904 | ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
11375 | 34535 0 0 | 32341 820 904 | ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
11413 | 34535 0 0 | 31877 820 904 | ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
11568 | 34175 0 0 | 27526 812 904 | ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
12713 | 40167 0 0 | 30709 820 904 | ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
14275 | 36352 0 0 | 28875 772 968 | ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
14290 | 2544 336 0 | 1794375 147732 10248 | cryptopp | clang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
14606 | 34927 0 0 | 26847 756 936 | ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
15385 | 43641 0 0 | 33988 780 968 | ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
15435 | 41243 0 0 | 31476 780 968 | ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
16853 | 2325 336 0 | 1798578 147740 10248 | cryptopp | clang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
16853 | 2519 336 0 | 1794158 147692 10344 | cryptopp | g++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
17637 | 2519 336 0 | 1795502 147692 10344 | cryptopp | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
17643 | 2457 336 0 | 1793884 147692 10344 | cryptopp | g++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
17695 | 2365 336 0 | 1794130 147740 10248 | cryptopp | clang++ -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
17867 | 2325 336 0 | 1798066 147740 10248 | cryptopp | clang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
18066 | 2056 336 0 | 1792222 147700 10312 | cryptopp | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250826 | 20250415 |
Compiler output
lsh-impl.c: lsh-impl.c:182:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c: 182 | 0x0706050403020100, 0x0d0c0b0a09080f0e, 0x1312111017161514, 0x19181f1e1d1c1b1a,
lsh-impl.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c: | { }
lsh-impl.c: lsh-impl.c:183:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c: 183 | 0x0605040302010007, 0x0c0b0a09080f0e0d, 0x1211101716151413, 0x181f1e1d1c1b1a19
lsh-impl.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c: | { }
lsh-impl.c: lsh-impl.c:256:12: error: always_inline function '_mm256_add_epi64' requires target feature 'avx2', but would be inlined into function 'add_blk' that is compiled without support for 'avx2'
lsh-impl.c: 256 | cv_l[0] = ADD(cv_l[0], cv_r[0]);
lsh-impl.c: | ^
lsh-impl.c: lsh-impl.c:204:18: note: expanded from macro 'ADD'
lsh-impl.c: 204 | #define ADD(x,y) _mm256_add_epi64(x,y)
lsh-impl.c: | ^
lsh-impl.c: lsh-impl.c:257:12: error: always_inline function '_mm256_add_epi64' requires target feature 'avx2', but would be inlined into function 'add_blk' that is compiled without support for 'avx2'
lsh-impl.c: 257 | cv_l[1] = ADD(cv_l[1], cv_r[1]);
lsh-impl.c: | ^
lsh-impl.c: lsh-impl.c:204:18: note: expanded from macro 'ADD'
lsh-impl.c: 204 | #define ADD(x,y) _mm256_add_epi64(x,y)
lsh-impl.c: | ^
lsh-impl.c: lsh-impl.c:260:13: error: always_inline function '_mm256_slli_epi64' requires target feature 'avx2', but would be inlined into function 'rotate_blk_even_alpha' that is compiled without support for 'avx2'
lsh-impl.c: 260 | cv[0] = OR(SHIFT_L(cv[0], ROT_EVEN_ALPHA), SHIFT_R(cv[0], WORD_BIT_LEN - ROT_EVEN_ALPHA));
lsh-impl.c: | ^
lsh-impl.c: lsh-impl.c:205:22: note: expanded from macro 'SHIFT_L'
lsh-impl.c: 205 | #define SHIFT_L(x,r) _mm256_slli_epi64(x,r)
lsh-impl.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
avx2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
avx2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
avx2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
avx2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
Compiler output
lsh-impl.c: lsh-impl.c:182:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c: 182 | 0x0706050403020100, 0x0d0c0b0a09080f0e, 0x1312111017161514, 0x19181f1e1d1c1b1a,
lsh-impl.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c: | { }
lsh-impl.c: lsh-impl.c:183:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c: 183 | 0x0605040302010007, 0x0c0b0a09080f0e0d, 0x1211101716151413, 0x181f1e1d1c1b1a19
lsh-impl.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c: | { }
lsh-impl.c: lsh-impl.c:461:12: error: always_inline function '_mm256_set_epi32' requires target feature 'avx', but would be inlined into function 'lsh512_init' that is compiled without support for 'avx'
lsh-impl.c: 461 | cv_l[0] = _mm256_set_epi32(0, 0, 0, 0, 0, LSH_GET_HASHBIT(algtype), 0, LSH512_HASH_VAL_MAX_BYTE_LEN);
lsh-impl.c: | ^
lsh-impl.c: lsh-impl.c:461:12: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
lsh-impl.c: lsh-impl.c:462:12: error: always_inline function '_mm256_setzero_si256' requires target feature 'avx', but would be inlined into function 'lsh512_init' that is compiled without support for 'avx'
lsh-impl.c: 462 | cv_l[1] = _mm256_setzero_si256();
lsh-impl.c: | ^
lsh-impl.c: lsh-impl.c:462:12: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
lsh-impl.c: lsh-impl.c:463:12: error: always_inline function '_mm256_setzero_si256' requires target feature 'avx', but would be inlined into function 'lsh512_init' that is compiled without support for 'avx'
lsh-impl.c: 463 | cv_r[0] = _mm256_setzero_si256();
lsh-impl.c: | ^
lsh-impl.c: lsh-impl.c:463:12: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
lsh-impl.c: lsh-impl.c:464:12: error: always_inline function '_mm256_setzero_si256' requires target feature 'avx', but would be inlined into function 'lsh512_init' that is compiled without support for 'avx'
lsh-impl.c: 464 | cv_r[1] = _mm256_setzero_si256();
lsh-impl.c: | ^
lsh-impl.c: lsh-impl.c:464:12: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
lsh-impl.c: lsh-impl.c:465:22: error: always_inline function '_mm256_loadu_si256' requires target feature 'avx', but would be inlined into function 'lsh512_init' that is compiled without support for 'avx'
lsh-impl.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
avx2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
Compiler output
lsh-impl.c: lsh-impl.c:181:62: warning: missing braces around initializer [-Wmissing-braces]
lsh-impl.c: 181 | static const LSH_ALIGNED_(32) lsh_u64 g_BytePermInfo[2][4] = {
lsh-impl.c: | ^
lsh-impl.c: 182 | 0x0706050403020100, 0x0d0c0b0a09080f0e, 0x1312111017161514, 0x19181f1e1d1c1b1a,
lsh-impl.c: | { }
lsh-impl.c: 183 | 0x0605040302010007, 0x0c0b0a09080f0e0d, 0x1211101716151413, 0x181f1e1d1c1b1a19
lsh-impl.c: | {
lsh-impl.c: 184 | };
lsh-impl.c: | }
lsh-impl.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/14/include/immintrin.h:53,
lsh-impl.c: from lsh-impl.c:34:
lsh-impl.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/avx2intrin.h: In function 'msg_add_even':
lsh-impl.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/avx2intrin.h:913:1: error: inlining failed in call to 'always_inline' '_mm256_xor_si256': target specific option mismatch
lsh-impl.c: 913 | _mm256_xor_si256 (__m256i __A, __m256i __B)
lsh-impl.c: | ^~~~~~~~~~~~~~~~
lsh-impl.c: lsh-impl.c:199:18: note: called from here
lsh-impl.c: 199 | #define XOR(x,y) _mm256_xor_si256(x,y)
lsh-impl.c: | ^~~~~~~~~~~~~~~~~~~~~
lsh-impl.c: lsh-impl.c:247:19: note: in expansion of macro 'XOR'
lsh-impl.c: 247 | cv_r[1] = XOR(cv_r[1], i_state->submsg_e_r[1]);
lsh-impl.c: | ^~~
lsh-impl.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/avx2intrin.h:913:1: error: inlining failed in call to 'always_inline' '_mm256_xor_si256': target specific option mismatch
lsh-impl.c: 913 | _mm256_xor_si256 (__m256i __A, __m256i __B)
lsh-impl.c: | ^~~~~~~~~~~~~~~~
lsh-impl.c: lsh-impl.c:199:18: note: called from here
lsh-impl.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Compiler output
lsh-impl.c: lsh-impl.c:177:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c: 177 | 0x0706050403020100, 0x0d0c0b0a09080f0e,
lsh-impl.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c: | { }
lsh-impl.c: lsh-impl.c:178:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c: 178 | 0x0302010007060504, 0x09080f0e0d0c0b0a,
lsh-impl.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c: | { }
lsh-impl.c: lsh-impl.c:179:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c: 179 | 0x0605040302010007, 0x0c0b0a09080f0e0d,
lsh-impl.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c: | { }
lsh-impl.c: lsh-impl.c:180:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c: 180 | 0x0201000706050403, 0x080f0e0d0c0b0a09
lsh-impl.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c: | { }
lsh-impl.c: lsh-impl.c:182:39: warning: unused variable 'g_MsgWordPermInfo' [-Wunused-const-variable]
lsh-impl.c: 182 | static const LSH_ALIGNED_(32) lsh_u64 g_MsgWordPermInfo[4] = {
lsh-impl.c: | ^~~~~~~~~~~~~~~~~
lsh-impl.c: 5 warnings generated.
lsh.c: lsh.c:177:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh.c: 177 | 0x0706050403020100, 0x0d0c0b0a09080f0e,
lsh.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh.c: | { }
lsh.c: lsh.c:178:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh.c: 178 | 0x0302010007060504, 0x09080f0e0d0c0b0a,
lsh.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh.c: | { }
lsh.c: lsh.c:179:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh.c: 179 | 0x0605040302010007, 0x0c0b0a09080f0e0d,
lsh.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh.c: | { }
lsh.c: lsh.c:180:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh.c: 180 | 0x0201000706050403, 0x080f0e0d0c0b0a09
lsh.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh.c: | { }
lsh.c: lsh.c:182:39: warning: unused variable 'g_MsgWordPermInfo' [-Wunused-const-variable]
lsh.c: 182 | static const LSH_ALIGNED_(32) lsh_u64 g_MsgWordPermInfo[4] = {
lsh.c: | ^~~~~~~~~~~~~~~~~
lsh.c: 5 warnings generated.
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
ssse3 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
ssse3 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
ssse3 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
ssse3 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
Compiler output
lsh-impl.c: lsh-impl.c:177:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c: 177 | 0x0706050403020100, 0x0d0c0b0a09080f0e,
lsh-impl.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c: | { }
lsh-impl.c: lsh-impl.c:178:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c: 178 | 0x0302010007060504, 0x09080f0e0d0c0b0a,
lsh-impl.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c: | { }
lsh-impl.c: lsh-impl.c:179:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c: 179 | 0x0605040302010007, 0x0c0b0a09080f0e0d,
lsh-impl.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c: | { }
lsh-impl.c: lsh-impl.c:180:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c: 180 | 0x0201000706050403, 0x080f0e0d0c0b0a09
lsh-impl.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c: | { }
lsh-impl.c: lsh-impl.c:182:39: warning: unused variable 'g_MsgWordPermInfo' [-Wunused-const-variable]
lsh-impl.c: 182 | static const LSH_ALIGNED_(32) lsh_u64 g_MsgWordPermInfo[4] = {
lsh-impl.c: | ^~~~~~~~~~~~~~~~~
lsh-impl.c: lsh-impl.c:348:12: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'rotate_msg_gamma' that is compiled without support for 'ssse3'
lsh-impl.c: 348 | cv_r[0] = SHUFFLE8(cv_r[0], perm_step[0]);
lsh-impl.c: | ^
lsh-impl.c: lsh-impl.c:199:23: note: expanded from macro 'SHUFFLE8'
lsh-impl.c: 199 | #define SHUFFLE8(x,y) _mm_shuffle_epi8(x,y)
lsh-impl.c: | ^
lsh-impl.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
ssse3 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
Compiler output
lsh-impl.c: lsh-impl.c:176:62: warning: missing braces around initializer [-Wmissing-braces]
lsh-impl.c: 176 | static const LSH_ALIGNED_(32) lsh_u64 g_BytePermInfo[4][2] = {
lsh-impl.c: | ^
lsh-impl.c: 177 | 0x0706050403020100, 0x0d0c0b0a09080f0e,
lsh-impl.c: | { }
lsh-impl.c: 178 | 0x0302010007060504, 0x09080f0e0d0c0b0a,
lsh-impl.c: | { }
lsh-impl.c: 179 | 0x0605040302010007, 0x0c0b0a09080f0e0d,
lsh-impl.c: | { }
lsh-impl.c: 180 | 0x0201000706050403, 0x080f0e0d0c0b0a09
lsh-impl.c: | {
lsh-impl.c: 181 | };
lsh-impl.c: | }
lsh-impl.c: lsh-impl.c:182:39: warning: 'g_MsgWordPermInfo' defined but not used [-Wunused-const-variable=]
lsh-impl.c: 182 | static const LSH_ALIGNED_(32) lsh_u64 g_MsgWordPermInfo[4] = {
lsh-impl.c: | ^~~~~~~~~~~~~~~~~
lsh.c: lsh.c:176:62: warning: missing braces around initializer [-Wmissing-braces]
lsh.c: 176 | static const LSH_ALIGNED_(32) lsh_u64 g_BytePermInfo[4][2] = {
lsh.c: | ^
lsh.c: 177 | 0x0706050403020100, 0x0d0c0b0a09080f0e,
lsh.c: | { }
lsh.c: 178 | 0x0302010007060504, 0x09080f0e0d0c0b0a,
lsh.c: | { }
lsh.c: 179 | 0x0605040302010007, 0x0c0b0a09080f0e0d,
lsh.c: | { }
lsh.c: 180 | 0x0201000706050403, 0x080f0e0d0c0b0a09
lsh.c: | {
lsh.c: 181 | };
lsh.c: | }
lsh.c: lsh.c:182:39: warning: 'g_MsgWordPermInfo' defined but not used [-Wunused-const-variable=]
lsh.c: 182 | static const LSH_ALIGNED_(32) lsh_u64 g_MsgWordPermInfo[4] = {
lsh.c: | ^~~~~~~~~~~~~~~~~
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
ssse3 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ssse3 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ssse3 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ssse3 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Compiler output
lsh-impl.c: lsh-impl.c:174:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c: 174 | 0x0706050403020100, 0x0d0c0b0a09080f0e,
lsh-impl.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c: | { }
lsh-impl.c: lsh-impl.c:175:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c: 175 | 0x0302010007060504, 0x09080f0e0d0c0b0a,
lsh-impl.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c: | { }
lsh-impl.c: lsh-impl.c:176:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c: 176 | 0x0605040302010007, 0x0c0b0a09080f0e0d,
lsh-impl.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c: | { }
lsh-impl.c: lsh-impl.c:177:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c: 177 | 0x0201000706050403, 0x080f0e0d0c0b0a09
lsh-impl.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c: | { }
lsh-impl.c: lsh-impl.c:179:39: warning: unused variable 'g_MsgWordPermInfo' [-Wunused-const-variable]
lsh-impl.c: 179 | static const LSH_ALIGNED_(32) lsh_u64 g_MsgWordPermInfo[4] = {
lsh-impl.c: | ^~~~~~~~~~~~~~~~~
lsh-impl.c: lsh-impl.c:310:10: error: '__builtin_ia32_vprotqi' needs target feature xop
lsh-impl.c: 310 | cv[0] = _mm_roti_epi64(cv[0], ROT_EVEN_ALPHA);
lsh-impl.c: | ^
lsh-impl.c: /usr/lib/llvm-19/lib/clang/19/include/xopintrin.h:237:13: note: expanded from macro '_mm_roti_epi64'
lsh-impl.c: 237 | ((__m128i)__builtin_ia32_vprotqi((__v2di)(__m128i)(A), (N)))
lsh-impl.c: | ^
lsh-impl.c: ...
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
xop | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
xop | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
xop | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
xop | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
xop | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
Compiler output
lsh-impl.c: lsh-impl.c:173:62: warning: missing braces around initializer [-Wmissing-braces]
lsh-impl.c: 173 | static const LSH_ALIGNED_(32) lsh_u64 g_BytePermInfo[4][2] = {
lsh-impl.c: | ^
lsh-impl.c: 174 | 0x0706050403020100, 0x0d0c0b0a09080f0e,
lsh-impl.c: | { }
lsh-impl.c: 175 | 0x0302010007060504, 0x09080f0e0d0c0b0a,
lsh-impl.c: | { }
lsh-impl.c: 176 | 0x0605040302010007, 0x0c0b0a09080f0e0d,
lsh-impl.c: | { }
lsh-impl.c: 177 | 0x0201000706050403, 0x080f0e0d0c0b0a09
lsh-impl.c: | {
lsh-impl.c: 178 | };
lsh-impl.c: | }
lsh-impl.c: lsh-impl.c:179:39: warning: 'g_MsgWordPermInfo' defined but not used [-Wunused-const-variable=]
lsh-impl.c: 179 | static const LSH_ALIGNED_(32) lsh_u64 g_MsgWordPermInfo[4] = {
lsh-impl.c: | ^~~~~~~~~~~~~~~~~
lsh-impl.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/14/include/x86intrin.h:38,
lsh-impl.c: from lsh-impl.c:35:
lsh-impl.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/xopintrin.h: In function 'rotate_blk_even_alpha':
lsh-impl.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/xopintrin.h:272:1: error: inlining failed in call to 'always_inline' '_mm_roti_epi64': target specific option mismatch
lsh-impl.c: 272 | _mm_roti_epi64(__m128i __A, const int __B)
lsh-impl.c: | ^~~~~~~~~~~~~~
lsh-impl.c: lsh-impl.c:313:17: note: called from here
lsh-impl.c: 313 | cv[3] = _mm_roti_epi64(cv[3], ROT_EVEN_ALPHA);
lsh-impl.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
xop | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
xop | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
xop | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
xop | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Namespace violations
lsh-impl.o lsh512_digest T
lsh-impl.o lsh512_final T
lsh-impl.o lsh512_init T
lsh-impl.o lsh512_update T
lsh.o lsh512_digest T
lsh.o lsh512_final T
lsh.o lsh512_init T
lsh.o lsh512_update T
Number of similar (implementation,compiler) pairs: 26, namely:
Implementation | Compiler |
ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
sse2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
sse2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
sse2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
sse2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
sse2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
sse2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
sse2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
sse2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
sse2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ssse3 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
ssse3 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
ssse3 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
ssse3 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
ssse3 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ssse3 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ssse3 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ssse3 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Passed TIMECOP
TIMECOP iterations: 10
Number of similar (implementation,compiler) pairs: 34, namely:
Implementation | Compiler |
cryptopp | clang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
cryptopp | clang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
cryptopp | clang++ -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
cryptopp | clang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
cryptopp | g++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
cryptopp | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
cryptopp | g++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
cryptopp | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
sse2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
sse2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
sse2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
sse2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
sse2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
sse2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
sse2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
sse2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
sse2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ssse3 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
ssse3 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
ssse3 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
ssse3 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
ssse3 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ssse3 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ssse3 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ssse3 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |