Test results for amd64, hertz, crypto_stream/aes256ctr

[Page version: 20260629 14:45:54]

Measurements for amd64, hertz, crypto_stream Test results for amd64, hertz, crypto_stream Test results for crypto_stream/aes256ctr
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20260627
Operation: crypto_stream
Primitive: aes256ctr
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
4545475 0 036243 1272 1632dolbeau/vaesenc-intclang-22 -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026062720260627
4635475 0 036243 1272 1632dolbeau/vaesenc-intclang-22 -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026062720260627
5917533 0 036814 1240 1728dolbeau/vaesenc-intgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026062720260627
7964909 0 034174 1240 1728dolbeau/aesenc-intgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026062720260627
8813432 0 034131 1272 1632dolbeau/aesenc-intclang-22 -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026062720260627
8873432 0 034131 1272 1632dolbeau/aesenc-intclang-22 -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026062720260627
154124543 2872 01993234 148448 11168T:cryptoppg++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026062720260627
154924767 2864 01997534 148448 11168T:cryptoppg++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026062720260627
156513875 2064 01993736 148424 11040T:cryptoppclang++-22 -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026062720260627
15929258 1480 01983846 148432 11040T:cryptoppclang++-22 -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026062720260627
162410225 3272 01981249 149464 11040T:cryptoppg++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026062720260627
168211876 2064 01991128 148424 11040T:cryptoppclang++-22 -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026062720260627
2002419 0 025668 1320 1632T:opensslclang-22 -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026062720260627
2008424 0 031898 1328 1632T:opensslclang-22 -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026062720260627
2010723 0 030891 1320 1728T:opensslgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026062720260627
2014597 0 027075 1320 1728T:opensslgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026062720260627
2028424 0 031898 1328 1632T:opensslclang-22 -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026062720260627
25873833 0 029494 1240 1728dolbeau/vaesenc-intgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026062720260627
2763567 0 025118 1296 1632T:opensslgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026062720260627
27962157 0 027782 1240 1728dolbeau/aesenc-intgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026062720260627
36653626 0 027337 1216 1632dolbeau/vaesenc-intgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026062720260627
37983097 0 027605 1264 1632dolbeau/aesenc-intclang-22 -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026062720260627
39291986 0 025689 1216 1632dolbeau/aesenc-intgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026062720260627

Compiler output


aesenc-int.c: aesenc-int.c:81:20: warning: unused function 'aesni_encrypt1' [-Wunused-function]
aesenc-int.c:    81 | static inline void aesni_encrypt1(unsigned char *out, unsigned char *n, __m128i rkeys[16]) {
aesenc-int.c:       |                    ^~~~~~~~~~~~~~
aesenc-int.c: aesenc-int.c:97:20: warning: unused function 'incle' [-Wunused-function]
aesenc-int.c:    97 | static inline void incle(unsigned char n[16]) {
aesenc-int.c:       |                    ^~~~~
aesenc-int.c: aesenc-int.c:195:1: warning: unused function 'aesni_encrypt4' [-Wunused-function]
aesenc-int.c:   195 | FUNC(4, MAKE4)
aesenc-int.c:       | ^~~~~~~~~~~~~~
aesenc-int.c: aesenc-int.c:172:22: note: expanded from macro 'FUNC'
aesenc-int.c:   172 |   static inline void aesni_encrypt##N(unsigned char *out, unsigned char *n, __m128i rkeys[16]) { \
aesenc-int.c:       |                      ^~~~~~~~~~~~~~~~
aesenc-int.c: <scratch space>:125:1: note: expanded from here
aesenc-int.c:   125 | aesni_encrypt4
aesenc-int.c:       | ^~~~~~~~~~~~~~
aesenc-int.c: aesenc-int.c:196:1: warning: unused function 'aesni_encrypt6' [-Wunused-function]
aesenc-int.c:   196 | FUNC(6, MAKE6)
aesenc-int.c:       | ^~~~~~~~~~~~~~
aesenc-int.c: aesenc-int.c:172:22: note: expanded from macro 'FUNC'
aesenc-int.c:   172 |   static inline void aesni_encrypt##N(unsigned char *out, unsigned char *n, __m128i rkeys[16]) { \
aesenc-int.c:       |                      ^~~~~~~~~~~~~~~~
aesenc-int.c: <scratch space>:174:1: note: expanded from here
aesenc-int.c:   174 | aesni_encrypt6
aesenc-int.c:       | ^~~~~~~~~~~~~~
aesenc-int.c: aesenc-int.c:197:1: warning: unused function 'aesni_encrypt7' [-Wunused-function]
aesenc-int.c: ...

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
dolbeau/aesenc-intclang-22 -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_22.1.2_(1ubuntu1))
dolbeau/aesenc-intclang-22 -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_22.1.2_(1ubuntu1))
dolbeau/aesenc-intclang-22 -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_22.1.2_(1ubuntu1))

Compiler output


aesenc-int.c: aesenc-int.c:23:9: warning: '_bswap64' redefined
aesenc-int.c:    23 | #define _bswap64(a) __builtin_bswap64(a)
aesenc-int.c:       |         ^~~~~~~~
aesenc-int.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/include/x86gprintrin.h:33,
aesenc-int.c:                  from /usr/lib/gcc/x86_64-linux-gnu/15/include/immintrin.h:27,
aesenc-int.c:                  from aesenc-int.c:12:
aesenc-int.c: /usr/lib/gcc/x86_64-linux-gnu/15/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:24:9: warning: '_bswap' redefined
aesenc-int.c:    24 | #define _bswap(a) __builtin_bswap(a)
aesenc-int.c:       |         ^~~~~~
aesenc-int.c: /usr/lib/gcc/x86_64-linux-gnu/15/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_encrypt1':
aesenc-int.c: aesenc-int.c:85: warning: ignoring '#pragma unroll ' [-Wunknown-pragmas]
aesenc-int.c:    85 | #pragma unroll(13)

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
dolbeau/aesenc-intgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)
dolbeau/aesenc-intgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)
dolbeau/aesenc-intgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)

Compiler output


vaesenc-int.c: vaesenc-int.c:119:20: warning: unused function 'aesni_encrypt1' [-Wunused-function]
vaesenc-int.c:   119 | static inline void aesni_encrypt1(unsigned char *out, unsigned char *n, __mAESi rkeys[16]) {
vaesenc-int.c:       |                    ^~~~~~~~~~~~~~
vaesenc-int.c: vaesenc-int.c:135:20: warning: unused function 'incle' [-Wunused-function]
vaesenc-int.c:   135 | static inline void incle(unsigned char n[16]) {
vaesenc-int.c:       |                    ^~~~~
vaesenc-int.c: vaesenc-int.c:279:1: warning: unused function 'aesni_encrypt2' [-Wunused-function]
vaesenc-int.c:   279 | FUNC(2, MAKE2)
vaesenc-int.c:       | ^~~~~~~~~~~~~~
vaesenc-int.c: vaesenc-int.c:256:22: note: expanded from macro 'FUNC'
vaesenc-int.c:   256 |   static inline void aesni_encrypt##N(unsigned char *out, unsigned int *n, const __mAESi rkeys[15]) { \
vaesenc-int.c:       |                      ^~~~~~~~~~~~~~~~
vaesenc-int.c: <scratch space>:125:1: note: expanded from here
vaesenc-int.c:   125 | aesni_encrypt2
vaesenc-int.c:       | ^~~~~~~~~~~~~~
vaesenc-int.c: vaesenc-int.c:280:1: warning: unused function 'aesni_encrypt4' [-Wunused-function]
vaesenc-int.c:   280 | FUNC(4, MAKE4)
vaesenc-int.c:       | ^~~~~~~~~~~~~~
vaesenc-int.c: vaesenc-int.c:256:22: note: expanded from macro 'FUNC'
vaesenc-int.c:   256 |   static inline void aesni_encrypt##N(unsigned char *out, unsigned int *n, const __mAESi rkeys[15]) { \
vaesenc-int.c:       |                      ^~~~~~~~~~~~~~~~
vaesenc-int.c: <scratch space>:150:1: note: expanded from here
vaesenc-int.c:   150 | aesni_encrypt4
vaesenc-int.c:       | ^~~~~~~~~~~~~~
vaesenc-int.c: 4 warnings generated.

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
dolbeau/vaesenc-intclang-22 -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_22.1.2_(1ubuntu1))
dolbeau/vaesenc-intclang-22 -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_22.1.2_(1ubuntu1))
dolbeau/vaesenc-intclang-22 -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_22.1.2_(1ubuntu1))

Compiler output


vaesenc-int.c: vaesenc-int.c: In function 'aesni_encrypt1':
vaesenc-int.c: vaesenc-int.c:123: warning: ignoring '#pragma unroll ' [-Wunknown-pragmas]
vaesenc-int.c:   123 | #pragma unroll(13)

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
dolbeau/vaesenc-intgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)
dolbeau/vaesenc-intgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)

Compiler output


vaesenc-int.c: vaesenc-int.c: In function 'aesni_encrypt1':
vaesenc-int.c: vaesenc-int.c:123: warning: ignoring '#pragma unroll ' [-Wunknown-pragmas]
vaesenc-int.c:   123 | #pragma unroll(13)
vaesenc-int.c: In function 'aesni_encrypt8',
vaesenc-int.c:     inlined from 'crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex' at vaesenc-int.c:313:3:
vaesenc-int.c: vaesenc-int.c:258:15: warning: array subscript 4 is outside array bounds of 'unsigned char[16]' [-Warray-bounds=]
vaesenc-int.c:   258 |     long long nl = *(long long*)&n[8];                                  \
vaesenc-int.c:       |               ^~
vaesenc-int.c: vaesenc-int.c:281:1: note: in expansion of macro 'FUNC'
vaesenc-int.c:   281 | FUNC(8, MAKE8)
vaesenc-int.c:       | ^~~~
vaesenc-int.c: vaesenc-int.c: In function 'crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex':
vaesenc-int.c: vaesenc-int.c:293:25: note: at offset 32 into object 'n2' of size 16
vaesenc-int.c:   293 |   ALIGN16 unsigned char n2[16];
vaesenc-int.c:       |                         ^~
vaesenc-int.c: In function 'aesni_encrypt8',
vaesenc-int.c:     inlined from 'crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex_xor' at vaesenc-int.c:347:3:
vaesenc-int.c: vaesenc-int.c:258:15: warning: array subscript 4 is outside array bounds of 'unsigned char[16]' [-Warray-bounds=]
vaesenc-int.c:   258 |     long long nl = *(long long*)&n[8];                                  \
vaesenc-int.c:       |               ^~
vaesenc-int.c: vaesenc-int.c:281:1: note: in expansion of macro 'FUNC'
vaesenc-int.c:   281 | FUNC(8, MAKE8)
vaesenc-int.c:       | ^~~~
vaesenc-int.c: vaesenc-int.c: In function 'crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex_xor':
vaesenc-int.c: vaesenc-int.c:327:25: note: at offset 32 into object 'n2' of size 16
vaesenc-int.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
dolbeau/vaesenc-intgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x4006298
   at 0x...: memset (string_fortified.h:59)
   by 0x...: cpucycles_works (wrapper.c:59)
   by 0x...: supercop_cpucycles_ticks_amd64_tsc_setup (amd64-tsc.c:28)
   by 0x...: cpucycles_init (wrapper.c:314)
   by 0x...: main (try-anything.c:330)
Illegal instruction (core dumped)

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
dolbeau/aesenc-intclang-22 -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_22.1.2_(1ubuntu1))
dolbeau/aesenc-intclang-22 -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_22.1.2_(1ubuntu1))

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x40057D8
   at 0x...: memset (string_fortified.h:59)
   by 0x...: cpucycles_works (wrapper.c:59)
   by 0x...: supercop_cpucycles_ticks_amd64_tsc_setup (amd64-tsc.c:28)
   by 0x...: cpucycles_init (wrapper.c:314)
   by 0x...: main (try-anything.c:330)
Illegal instruction (core dumped)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
dolbeau/aesenc-intclang-22 -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_22.1.2_(1ubuntu1))

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x4005898
   at 0x...: memset (string_fortified.h:59)
   by 0x...: cpucycles_works (wrapper.c:59)
   by 0x...: supercop_cpucycles_ticks_amd64_tsc_setup (amd64-tsc.c:28)
   by 0x...: cpucycles_init (wrapper.c:314)
   by 0x...: main (try-anything.c:330)
Illegal instruction (core dumped)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
dolbeau/aesenc-intgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x40068D8
   at 0x...: memset (string_fortified.h:59)
   by 0x...: cpucycles_works (wrapper.c:59)
   by 0x...: supercop_cpucycles_ticks_amd64_tsc_setup (amd64-tsc.c:28)
   by 0x...: cpucycles_init (wrapper.c:314)
   by 0x...: main (try-anything.c:330)
Illegal instruction (core dumped)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
dolbeau/aesenc-intgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x4005158
   at 0x...: memset (string_fortified.h:59)
   by 0x...: cpucycles_works (wrapper.c:59)
   by 0x...: supercop_cpucycles_ticks_amd64_tsc_setup (amd64-tsc.c:28)
   by 0x...: cpucycles_init (wrapper.c:314)
   by 0x...: main (try-anything.c:330)
Illegal instruction (core dumped)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
dolbeau/aesenc-intgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x4006558
   at 0x...: memset (string_fortified.h:59)
   by 0x...: cpucycles_works (wrapper.c:59)
   by 0x...: supercop_cpucycles_ticks_amd64_tsc_setup (amd64-tsc.c:28)
   by 0x...: cpucycles_init (wrapper.c:314)
   by 0x...: main (try-anything.c:330)
Illegal instruction (core dumped)

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
dolbeau/vaesenc-intclang-22 -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_22.1.2_(1ubuntu1))
dolbeau/vaesenc-intclang-22 -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_22.1.2_(1ubuntu1))

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x4005D58
   at 0x...: memset (string_fortified.h:59)
   by 0x...: cpucycles_works (wrapper.c:59)
   by 0x...: supercop_cpucycles_ticks_amd64_tsc_setup (amd64-tsc.c:28)
   by 0x...: cpucycles_init (wrapper.c:314)
   by 0x...: main (try-anything.c:330)
Illegal instruction (core dumped)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
dolbeau/vaesenc-intgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x4007198
   at 0x...: memset (string_fortified.h:59)
   by 0x...: cpucycles_works (wrapper.c:59)
   by 0x...: supercop_cpucycles_ticks_amd64_tsc_setup (amd64-tsc.c:28)
   by 0x...: cpucycles_init (wrapper.c:314)
   by 0x...: main (try-anything.c:330)
Illegal instruction (core dumped)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
dolbeau/vaesenc-intgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x4005618
   at 0x...: memset (string_fortified.h:59)
   by 0x...: cpucycles_works (wrapper.c:59)
   by 0x...: supercop_cpucycles_ticks_amd64_tsc_setup (amd64-tsc.c:28)
   by 0x...: cpucycles_init (wrapper.c:314)
   by 0x...: main (try-anything.c:330)
Illegal instruction (core dumped)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
dolbeau/vaesenc-intgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)