Test results for amd64, speed2supercop, crypto_aead/hs1sivlov2
[Page version: 20241023 21:37:24]
Measurements for amd64, speed2supercop, crypto_aead
Test results for amd64, speed2supercop, crypto_aead
Test results for crypto_aead/hs1sivlov2
Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20241022
Operation: crypto_aead
Primitive: hs1sivlov2
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
4664 | 12481 0 0 | 35766 808 872 | T:faster | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
4696 | 13217 0 0 | 36710 808 872 | T:faster | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
4748 | 9761 0 0 | 32149 768 928 | T:faster | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
4760 | 11035 0 0 | 30174 808 856 | T:dolbeau/amd64-avx2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
4880 | 13146 0 0 | 36470 808 872 | T:dolbeau/amd64-avx2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
4920 | 10516 0 0 | 30559 800 920 | T:dolbeau/amd64-avx2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
5064 | 8323 0 0 | 28717 768 928 | T:faster | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
5076 | 7574 0 0 | 27975 800 920 | T:faster | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
5092 | 11978 0 0 | 35110 808 872 | T:dolbeau/amd64-avx2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
5176 | 7587 0 0 | 25880 744 896 | T:faster | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
5208 | 8036 0 0 | 27900 760 928 | T:faster | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
5308 | 11987 0 0 | 31836 760 928 | T:dolbeau/amd64-avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
6956 | 9483 0 0 | 28606 808 856 | T:dolbeau/amd64-sse | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
7096 | 10410 0 0 | 33534 808 872 | T:dolbeau/amd64-sse | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
7096 | 11578 0 0 | 34894 808 872 | T:dolbeau/amd64-sse | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
7144 | 8955 0 0 | 28999 800 920 | T:dolbeau/amd64-sse | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
7820 | 9635 0 0 | 29468 760 928 | T:dolbeau/amd64-sse | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
13972 | 7335 0 0 | 30678 808 872 | T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
14084 | 8343 0 0 | 31878 808 872 | T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
15884 | 6813 0 0 | 28918 808 856 | T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
24592 | 3698 0 0 | 24039 800 920 | T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
24956 | 4643 0 0 | 23990 808 856 | T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
37472 | 5664 0 0 | 25621 768 928 | T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
Checksum failure
c422ef7bb1cf281e8edeea6eb53ea49e2a2df942cf721efaca6f3d089d301186
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:dolbeau/amd64-avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:dolbeau/amd64-sse | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
Test failure
error 111
crypto_aead_decrypt allows trivial forgeries
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:dolbeau/amd64-avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:dolbeau/amd64-sse | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Test failure
error 111
crypto_aead_decrypt returns nonzero
Number of similar (implementation,compiler) pairs: 2, namely:
Implementation | Compiler |
T:dolbeau/amd64-avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:dolbeau/amd64-sse | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Test failure
error 111
Number of similar (implementation,compiler) pairs: 2, namely:
Implementation | Compiler |
T:faster | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:faster | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
Compiler output
encrypt.c: In file included from encrypt.c:194:
encrypt.c: ./c128.h:62:11: warning: unused variable 't_6' [-Wunused-variable]
encrypt.c: __m128i t_6;
encrypt.c: ^
encrypt.c: ./c128.h:63:11: warning: unused variable 't_7' [-Wunused-variable]
encrypt.c: __m128i t_7;
encrypt.c: ^
encrypt.c: ./c128.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: __m128i t_14;
encrypt.c: ^
encrypt.c: ./c128.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: __m128i t_15;
encrypt.c: ^
encrypt.c: encrypt.c:493:12: warning: variable 'atot' set but not used [-Wunused-but-set-variable]
encrypt.c: unsigned atot, mtot, arnd64, mrnd64;
encrypt.c: ^
encrypt.c: encrypt.c:493:18: warning: variable 'mtot' set but not used [-Wunused-but-set-variable]
encrypt.c: unsigned atot, mtot, arnd64, mrnd64;
encrypt.c: ^
encrypt.c: 6 warnings generated.
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:dolbeau/amd64-avx2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:dolbeau/amd64-avx2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:dolbeau/amd64-avx2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:dolbeau/amd64-avx2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
Compiler output
encrypt.c: encrypt.c:90:2: error: "This code requires AVX2 to work"
encrypt.c: #error "This code requires AVX2 to work"
encrypt.c: ^
encrypt.c: In file included from encrypt.c:194:
encrypt.c: ./c128.h:62:11: warning: unused variable 't_6' [-Wunused-variable]
encrypt.c: __m128i t_6;
encrypt.c: ^
encrypt.c: ./c128.h:63:11: warning: unused variable 't_7' [-Wunused-variable]
encrypt.c: __m128i t_7;
encrypt.c: ^
encrypt.c: ./c128.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: __m128i t_14;
encrypt.c: ^
encrypt.c: ./c128.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: __m128i t_15;
encrypt.c: ^
encrypt.c: encrypt.c:493:12: warning: variable 'atot' set but not used [-Wunused-but-set-variable]
encrypt.c: unsigned atot, mtot, arnd64, mrnd64;
encrypt.c: ^
encrypt.c: encrypt.c:493:18: warning: variable 'mtot' set but not used [-Wunused-but-set-variable]
encrypt.c: unsigned atot, mtot, arnd64, mrnd64;
encrypt.c: ^
encrypt.c: 6 warnings and 1 error generated.
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:dolbeau/amd64-avx2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
Compiler output
encrypt.c: encrypt.c:85: warning: "_bswap64" redefined
encrypt.c: 85 | #define _bswap64(a) __builtin_bswap64(a)
encrypt.c: |
encrypt.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/13/include/x86gprintrin.h:33,
encrypt.c: from /usr/lib/gcc/x86_64-linux-gnu/13/include/immintrin.h:27,
encrypt.c: from encrypt.c:54:
encrypt.c: /usr/lib/gcc/x86_64-linux-gnu/13/include/ia32intrin.h:273: note: this is the location of the previous definition
encrypt.c: 273 | #define _bswap64(a) __bswapq(a)
encrypt.c: |
encrypt.c: encrypt.c:86: warning: "_bswap" redefined
encrypt.c: 86 | #define _bswap(a) __builtin_bswap(a)
encrypt.c: |
encrypt.c: /usr/lib/gcc/x86_64-linux-gnu/13/include/ia32intrin.h:307: note: this is the location of the previous definition
encrypt.c: 307 | #define _bswap(a) __bswapd(a)
encrypt.c: |
encrypt.c: In file included from encrypt.c:194:
encrypt.c: c128.h: In function 'chacha_noxor128':
encrypt.c: c128.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: 71 | __m128i t_15;
encrypt.c: | ^~~~
encrypt.c: c128.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: 70 | __m128i t_14;
encrypt.c: | ^~~~
encrypt.c: c128.h:63:11: warning: unused variable 't_7' [-Wunused-variable]
encrypt.c: 63 | __m128i t_7;
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:dolbeau/amd64-avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:dolbeau/amd64-avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:dolbeau/amd64-avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:dolbeau/amd64-avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Compiler output
encrypt.c: encrypt.c:90:2: error: "This code requires AVX512F to work"
encrypt.c: #error "This code requires AVX512F to work"
encrypt.c: ^
encrypt.c: In file included from encrypt.c:194:
encrypt.c: ./c128.h:62:11: warning: unused variable 't_6' [-Wunused-variable]
encrypt.c: __m128i t_6;
encrypt.c: ^
encrypt.c: ./c128.h:63:11: warning: unused variable 't_7' [-Wunused-variable]
encrypt.c: __m128i t_7;
encrypt.c: ^
encrypt.c: ./c128.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: __m128i t_14;
encrypt.c: ^
encrypt.c: ./c128.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: __m128i t_15;
encrypt.c: ^
encrypt.c: encrypt.c:317:20: error: conflicting types for '_mm512_reduce_add_epi64'
encrypt.c: unsigned long long _mm512_reduce_add_epi64 (__m512i a) {
encrypt.c: ^
encrypt.c: /usr/lib/llvm-16/lib/clang/16/include/avx512fintrin.h:9321:51: note: previous definition is here
encrypt.c: static __inline__ long long __DEFAULT_FN_ATTRS512 _mm512_reduce_add_epi64(__m512i __W) {
encrypt.c: ^
encrypt.c: encrypt.c:330:21: error: invalid input size for constraint 'Yz'
encrypt.c: : [a] "Yz" (a)
encrypt.c: ^
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:dolbeau/amd64-avx512 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:dolbeau/amd64-avx512 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:dolbeau/amd64-avx512 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:dolbeau/amd64-avx512 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:dolbeau/amd64-avx512 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
Compiler output
encrypt.c: encrypt.c:85: warning: "_bswap64" redefined
encrypt.c: 85 | #define _bswap64(a) __builtin_bswap64(a)
encrypt.c: |
encrypt.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/13/include/x86gprintrin.h:33,
encrypt.c: from /usr/lib/gcc/x86_64-linux-gnu/13/include/immintrin.h:27,
encrypt.c: from encrypt.c:54:
encrypt.c: /usr/lib/gcc/x86_64-linux-gnu/13/include/ia32intrin.h:273: note: this is the location of the previous definition
encrypt.c: 273 | #define _bswap64(a) __bswapq(a)
encrypt.c: |
encrypt.c: encrypt.c:86: warning: "_bswap" redefined
encrypt.c: 86 | #define _bswap(a) __builtin_bswap(a)
encrypt.c: |
encrypt.c: /usr/lib/gcc/x86_64-linux-gnu/13/include/ia32intrin.h:307: note: this is the location of the previous definition
encrypt.c: 307 | #define _bswap(a) __bswapd(a)
encrypt.c: |
encrypt.c: encrypt.c:90:2: error: #error "This code requires AVX512F to work"
encrypt.c: 90 | #error "This code requires AVX512F to work"
encrypt.c: | ^~~~~
encrypt.c: In file included from encrypt.c:194:
encrypt.c: c128.h: In function 'chacha_noxor128':
encrypt.c: c128.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: 71 | __m128i t_15;
encrypt.c: | ^~~~
encrypt.c: c128.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: 70 | __m128i t_14;
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:dolbeau/amd64-avx512 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:dolbeau/amd64-avx512 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:dolbeau/amd64-avx512 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:dolbeau/amd64-avx512 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Compiler output
encrypt.c: In file included from encrypt.c:190:
encrypt.c: ./c128.h:62:11: warning: unused variable 't_6' [-Wunused-variable]
encrypt.c: __m128i t_6;
encrypt.c: ^
encrypt.c: ./c128.h:63:11: warning: unused variable 't_7' [-Wunused-variable]
encrypt.c: __m128i t_7;
encrypt.c: ^
encrypt.c: ./c128.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: __m128i t_14;
encrypt.c: ^
encrypt.c: ./c128.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: __m128i t_15;
encrypt.c: ^
encrypt.c: encrypt.c:502:12: warning: variable 'atot' set but not used [-Wunused-but-set-variable]
encrypt.c: unsigned atot, mtot, arnd64, mrnd64;
encrypt.c: ^
encrypt.c: encrypt.c:502:18: warning: variable 'mtot' set but not used [-Wunused-but-set-variable]
encrypt.c: unsigned atot, mtot, arnd64, mrnd64;
encrypt.c: ^
encrypt.c: 6 warnings generated.
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:dolbeau/amd64-sse | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:dolbeau/amd64-sse | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:dolbeau/amd64-sse | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:dolbeau/amd64-sse | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
Compiler output
encrypt.c: In file included from encrypt.c:190:
encrypt.c: ./c128.h:62:11: warning: unused variable 't_6' [-Wunused-variable]
encrypt.c: __m128i t_6;
encrypt.c: ^
encrypt.c: ./c128.h:63:11: warning: unused variable 't_7' [-Wunused-variable]
encrypt.c: __m128i t_7;
encrypt.c: ^
encrypt.c: ./c128.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: __m128i t_14;
encrypt.c: ^
encrypt.c: ./c128.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: __m128i t_15;
encrypt.c: ^
encrypt.c: encrypt.c:502:12: warning: variable 'atot' set but not used [-Wunused-but-set-variable]
encrypt.c: unsigned atot, mtot, arnd64, mrnd64;
encrypt.c: ^
encrypt.c: encrypt.c:502:18: warning: variable 'mtot' set but not used [-Wunused-but-set-variable]
encrypt.c: unsigned atot, mtot, arnd64, mrnd64;
encrypt.c: ^
encrypt.c: In file included from encrypt.c:190:
encrypt.c: ./c128.h:99:7: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'chacha_noxor128' that is compiled without support for 'ssse3'
encrypt.c: VEC4_QUARTERROUND( 0, 4, 8,12);
encrypt.c: ^
encrypt.c: ./c128.h:17:36: note: expanded from macro 'VEC4_QUARTERROUND'
encrypt.c: #define VEC4_QUARTERROUND(a,b,c,d) VEC4_QUARTERROUND_SHUFFLE(a,b,c,d)
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:dolbeau/amd64-sse | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
Compiler output
encrypt.c: In file included from encrypt.c:190:
encrypt.c: c128.h: In function 'chacha_noxor128':
encrypt.c: c128.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: 71 | __m128i t_15;
encrypt.c: | ^~~~
encrypt.c: c128.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: 70 | __m128i t_14;
encrypt.c: | ^~~~
encrypt.c: c128.h:63:11: warning: unused variable 't_7' [-Wunused-variable]
encrypt.c: 63 | __m128i t_7;
encrypt.c: | ^~~
encrypt.c: c128.h:62:11: warning: unused variable 't_6' [-Wunused-variable]
encrypt.c: 62 | __m128i t_6;
encrypt.c: | ^~~
encrypt.c: encrypt.c: In function 'hs1_data':
encrypt.c: encrypt.c:502:18: warning: variable 'mtot' set but not used [-Wunused-but-set-variable]
encrypt.c: 502 | unsigned atot, mtot, arnd64, mrnd64;
encrypt.c: | ^~~~
encrypt.c: encrypt.c:502:12: warning: variable 'atot' set but not used [-Wunused-but-set-variable]
encrypt.c: 502 | unsigned atot, mtot, arnd64, mrnd64;
encrypt.c: | ^~~~
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:dolbeau/amd64-sse | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:dolbeau/amd64-sse | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:dolbeau/amd64-sse | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:dolbeau/amd64-sse | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Compiler output
hs1.c: In function 'xor16',
hs1.c: inlined from 'xor_copy_chacha_key' at hs1.c:886:9,
hs1.c: inlined from 'hs1_gen_siv' at hs1.c:973:5:
hs1.c: hs1.c:58:46: warning: 'chacha_state' is used uninitialized [-Wuninitialized]
hs1.c: 58 | static void xor16 (void *d, const void *s) { *(T *)d ^= *(T *)s; }
hs1.c: | ^~~~~~~
hs1.c: hs1.c: In function 'hs1_gen_siv':
hs1.c: hs1.c:936:50: note: 'chacha_state' declared here
hs1.c: 936 | __attribute__ ((aligned(32))) chacha_state_t chacha_state;
hs1.c: | ^~~~~~~~~~~~
hs1.c: In function 'xor16',
hs1.c: inlined from 'xor_copy_chacha_key' at hs1.c:886:9,
hs1.c: inlined from 'hs1siv_decrypt' at hs1.c:1023:5:
hs1.c: hs1.c:58:46: warning: 'chacha_state' may be used uninitialized [-Wmaybe-uninitialized]
hs1.c: 58 | static void xor16 (void *d, const void *s) { *(T *)d ^= *(T *)s; }
hs1.c: | ^~~~~~~
hs1.c: hs1.c: In function 'hs1siv_decrypt':
hs1.c: hs1.c:1011:50: note: 'chacha_state' declared here
hs1.c: 1011 | __attribute__ ((aligned(32))) chacha_state_t chacha_state;
hs1.c: | ^~~~~~~~~~~~
hs1.c: In function 'xor16',
hs1.c: inlined from 'xor_copy_chacha_key' at hs1.c:886:9,
hs1.c: inlined from 'hs1' at hs1.c:1062:5:
hs1.c: hs1.c:58:46: warning: 'chacha_state' is used uninitialized [-Wuninitialized]
hs1.c: 58 | static void xor16 (void *d, const void *s) { *(T *)d ^= *(T *)s; }
hs1.c: ...
Number of similar (implementation,compiler) pairs: 2, namely:
Implementation | Compiler |
T:faster | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:faster | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Compiler output
encrypt.c: encrypt.c:326:14: warning: unused variable 'k' [-Wunused-variable]
encrypt.c: unsigned k = (HS1_SIV_HASH_RNDS > 4 ? 1 : 2);
encrypt.c: ^
encrypt.c: 1 warning generated.
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
Compiler output
encrypt.c: encrypt.c: In function 'hs1_hash':
encrypt.c: encrypt.c:326:14: warning: unused variable 'k' [-Wunused-variable]
encrypt.c: 326 | unsigned k = (HS1_SIV_HASH_RNDS > 4 ? 1 : 2);
encrypt.c: | ^
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |