Test results for amd64, phoenix, crypto_aead/aezv3

[Page version: 20250816 20:11:49]

Measurements for amd64, phoenix, crypto_aead Test results for amd64, phoenix, crypto_aead Test results for crypto_aead/aezv3
Computer: phoenix
Microarchitecture: amd64; Zen 4 (a70f41)
Architecture: amd64
CPU ID: AuthenticAMD-00a70f41-178bfbff
SUPERCOP version: 20250415
Operation: crypto_aead
Primitive: aezv3
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
182411283 0 035612 820 1096T:aesniclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025081520250415
182511283 0 035564 820 1096T:aesniclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025081520250415
18359411 0 030182 812 1096T:aesniclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025081520250415
184410425 0 029877 820 1032T:aesniclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025081520250415
187010219 0 031308 780 1192T:aesnigcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025081520250415
187317581 0 040404 780 1192T:aesnigcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025081520250415
19328431 0 027071 756 1064T:aesnigcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025081520250415
212710683 0 031107 772 1096T:aesnigcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025081520250415
63281232996 0 057772 836 1096T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025081520250415
67416232184 0 058741 836 1032T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025081520250415
70008931511 0 056228 836 1096T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025081520250415
79537050416 0 073500 796 1192T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025081520250415
80824125514 0 046764 796 1192T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025081520250415
91543025634 0 046694 828 1096T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025081520250415
92492823446 0 043341 836 1032T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025081520250415
95719225216 0 045908 796 1096T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025081520250415
117061021978 0 040767 772 1064T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025081520250415

Compiler output


aez_ni.c: aez_ni.c:146:22: error: '__builtin_ia32_vec_set_v16qi' needs target feature sse4.1
aez_ni.c:   146 |         __m128i i1 = _mm_insert_epi8(zero, 1, 7);
aez_ni.c:       |                      ^
aez_ni.c: /usr/lib/llvm-19/lib/clang/19/include/smmintrin.h:923:13: note: expanded from macro '_mm_insert_epi8'
aez_ni.c:   923 |   ((__m128i)__builtin_ia32_vec_set_v16qi((__v16qi)(__m128i)(X), (int)(I),      \
aez_ni.c:       |             ^
aez_ni.c: aez_ni.c:147:22: error: '__builtin_ia32_vec_set_v16qi' needs target feature sse4.1
aez_ni.c:   147 |         __m128i i2 = _mm_insert_epi8(zero, 2, 7);
aez_ni.c:       |                      ^
aez_ni.c: /usr/lib/llvm-19/lib/clang/19/include/smmintrin.h:923:13: note: expanded from macro '_mm_insert_epi8'
aez_ni.c:   923 |   ((__m128i)__builtin_ia32_vec_set_v16qi((__v16qi)(__m128i)(X), (int)(I),      \
aez_ni.c:       |             ^
aez_ni.c: aez_ni.c:148:22: error: '__builtin_ia32_vec_set_v16qi' needs target feature sse4.1
aez_ni.c:   148 |         __m128i i3 = _mm_insert_epi8(zero, 3, 7);
aez_ni.c:       |                      ^
aez_ni.c: /usr/lib/llvm-19/lib/clang/19/include/smmintrin.h:923:13: note: expanded from macro '_mm_insert_epi8'
aez_ni.c:   923 |   ((__m128i)__builtin_ia32_vec_set_v16qi((__v16qi)(__m128i)(X), (int)(I),      \
aez_ni.c:       |             ^
aez_ni.c: aez_ni.c:149:26: error: '__builtin_ia32_vec_set_v16qi' needs target feature sse4.1
aez_ni.c:   149 |         __m128i j, one = _mm_insert_epi8(zero, 1, 15);
aez_ni.c:       |                          ^
aez_ni.c: /usr/lib/llvm-19/lib/clang/19/include/smmintrin.h:923:13: note: expanded from macro '_mm_insert_epi8'
aez_ni.c:   923 |   ((__m128i)__builtin_ia32_vec_set_v16qi((__v16qi)(__m128i)(X), (int)(I),      \
aez_ni.c:       |             ^
aez_ni.c: 4 errors generated.

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:aesniclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))

Compiler output


aez_ni.c: In file included from aez_ni.c:37:
aez_ni.c: In function '_mm_loadu_si128',
aez_ni.c:     inlined from 'zero_pad' at aez_ni.c:67:12,
aez_ni.c:     inlined from 'cipher_aez_tiny' at aez_ni.c:498:18,
aez_ni.c:     inlined from 'aez_encrypt' at aez_ni.c:588:9,
aez_ni.c:     inlined from 'crypto_aead_aezv3_aesni_timingleaks_encrypt' at aez_ni.c:637:5:
aez_ni.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/emmintrin.h:706:10: warning: array subscript '__m128i_u[2]' is partly outside array bounds of 'const unsigned char[48]' [-Warray-bounds=]
aez_ni.c:   706 |   return *__P;
aez_ni.c:       |          ^~~~
aez_ni.c: aez_ni.c: In function 'crypto_aead_aezv3_aesni_timingleaks_encrypt':
aez_ni.c: aez_ni.c:59:28: note: at offset [33, 48] into object 'pad' of size 48
aez_ni.c:    59 | static const unsigned char pad[] = {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
aez_ni.c:       |                            ^~~
aez_ni.c: In function 'load_partial',
aez_ni.c:     inlined from 'load_partial' at aez_ni.c:119:16,
aez_ni.c:     inlined from 'cipher_aez_tiny' at aez_ni.c:498:18,
aez_ni.c:     inlined from 'aez_encrypt' at aez_ni.c:588:9,
aez_ni.c:     inlined from 'crypto_aead_aezv3_aesni_timingleaks_encrypt' at aez_ni.c:637:5:
aez_ni.c: aez_ni.c:123:46: warning: '__builtin_memcpy' forming offset [16, 4294967263] is out of the bounds [0, 16] of object 'tmp' with type '__m128i' [-Warray-bounds=]
aez_ni.c:   123 |         for (i=0; i<n; i++) ((char*)&tmp)[i] = ((char*)p)[i];
aez_ni.c:       |                             ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
aez_ni.c: aez_ni.c: In function 'crypto_aead_aezv3_aesni_timingleaks_encrypt':
aez_ni.c: aez_ni.c:122:17: note: 'tmp' declared here
aez_ni.c:   122 |         __m128i tmp; unsigned i;
aez_ni.c:       |                 ^~~

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:aesnigcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

Compiler output


aez_ref.c: In function 'xor_bytes',
aez_ref.c:     inlined from 'AEZcore' at aez_ref.c:299:38:
aez_ref.c: aez_ref.c:64:29: warning: writing 32 bytes into a region of size 16 [-Wstringop-overflow=]
aez_ref.c:    64 |     while (n) { n--; dst[n] = src1[n] ^ src2[n]; }
aez_ref.c:       |                      ~~~~~~~^~~~~~~~~~~~~~~~~~~
aez_ref.c: aez_ref.c: In function 'AEZcore':
aez_ref.c: aez_ref.c:247:10: note: at offset [0, 15] into destination object 'tmp' of size 16
aez_ref.c:   247 |     byte tmp[16], X[16], Y[16], S[16];
aez_ref.c:       |          ^~~
aez_ref.c: In function 'xor_bytes',
aez_ref.c:     inlined from 'AEZcore.constprop' at aez_ref.c:299:38:
aez_ref.c: aez_ref.c:64:29: warning: writing 32 bytes into a region of size 16 [-Wstringop-overflow=]
aez_ref.c:    64 |     while (n) { n--; dst[n] = src1[n] ^ src2[n]; }
aez_ref.c:       |                      ~~~~~~~^~~~~~~~~~~~~~~~~~~
aez_ref.c: aez_ref.c: In function 'AEZcore.constprop':
aez_ref.c: aez_ref.c:247:10: note: at offset [0, 15] into destination object 'tmp' of size 16
aez_ref.c:   247 |     byte tmp[16], X[16], Y[16], S[16];
aez_ref.c:       |          ^~~

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

Namespace violations


aez_ni.o aez_decrypt T
aez_ni.o aez_encrypt T
aez_ni.o aez_hash T
aez_ni.o aez_setup T
aez_ni.o cipher_aez_core T
aez_ni.o cipher_aez_tiny T
aez_ni.o pass_one T
aez_ni.o pass_two T

Number of similar (implementation,compiler) pairs: 8, namely:
ImplementationCompiler
T:aesniclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:aesniclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:aesniclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:aesniclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:aesnigcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:aesnigcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:aesnigcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:aesnigcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

Namespace violations


aez_ref.o Decrypt T
aez_ref.o Encrypt T
rijndael-alg-fst.o rijndaelDecrypt T
rijndael-alg-fst.o rijndaelDecryptRound T
rijndael-alg-fst.o rijndaelEncrypt T
rijndael-alg-fst.o rijndaelEncryptRound T
rijndael-alg-fst.o rijndaelKeySetupDec T
rijndael-alg-fst.o rijndaelKeySetupEnc T

Number of similar (implementation,compiler) pairs: 9, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)