Test results for amd64, h2atom, crypto_hash/lsh512
[Page version: 20260919 18:54:16]
Measurements for amd64, h2atom, crypto_hash
Test results for amd64, h2atom, crypto_hash
Test results for crypto_hash/lsh512
Computer: h2atom
Microarchitecture: amd64; Bonnell (106ca)
Architecture: amd64
CPU ID: GenuineIntel-000106ca-bfe9fbff
SUPERCOP version: 20260330
Operation: crypto_hash
Primitive: lsh512
| Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
| 24391 | 33797 0 0 | 36958 1232 1480 | ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 25204 | 34123 0 0 | 40188 1240 1480 | ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 28918 | 33319 0 0 | 39820 1240 1480 | ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 30789 | 40203 0 0 | 40756 1240 1480 | ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 32722 | 41523 0 0 | 43075 1224 1576 | ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 33041 | 41651 0 0 | 44251 1224 1576 | ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 35173 | 34997 0 0 | 37785 1200 1544 | ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 35261 | 38186 0 0 | 40658 1216 1576 | ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 39359 | 29157 0 0 | 34873 1200 1544 | sse2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 40428 | 23531 0 0 | 32057 1200 1544 | ssse3 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 41134 | 34123 0 0 | 38996 1240 1480 | ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 41208 | 26249 0 0 | 34868 1240 1480 | ssse3 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 41222 | 26281 0 0 | 36076 1240 1480 | ssse3 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 41387 | 26249 0 0 | 33604 1240 1480 | ssse3 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 41526 | 31111 0 0 | 38588 1240 1480 | sse2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 41643 | 25907 0 0 | 32822 1232 1480 | ssse3 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 41783 | 36135 0 0 | 40387 1224 1576 | sse2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 41807 | 36135 0 0 | 41515 1224 1576 | sse2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 41926 | 30727 0 0 | 37683 1224 1576 | ssse3 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 41947 | 30647 0 0 | 38763 1224 1576 | ssse3 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 43823 | 35506 0 0 | 39314 1216 1576 | sse2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 43870 | 2810 336 0 | 1777933 145400 10952 | cryptopp | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 43896 | 2415 336 0 | 1772585 145376 10824 | cryptopp | clang++ -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 43897 | 2359 336 0 | 1773801 145376 10824 | cryptopp | clang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 43899 | 2373 336 0 | 1775225 145376 10824 | cryptopp | clang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 43931 | 2462 336 0 | 1773365 145408 10920 | cryptopp | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 43946 | 2958 336 0 | 1775415 145400 10952 | cryptopp | g++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 43956 | 2915 336 0 | 1776285 145400 10952 | cryptopp | g++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 44141 | 2530 336 0 | 1772886 145368 10824 | cryptopp | clang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 44326 | 29602 0 0 | 36370 1216 1576 | ssse3 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 48183 | 29353 0 0 | 35156 1240 1480 | sse2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 49444 | 29353 0 0 | 36420 1240 1480 | sse2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 49456 | 29385 0 0 | 37628 1240 1480 | sse2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
| 50036 | 29073 0 0 | 34390 1232 1480 | sse2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260515 | 20260330 |
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: 5, namely:
| Implementation | Compiler |
| avx2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| avx2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| avx2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| avx2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| avx2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
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: lsh-impl.c: In function 'lsh512_init':
lsh-impl.c: lsh-impl.c:461:17: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
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: In function 'msg_exp_odd':
lsh-impl.c: lsh-impl.c:234:20: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
lsh-impl.c: 234 | static INLINE void msg_exp_odd(LSH512AVX2_internal * i_state, const __m256i perm_step){
lsh-impl.c: | ^~~~~~~~~~~
lsh-impl.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/13/include/immintrin.h:43,
lsh-impl.c: from lsh-impl.c:34:
lsh-impl.c: /usr/lib/gcc/x86_64-linux-gnu/13/include/avxintrin.h: In function 'load_blk':
lsh-impl.c: /usr/lib/gcc/x86_64-linux-gnu/13/include/avxintrin.h:927:1: error: inlining failed in call to 'always_inline' '_mm256_loadu_si256': target specific option mismatch
lsh-impl.c: 927 | _mm256_loadu_si256 (__m256i_u const *__P)
lsh-impl.c: | ^~~~~~~~~~~~~~~~~~
lsh-impl.c: lsh-impl.c:197:17: note: called from here
lsh-impl.c: 197 | #define LOAD(x) _mm256_loadu_si256((__m256i*)x)
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 (13.3.0) |
| avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
Compiler output
try.cpp: In file included from try-anything.cpp:22:
try.cpp: .../supercop-data/h2atom/amd64/include/stq.h:32:13: warning: unused function 'stq_sort' [-Wunused-function]
try.cpp: 32 | static void stq_sort(stq_doublearray S,long long n)
try.cpp: | ^~~~~~~~
try.cpp: 1 warning generated.
try.cpp: In file included from try-anything.cpp:22:
try.cpp: .../supercop-data/h2atom/amd64/include/stq.h:32:13: warning: unused function 'stq_sort' [-Wunused-function]
try.cpp: 32 | static void stq_sort(stq_doublearray S,long long n)
try.cpp: | ^~~~~~~~
try.cpp: 1 warning generated.
try.cpp: In file included from try-anything-timecop.cpp:3:
try.cpp: In file included from ./try-anything.cpp:22:
try.cpp: .../supercop-data/h2atom/amd64/include/stq.h:32:13: warning: unused function 'stq_sort' [-Wunused-function]
try.cpp: 32 | static void stq_sort(stq_doublearray S,long long n)
try.cpp: | ^~~~~~~~
try.cpp: 1 warning generated.
measure.cpp: In file included from measure-anything.cpp:19:
measure.cpp: .../supercop-data/h2atom/amd64/include/stq.h:32:13: warning: unused function 'stq_sort' [-Wunused-function]
measure.cpp: 32 | static void stq_sort(stq_doublearray S,long long n)
measure.cpp: | ^~~~~~~~
measure.cpp: 1 warning generated.
Number of similar (implementation,compiler) pairs: 4, namely:
| Implementation | Compiler |
| cryptopp | clang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| cryptopp | clang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| cryptopp | clang++ -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| cryptopp | clang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
Compiler output
try.cpp: In file included from try-anything.cpp:22:
try.cpp: .../supercop-data/h2atom/amd64/include/stq.h:32:13: warning: 'void stq_sort(std::vector<double>, long long int)' defined but not used [-Wunused-function]
try.cpp: 32 | static void stq_sort(stq_doublearray S,long long n)
try.cpp: | ^~~~~~~~
try.cpp: In file included from try-anything.cpp:22:
try.cpp: .../supercop-data/h2atom/amd64/include/stq.h:32:13: warning: 'void stq_sort(std::vector<double>, long long int)' defined but not used [-Wunused-function]
try.cpp: 32 | static void stq_sort(stq_doublearray S,long long n)
try.cpp: | ^~~~~~~~
try.cpp: In file included from try-anything.cpp:22,
try.cpp: from try-anything-timecop.cpp:3:
try.cpp: .../supercop-data/h2atom/amd64/include/stq.h:32:13: warning: 'void stq_sort(std::vector<double>, long long int)' defined but not used [-Wunused-function]
try.cpp: 32 | static void stq_sort(stq_doublearray S,long long n)
try.cpp: | ^~~~~~~~
measure.cpp: In file included from measure-anything.cpp:19:
measure.cpp: .../supercop-data/h2atom/amd64/include/stq.h:32:13: warning: 'void stq_sort(std::vector<double>, long long int)' defined but not used [-Wunused-function]
measure.cpp: 32 | static void stq_sort(stq_doublearray S,long long n)
measure.cpp: | ^~~~~~~~
Number of similar (implementation,compiler) pairs: 4, namely:
| Implementation | Compiler |
| cryptopp | g++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| cryptopp | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| cryptopp | g++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| cryptopp | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.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: 4 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: 4 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 (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ssse3 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ssse3 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ssse3 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
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:345: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: 345 | cv_r[0] = SHUFFLE8(cv_r[0], perm_step[0]);
lsh-impl.c: | ^
lsh-impl.c: lsh-impl.c:196:23: note: expanded from macro 'SHUFFLE8'
lsh-impl.c: 196 | #define SHUFFLE8(x,y) _mm_shuffle_epi8(x,y)
lsh-impl.c: | ^
lsh-impl.c: lsh-impl.c:346: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: 346 | cv_r[1] = SHUFFLE8(cv_r[1], perm_step[1]);
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 (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
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.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: | }
Number of similar (implementation,compiler) pairs: 4, namely:
| Implementation | Compiler |
| ssse3 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ssse3 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ssse3 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ssse3 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.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-18/lib/clang/18/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 (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| xop | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| xop | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| xop | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| xop | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
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/13/include/x86intrin.h:38,
lsh-impl.c: from lsh-impl.c:35:
lsh-impl.c: /usr/lib/gcc/x86_64-linux-gnu/13/include/xopintrin.h: In function 'rotate_blk_even_alpha':
lsh-impl.c: /usr/lib/gcc/x86_64-linux-gnu/13/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 (13.3.0) |
| xop | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| xop | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| xop | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.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 (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| sse2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| sse2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| sse2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| sse2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| sse2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| sse2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| sse2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| sse2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| sse2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ssse3 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ssse3 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ssse3 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ssse3 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ssse3 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ssse3 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ssse3 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ssse3 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.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 (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| cryptopp | clang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| cryptopp | clang++ -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| cryptopp | clang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| cryptopp | g++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| cryptopp | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| cryptopp | g++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| cryptopp | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| sse2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| sse2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| sse2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| sse2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| sse2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| sse2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| sse2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| sse2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| sse2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ssse3 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ssse3 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ssse3 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ssse3 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ssse3 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ssse3 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ssse3 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ssse3 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |