Test results for amd64, hertz, crypto_stream/aes256ctr

[Page version: 20241028 01:32:29]

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: 20241022
Operation: crypto_stream
Primitive: aes256ctr
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
4535267 0 022822 828 1032dolbeau/vaesenc-intclang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
4595299 0 022822 828 1032dolbeau/vaesenc-intclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
5167155 0 023293 804 1128dolbeau/vaesenc-intcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
7774575 0 020717 804 1128dolbeau/aesenc-intcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
174723536 2872 01914925 148260 10568T:cryptoppg++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
176214001 2064 01910732 148212 10440T:cryptoppclang++ -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
178310182 3272 01900625 149252 10440T:cryptoppg++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
179214001 2064 01910732 148212 10440T:cryptoppclang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
18249377 1480 01902897 148204 10440T:cryptoppclang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
2015723 0 017722 884 1128T:opensslcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
2033419 0 014991 876 1032T:opensslclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
2049424 0 018589 884 1032T:opensslclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
2061424 0 018621 884 1032T:opensslclang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
2785567 0 013997 860 1000T:opensslcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
36473619 0 016208 780 1000dolbeau/vaesenc-intcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
41342048 0 014640 780 1000dolbeau/aesenc-intcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102420241022

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/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:12:
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: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/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_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: 2, namely:
ImplementationCompiler
dolbeau/aesenc-intcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
dolbeau/aesenc-intcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

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>:204:1: note: expanded from here
aesenc-int.c:   204 | 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>:253:1: note: expanded from here
aesenc-int.c:   253 | 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 -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
dolbeau/aesenc-intclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
dolbeau/aesenc-intclang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(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)
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-intcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.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)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
dolbeau/vaesenc-intcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.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>:204:1: note: expanded from here
vaesenc-int.c:   204 | 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>:229:1: note: expanded from here
vaesenc-int.c:   229 | aesni_encrypt4
vaesenc-int.c:       | ^~~~~~~~~~~~~~
vaesenc-int.c: 4 warnings generated.

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
dolbeau/vaesenc-intclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
dolbeau/vaesenc-intclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
dolbeau/vaesenc-intclang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))

TIMECOP error (can be valgrind bug)


error 111

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x10A52B
   at 0x...: st32 (try-anything.c:47)
   by 0x...: core (try-anything.c:78)
   by 0x...: salsa20 (try-anything.c:101)
   by 0x...: salsa20 (try-anything.c:81)
   by 0x...: testvector (try-anything.c:124)
   by 0x...: myrandom (try-anything.c:132)
   by 0x...: test (try.c:114)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
dolbeau/aesenc-intcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
dolbeau/vaesenc-intcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

TIMECOP error (can be valgrind bug)


error 111

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x10A0AB
   at 0x...: core (try-anything.c:64)
   by 0x...: salsa20.part.0 (try-anything.c:101)
   by 0x...: salsa20 (try-anything.c:129)
   by 0x...: testvector (try-anything.c:124)
   by 0x...: myrandom (try-anything.c:132)
   by 0x...: test (try.c:114)
   by 0x...: main (try-anything.c:345)

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

TIMECOP error (can be valgrind bug)


error 111

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x10B384
   at 0x...: salsa20 (try-anything.c:90)
   by 0x...: canary (try-anything.c:148)
   by 0x...: output_prepare (try-anything.c:178)
   by 0x...: test (try.c:118)
   by 0x...: main (try-anything.c:345)

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

TIMECOP error (can be valgrind bug)


error 111

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x10B3A0
   at 0x...: salsa20 (try-anything.c:90)
   by 0x...: canary (try-anything.c:148)
   by 0x...: output_prepare (try-anything.c:178)
   by 0x...: test (try.c:118)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
dolbeau/vaesenc-intclang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))