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
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
786414867 0 039054 792 920T:dolbeau/aesenc-intclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
787214937 0 039038 792 920T:dolbeau/aesenc-intclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
787213840 0 034127 784 920T:dolbeau/aesenc-intclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
803213959 0 033158 792 856T:dolbeau/aesenc-intclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
840015171 0 036949 752 928T:dolbeau/aesenc-intgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
913610175 0 030109 752 928T:dolbeau/aesenc-intgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
92886004 0 023760 728 896T:dolbeau/aesenc-intgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
942010823 0 030356 744 928T:dolbeau/aesenc-intgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
10004914 0 021045 872 856T:opensslnewclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
10012902 0 025965 872 920T:opensslnewclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
10012908 0 023979 848 928T:opensslnewgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
10016857 0 019798 824 896T:opensslnewgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
10020891 0 022134 864 920T:opensslnewclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
10036973 0 021730 840 928T:opensslnewgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
10112902 0 026029 872 920T:opensslnewclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
10236908 0 022131 848 928T:opensslnewgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
10244902 0 027693 872 856T:opensslnewclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
15800043752 0 1628533 792 944T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
15850043436 0 1629902 792 880T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
16311923732 0 1628541 792 944T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
16321963677 0 1626381 752 944T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
16771201853 0 1622775 784 944T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
36211281945 0 1622829 752 944T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
145388121780 0 1621606 792 880T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
180649002075 0 1622508 744 944T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025031120250307
183075161714 0 1620352 728 912T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025031120250307

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:
ImplementationCompiler
T:dolbeau/aesenc-intclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1))
T:dolbeau/aesenc-intclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1))
T:dolbeau/aesenc-intclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1))
T:dolbeau/aesenc-intclang -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:
ImplementationCompiler
T:dolbeau/aesenc-intclang -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:
ImplementationCompiler
T:dolbeau/aesenc-intgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:dolbeau/aesenc-intgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:dolbeau/aesenc-intgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:dolbeau/aesenc-intgcc -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:
ImplementationCompiler
T:opensslclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1))
T:opensslclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1))
T:opensslclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1))
T:opensslclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1))
T:opensslclang -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:
ImplementationCompiler
T:opensslgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:opensslgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:opensslgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:opensslgcc -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:
ImplementationCompiler
rust_aes_gcmclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1))
rust_aes_gcmclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1))
rust_aes_gcmclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1))
rust_aes_gcmclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1))
rust_aes_gcmclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1))
rust_aes_gcmgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
rust_aes_gcmgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
rust_aes_gcmgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
rust_aes_gcmgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:rust_cryptoclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1))
T:rust_cryptoclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1))
T:rust_cryptoclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1))
T:rust_cryptoclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1))
T:rust_cryptoclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1))
T:rust_cryptogcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:rust_cryptogcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:rust_cryptogcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:rust_cryptogcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)