Implementation notes: amd64, cherry, crypto_aead/hs1sivv2
Computer: cherry
Microarchitecture: amd64; Silvermont (406c4)
Architecture: amd64
CPU ID: GenuineIntel-000406c4-bfebfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: hs1sivv2
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
42128 | 10266 0 0 | 31512 828 1016 | T:dolbeau/amd64-sse | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
42140 | 11938 0 0 | 34856 828 1016 | T:dolbeau/amd64-sse | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
42414 | 10015 0 0 | 29558 820 1016 | T:dolbeau/amd64-sse | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
43562 | 12343 0 0 | 32711 788 1080 | T:dolbeau/amd64-sse | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
45994 | 30699 0 0 | 52704 796 1080 | T:dolbeau/amd64-sse | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
46224 | 9345 0 0 | 28291 772 1048 | T:dolbeau/amd64-sse | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
47052 | 11910 0 0 | 32848 796 1080 | T:dolbeau/amd64-sse | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
56054 | 6370 0 0 | 27720 828 1016 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
56301 | 7066 0 0 | 29976 828 1016 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
60163 | 7810 0 0 | 30184 828 1016 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
67894 | 5925 0 0 | 28072 796 1080 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
72819 | 5717 0 0 | 26696 796 1080 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
83130 | 4368 0 0 | 24062 820 1016 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
85683 | 4034 0 0 | 23043 772 1048 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
110620 | 5723 0 0 | 26216 796 1080 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
167845 | 5944 0 0 | 26166 820 1016 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
Test failure
error 111
Number of similar (implementation,compiler) pairs: 10, namely:
Implementation | Compiler |
T:dolbeau/amd64-sse | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:faster | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:faster | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:faster | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:faster | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:faster | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:faster | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:faster | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:faster | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:faster | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
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: ./c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: __m128i t_14;
encrypt.c: ^
encrypt.c: ./c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: __m128i t_15;
encrypt.c: ^
encrypt.c: encrypt.c:422:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c: ALIGN32 uint64_t ia1[4];
encrypt.c: ^
encrypt.c: encrypt.c:324:19: warning: unused variable 'j' [-Wunused-variable]
encrypt.c: unsigned i=0, j;
encrypt.c: ^
encrypt.c: 4 warnings and 1 error 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_11.0.1) |
T:dolbeau/amd64-avx2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:dolbeau/amd64-avx2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:dolbeau/amd64-avx2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
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: ./c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: __m128i t_15;
encrypt.c: ^
encrypt.c: ./c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: __m128i t_14;
encrypt.c: ^
encrypt.c: encrypt.c:422:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c: ALIGN32 uint64_t ia1[4];
encrypt.c: ^
encrypt.c: encrypt.c:324:19: warning: unused variable 'j' [-Wunused-variable]
encrypt.c: unsigned i=0, j;
encrypt.c: ^
encrypt.c: 4 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_11.0.1) |
Compiler output
encrypt.c: encrypt.c:90:2: error: #error "This code requires AVX2 to work"
encrypt.c: 90 | #error "This code requires AVX2 to work"
encrypt.c: | ^~~~~
encrypt.c: In file included from encrypt.c:194:
encrypt.c: encrypt.c: In function 'chacha_noxor176':
encrypt.c: c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: 71 | __m128i t_15;
encrypt.c: | ^~~~
encrypt.c: c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: 70 | __m128i t_14;
encrypt.c: | ^~~~
encrypt.c: encrypt.c: In function 'prf_hash2_2':
encrypt.c: encrypt.c:422:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c: 422 | ALIGN32 uint64_t ia1[4];
encrypt.c: | ^~~
encrypt.c: encrypt.c:324:19: warning: unused variable 'j' [-Wunused-variable]
encrypt.c: 324 | unsigned i=0, j;
encrypt.c: | ^
encrypt.c: encrypt.c: In function 'hs1_data':
encrypt.c: encrypt.c:541:18: warning: variable 'mtot' set but not used [-Wunused-but-set-variable]
encrypt.c: 541 | unsigned atot, mtot, arnd64, mrnd64;
encrypt.c: | ^~~~
encrypt.c: encrypt.c:541:12: warning: variable 'atot' set but not used [-Wunused-but-set-variable]
encrypt.c: 541 | unsigned atot, mtot, arnd64, mrnd64;
encrypt.c: | ^~~~
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 (10.2.1_20210110) |
T:dolbeau/amd64-avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:dolbeau/amd64-avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:dolbeau/amd64-avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
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: ./c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: __m128i t_14;
encrypt.c: ^
encrypt.c: ./c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: __m128i t_15;
encrypt.c: ^
encrypt.c: encrypt.c:322: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-11/lib/clang/11.0.1/include/avx512fintrin.h:9319: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:335:21: error: invalid input size for constraint 'Yz'
encrypt.c: : [a] "Yz" (a)
encrypt.c: ^
encrypt.c: encrypt.c:487:19: warning: unused variable 'kv16' [-Wunused-variable]
encrypt.c: __m512i kv16 = _mm512_loadu_si512((const __m512i*)(nhkey+16)); // 2
encrypt.c: ^
encrypt.c: encrypt.c:480:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c: ALIGN32 uint64_t ia1[4];
encrypt.c: ^
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:dolbeau/amd64-avx512 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
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: ./c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: __m128i t_15;
encrypt.c: ^
encrypt.c: ./c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: __m128i t_14;
encrypt.c: ^
encrypt.c: encrypt.c:322: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-11/lib/clang/11.0.1/include/avx512fintrin.h:9319: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:335:21: error: invalid input size for constraint 'Yz'
encrypt.c: : [a] "Yz" (a)
encrypt.c: ^
encrypt.c: encrypt.c:488:19: warning: unused variable 'kv20' [-Wunused-variable]
encrypt.c: __m512i kv20 = _mm512_loadu_si512((const __m512i*)(nhkey+20)); // 2
encrypt.c: ^
encrypt.c: encrypt.c:480:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c: ALIGN32 uint64_t ia1[4];
encrypt.c: ^
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:dolbeau/amd64-avx512 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
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: ./c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: __m128i t_15;
encrypt.c: ^
encrypt.c: ./c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: __m128i t_14;
encrypt.c: ^
encrypt.c: encrypt.c:322: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-11/lib/clang/11.0.1/include/avx512fintrin.h:9319: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:335:21: error: invalid input size for constraint 'Yz'
encrypt.c: : [a] "Yz" (a)
encrypt.c: ^
encrypt.c: encrypt.c:487:19: warning: unused variable 'kv16' [-Wunused-variable]
encrypt.c: __m512i kv16 = _mm512_loadu_si512((const __m512i*)(nhkey+16)); // 2
encrypt.c: ^
encrypt.c: encrypt.c:480:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c: ALIGN32 uint64_t ia1[4];
encrypt.c: ^
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:dolbeau/amd64-avx512 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
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: ./c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: __m128i t_14;
encrypt.c: ^
encrypt.c: ./c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: __m128i t_15;
encrypt.c: ^
encrypt.c: encrypt.c:322: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-11/lib/clang/11.0.1/include/avx512fintrin.h:9319: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:335:21: error: invalid input size for constraint 'Yz'
encrypt.c: : [a] "Yz" (a)
encrypt.c: ^
encrypt.c: encrypt.c:488:19: warning: unused variable 'kv20' [-Wunused-variable]
encrypt.c: __m512i kv20 = _mm512_loadu_si512((const __m512i*)(nhkey+20)); // 2
encrypt.c: ^
encrypt.c: encrypt.c:480:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c: ALIGN32 uint64_t ia1[4];
encrypt.c: ^
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:dolbeau/amd64-avx512 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
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: ./c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: __m128i t_15;
encrypt.c: ^
encrypt.c: ./c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: __m128i t_14;
encrypt.c: ^
encrypt.c: encrypt.c:322: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-11/lib/clang/11.0.1/include/avx512fintrin.h:9319: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:335:21: error: invalid input size for constraint 'Yz'
encrypt.c: : [a] "Yz" (a)
encrypt.c: ^
encrypt.c: encrypt.c:487:19: warning: unused variable 'kv16' [-Wunused-variable]
encrypt.c: __m512i kv16 = _mm512_loadu_si512((const __m512i*)(nhkey+16)); // 2
encrypt.c: ^
encrypt.c: encrypt.c:488:19: warning: unused variable 'kv20' [-Wunused-variable]
encrypt.c: __m512i kv20 = _mm512_loadu_si512((const __m512i*)(nhkey+20)); // 2
encrypt.c: ^
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:dolbeau/amd64-avx512 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
Compiler output
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: encrypt.c: In function 'chacha_noxor176':
encrypt.c: c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: 71 | __m128i t_15;
encrypt.c: | ^~~~
encrypt.c: c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: 70 | __m128i t_14;
encrypt.c: | ^~~~
encrypt.c: encrypt.c: At top level:
encrypt.c: encrypt.c:322:20: error: conflicting types for '_mm512_reduce_add_epi64'
encrypt.c: 322 | unsigned long long _mm512_reduce_add_epi64 (__m512i a) {
encrypt.c: | ^~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:55,
encrypt.c: from encrypt.c:54:
encrypt.c: /usr/lib/gcc/x86_64-linux-gnu/10/include/avx512fintrin.h:16018:1: note: previous definition of '_mm512_reduce_add_epi64' was here
encrypt.c: 16018 | _mm512_reduce_add_epi64 (__m512i __A)
encrypt.c: | ^~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'prf_hash2_2':
encrypt.c: encrypt.c:488:19: warning: unused variable 'kv20' [-Wunused-variable]
encrypt.c: 488 | __m512i kv20 = _mm512_loadu_si512((const __m512i*)(nhkey+20)); // 2
encrypt.c: | ^~~~
encrypt.c: encrypt.c:487:19: warning: unused variable 'kv16' [-Wunused-variable]
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 (10.2.1_20210110) |
T:dolbeau/amd64-avx512 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:dolbeau/amd64-avx512 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:dolbeau/amd64-avx512 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
Compiler output
encrypt.c: In file included from encrypt.c:190:
encrypt.c: ./c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: __m128i t_14;
encrypt.c: ^
encrypt.c: ./c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: __m128i t_15;
encrypt.c: ^
encrypt.c: encrypt.c:418:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c: ALIGN32 uint64_t ia1[4];
encrypt.c: ^
encrypt.c: encrypt.c:311:19: warning: unused variable 'j' [-Wunused-variable]
encrypt.c: unsigned i=0, j;
encrypt.c: ^
encrypt.c: 4 warnings generated.
Number of similar (implementation,compiler) pairs: 2, namely:
Implementation | Compiler |
T:dolbeau/amd64-sse | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:dolbeau/amd64-sse | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
Compiler output
encrypt.c: In file included from encrypt.c:190:
encrypt.c: ./c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: __m128i t_15;
encrypt.c: ^
encrypt.c: ./c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: __m128i t_14;
encrypt.c: ^
encrypt.c: encrypt.c:418:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c: ALIGN32 uint64_t ia1[4];
encrypt.c: ^
encrypt.c: encrypt.c:311:19: warning: unused variable 'j' [-Wunused-variable]
encrypt.c: unsigned i=0, j;
encrypt.c: ^
encrypt.c: 4 warnings generated.
Number of similar (implementation,compiler) pairs: 2, namely:
Implementation | Compiler |
T:dolbeau/amd64-sse | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:dolbeau/amd64-sse | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
Compiler output
encrypt.c: In file included from encrypt.c:190:
encrypt.c: ./c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: __m128i t_14;
encrypt.c: ^
encrypt.c: ./c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: __m128i t_15;
encrypt.c: ^
encrypt.c: encrypt.c:418:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c: ALIGN32 uint64_t ia1[4];
encrypt.c: ^
encrypt.c: encrypt.c:311:19: warning: unused variable 'j' [-Wunused-variable]
encrypt.c: unsigned i=0, j;
encrypt.c: ^
encrypt.c: In file included from encrypt.c:190:
encrypt.c: ./c176.h:99:7: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'chacha_noxor176' that is compiled without support for 'ssse3'
encrypt.c: VEC4_QUARTERROUND( 0, 4, 8,12);
encrypt.c: ^
encrypt.c: ./c176.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: ^
encrypt.c: ./c176.h:12:86: note: expanded from macro 'VEC4_QUARTERROUND_SHUFFLE'
encrypt.c: x_##a = _mm_add_epi32(x_##a, x_##b); t_##a = _mm_xor_si128(x_##d, x_##a); x_##d = _mm_shuffle_epi8(t_##a, rot16); \
encrypt.c: ^
encrypt.c: ./c176.h:99:7: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'chacha_noxor176' that is compiled without support for 'ssse3'
encrypt.c: ./c176.h:17:36: note: expanded from macro 'VEC4_QUARTERROUND'
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_11.0.1) |
Compiler output
encrypt.c: In file included from encrypt.c:190:
encrypt.c: encrypt.c: In function 'chacha_noxor176':
encrypt.c: c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: 71 | __m128i t_15;
encrypt.c: | ^~~~
encrypt.c: c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: 70 | __m128i t_14;
encrypt.c: | ^~~~
encrypt.c: encrypt.c: In function 'prf_hash2_2':
encrypt.c: encrypt.c:418:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c: 418 | ALIGN32 uint64_t ia1[4];
encrypt.c: | ^~~
encrypt.c: encrypt.c:311:19: warning: unused variable 'j' [-Wunused-variable]
encrypt.c: 311 | unsigned i=0, j;
encrypt.c: | ^
encrypt.c: encrypt.c: In function 'hs1_data':
encrypt.c: encrypt.c:558:18: warning: variable 'mtot' set but not used [-Wunused-but-set-variable]
encrypt.c: 558 | unsigned atot, mtot, arnd64, mrnd64;
encrypt.c: | ^~~~
encrypt.c: encrypt.c:558:12: warning: variable 'atot' set but not used [-Wunused-but-set-variable]
encrypt.c: 558 | 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 (10.2.1_20210110) |
T:dolbeau/amd64-sse | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:dolbeau/amd64-sse | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:dolbeau/amd64-sse | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
Compiler output
hs1.c: hs1.c:116:23: warning: unused variable 'm61' [-Wunused-const-variable]
hs1.c: static const uint64_t m61 = ((uint64_t)1 << 61) - 1;
hs1.c: ^
hs1.c: 1 warning generated.
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:faster | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:faster | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:faster | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:faster | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
Compiler output
hs1.c: hs1.c:116:23: warning: 'm61' defined but not used [-Wunused-const-variable=]
hs1.c: 116 | static const uint64_t m61 = ((uint64_t)1 << 61) - 1;
hs1.c: | ^~~
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:faster | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:faster | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:faster | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:faster | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
Namespace violations
encrypt.o chacha T
encrypt.o chacha_ivsetup T
encrypt.o chacha_keysetup T
encrypt.o hs1 T
encrypt.o hs1_hash T
encrypt.o hs1siv_chacha256 T
encrypt.o hs1siv_decrypt T
encrypt.o hs1siv_encrypt T
encrypt.o hs1siv_subkeygen T
encrypt.o prf_hash2 T
Number of similar (implementation,compiler) pairs: 9, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |