Test results for amd64, speed2supercop, crypto_aead/aes128gcmv1
[Page version: 20250318 22:34:28]
Measurements for amd64, speed2supercop, crypto_aead
Test results for amd64, speed2supercop, crypto_aead
Test results for crypto_aead/aes128gcmv1
Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20250307
Operation: crypto_aead
Primitive: aes128gcmv1
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
7864 | 14867 0 0 | 39054 792 920 | T:dolbeau/aesenc-int | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
7872 | 14937 0 0 | 39038 792 920 | T:dolbeau/aesenc-int | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
7872 | 13840 0 0 | 34127 784 920 | T:dolbeau/aesenc-int | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
8032 | 13959 0 0 | 33158 792 856 | T:dolbeau/aesenc-int | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
8400 | 15171 0 0 | 36949 752 928 | T:dolbeau/aesenc-int | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
9136 | 10175 0 0 | 30109 752 928 | T:dolbeau/aesenc-int | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
9288 | 6004 0 0 | 23760 728 896 | T:dolbeau/aesenc-int | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
9420 | 10823 0 0 | 30356 744 928 | T:dolbeau/aesenc-int | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
10004 | 914 0 0 | 21045 872 856 | T:opensslnew | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
10012 | 902 0 0 | 25965 872 920 | T:opensslnew | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
10012 | 908 0 0 | 23979 848 928 | T:opensslnew | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
10016 | 857 0 0 | 19798 824 896 | T:opensslnew | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
10020 | 891 0 0 | 22134 864 920 | T:opensslnew | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
10036 | 973 0 0 | 21730 840 928 | T:opensslnew | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
10112 | 902 0 0 | 26029 872 920 | T:opensslnew | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
10236 | 908 0 0 | 22131 848 928 | T:opensslnew | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
10244 | 902 0 0 | 27693 872 856 | T:opensslnew | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
1580004 | 3752 0 16 | 28533 792 944 | T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
1585004 | 3436 0 16 | 29902 792 880 | T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
1631192 | 3732 0 16 | 28541 792 944 | T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
1632196 | 3677 0 16 | 26381 752 944 | T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
1677120 | 1853 0 16 | 22775 784 944 | T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
3621128 | 1945 0 16 | 22829 752 944 | T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
14538812 | 1780 0 16 | 21606 792 880 | T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
18064900 | 2075 0 16 | 22508 744 944 | T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
18307516 | 1714 0 16 | 20352 728 912 | T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250311 | 20250307 |
Compiler output
aesenc-int.c: aesenc-int.c:41:25: warning: unused variable 'temp2' [-Wunused-variable]
aesenc-int.c: 41 | __m128i temp0, temp1, temp2, temp4;
aesenc-int.c: | ^~~~~
aesenc-int.c: aesenc-int.c:248:17: warning: unused variable 'rev' [-Wunused-variable]
aesenc-int.c: 248 | const __m128i rev = _mm_set_epi8(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15);
aesenc-int.c: | ^~~
aesenc-int.c: aesenc-int.c:342:15: warning: unused variable 'tmplo' [-Wunused-variable]
aesenc-int.c: 342 | __m128i lo, tmplo, hi, tmphi;
aesenc-int.c: | ^~~~~
aesenc-int.c: aesenc-int.c:342:26: warning: unused variable 'tmphi' [-Wunused-variable]
aesenc-int.c: 342 | __m128i lo, tmplo, hi, tmphi;
aesenc-int.c: | ^~~~~
aesenc-int.c: aesenc-int.c:446:15: warning: unused variable 'tmplo' [-Wunused-variable]
aesenc-int.c: 446 | __m128i lo, tmplo, hi, tmphi;
aesenc-int.c: | ^~~~~
aesenc-int.c: aesenc-int.c:446:26: warning: unused variable 'tmphi' [-Wunused-variable]
aesenc-int.c: 446 | __m128i lo, tmplo, hi, tmphi;
aesenc-int.c: | ^~~~~
aesenc-int.c: aesenc-int.c:139:20: warning: unused function 'inc' [-Wunused-function]
aesenc-int.c: 139 | static inline void inc(unsigned char *n) {
aesenc-int.c: | ^~~
aesenc-int.c: aesenc-int.c:162:1: warning: unused function 'aesni_encrypt2' [-Wunused-function]
aesenc-int.c: 162 | FUNC(2, MAKE2)
aesenc-int.c: | ^~~~~~~~~~~~~~
aesenc-int.c: aesenc-int.c:149:22: note: expanded from macro 'FUNC'
aesenc-int.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:dolbeau/aesenc-int | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
T:dolbeau/aesenc-int | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
T:dolbeau/aesenc-int | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
T:dolbeau/aesenc-int | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
Compiler output
aesenc-int.c: aesenc-int.c:41:25: warning: unused variable 'temp2' [-Wunused-variable]
aesenc-int.c: 41 | __m128i temp0, temp1, temp2, temp4;
aesenc-int.c: | ^~~~~
aesenc-int.c: aesenc-int.c:248:17: warning: unused variable 'rev' [-Wunused-variable]
aesenc-int.c: 248 | const __m128i rev = _mm_set_epi8(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15);
aesenc-int.c: | ^~~
aesenc-int.c: aesenc-int.c:342:15: warning: unused variable 'tmplo' [-Wunused-variable]
aesenc-int.c: 342 | __m128i lo, tmplo, hi, tmphi;
aesenc-int.c: | ^~~~~
aesenc-int.c: aesenc-int.c:342:26: warning: unused variable 'tmphi' [-Wunused-variable]
aesenc-int.c: 342 | __m128i lo, tmplo, hi, tmphi;
aesenc-int.c: | ^~~~~
aesenc-int.c: aesenc-int.c:446:15: warning: unused variable 'tmplo' [-Wunused-variable]
aesenc-int.c: 446 | __m128i lo, tmplo, hi, tmphi;
aesenc-int.c: | ^~~~~
aesenc-int.c: aesenc-int.c:446:26: warning: unused variable 'tmphi' [-Wunused-variable]
aesenc-int.c: 446 | __m128i lo, tmplo, hi, tmphi;
aesenc-int.c: | ^~~~~
aesenc-int.c: aesenc-int.c:643:16: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'crypto_aead_aes128gcmv1_dolbeau_aesenc_int_timingleaks_encrypt' that is compiled without support for 'ssse3'
aesenc-int.c: 643 | __m128i Hv = _mm_shuffle_epi8(_mm_loadu_si128((const __m128i*)H), rev);
aesenc-int.c: | ^
aesenc-int.c: 6 warnings and 1 error generated.
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:dolbeau/aesenc-int | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
Compiler output
aesenc-int.c: aesenc-int.c:24:9: warning: "_bswap64" redefined
aesenc-int.c: 24 | #define _bswap64(a) __builtin_bswap64(a)
aesenc-int.c: | ^~~~~~~~
aesenc-int.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/14/include/x86gprintrin.h:33,
aesenc-int.c: from /usr/lib/gcc/x86_64-linux-gnu/14/include/immintrin.h:27,
aesenc-int.c: from aesenc-int.c:11:
aesenc-int.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/ia32intrin.h:273:9: note: this is the location of the previous definition
aesenc-int.c: 273 | #define _bswap64(a) __bswapq(a)
aesenc-int.c: | ^~~~~~~~
aesenc-int.c: aesenc-int.c:25:9: warning: "_bswap" redefined
aesenc-int.c: 25 | #define _bswap(a) __builtin_bswap32(a)
aesenc-int.c: | ^~~~~~
aesenc-int.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/ia32intrin.h:307:9: note: this is the location of the previous definition
aesenc-int.c: 307 | #define _bswap(a) __bswapd(a)
aesenc-int.c: | ^~~~~~
aesenc-int.c: aesenc-int.c: In function 'aesni_key128_expand':
aesenc-int.c: aesenc-int.c:41:25: warning: unused variable 'temp2' [-Wunused-variable]
aesenc-int.c: 41 | __m128i temp0, temp1, temp2, temp4;
aesenc-int.c: | ^~~~~
aesenc-int.c: aesenc-int.c: In function 'aesni_encrypt1':
aesenc-int.c: aesenc-int.c:76: warning: ignoring '#pragma unroll ' [-Wunknown-pragmas]
aesenc-int.c: 76 | #pragma unroll(9)
aesenc-int.c: aesenc-int.c: In function 'addmul':
aesenc-int.c: aesenc-int.c:195:64: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
aesenc-int.c: 195 | unsigned long long mask = -1ull ^ (1ull<<(((16-xlen)%8)*8))-1ull;
aesenc-int.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:dolbeau/aesenc-int | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:dolbeau/aesenc-int | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:dolbeau/aesenc-int | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:dolbeau/aesenc-int | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Compiler output
decrypt.c: decrypt.c:13:18: error: variable has incomplete type 'EVP_CIPHER_CTX' (aka 'struct evp_cipher_ctx_st')
decrypt.c: 13 | EVP_CIPHER_CTX x;
decrypt.c: | ^
decrypt.c: /usr/include/openssl/types.h:111:16: note: forward declaration of 'struct evp_cipher_ctx_st'
decrypt.c: 111 | typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
decrypt.c: | ^
decrypt.c: 1 error generated.
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:openssl | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
T:openssl | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
T:openssl | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
T:openssl | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
T:openssl | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
Compiler output
decrypt.c: decrypt.c: In function 'crypto_aead_aes128gcmv1_openssl_timingleaks_decrypt':
decrypt.c: decrypt.c:13:18: error: storage size of 'x' isn't known
decrypt.c: 13 | EVP_CIPHER_CTX x;
decrypt.c: | ^
decrypt.c: decrypt.c:13:18: warning: unused variable 'x' [-Wunused-variable]
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:openssl | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:openssl | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:openssl | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:openssl | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Compiler output
try.c: env: 'cargo': No such file or directory
Number of similar (implementation,compiler) pairs: 18, namely:
Implementation | Compiler |
rust_aes_gcm | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
rust_aes_gcm | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
rust_aes_gcm | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
rust_aes_gcm | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
rust_aes_gcm | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
rust_aes_gcm | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
rust_aes_gcm | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
rust_aes_gcm | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
rust_aes_gcm | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:rust_crypto | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
T:rust_crypto | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
T:rust_crypto | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
T:rust_crypto | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
T:rust_crypto | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
T:rust_crypto | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:rust_crypto | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:rust_crypto | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:rust_crypto | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |