Test results for amd64, hertz, crypto_aead/paeq128tnm
[Page version: 20261007 20:07:58]
Measurements for amd64, hertz, crypto_aead
Test results for amd64, hertz, crypto_aead
Test results for crypto_aead/paeq128tnm
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20261004
Operation: crypto_aead
Primitive: paeq128tnm
| Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
| 18282 | 14354 32 65536 | 47868 1392 67232 | T:aesni | clang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20261006 | 20261004 |
| 18656 | 10154 32 65536 | 38834 1400 67232 | T:aesni | clang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20261006 | 20261004 |
| 19087 | 38333 28 65536 | 70165 1368 67392 | T:aesni | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20261006 | 20261004 |
| 19363 | 10373 28 65536 | 39781 1368 67392 | T:aesni | g++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20261006 | 20261004 |
| 19583 | 8245 28 65536 | 35776 1360 67264 | T:aesni | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20261006 | 20261004 |
| 23352 | 14818 32 65536 | 49796 1392 67232 | T:aesni | clang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20261006 | 20261004 |
| 1432042 | 16560 32 65536 | 52300 1392 67232 | T:ref | clang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20261006 | 20261004 |
| 1508170 | 15895 28 65536 | 47598 1360 67392 | T:ref | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20261006 | 20261004 |
| 1923475 | 7982 28 65536 | 37310 1360 67392 | T:ref | g++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20261006 | 20261004 |
| 1938665 | 15552 32 65536 | 49220 1392 67232 | T:ref | clang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20261006 | 20261004 |
| 5066389 | 4861 28 65536 | 32273 1352 67264 | T:ref | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20261006 | 20261004 |
| 5560379 | 8772 32 65536 | 37562 1400 67232 | T:ref | clang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20261006 | 20261004 |
Compiler output
encrypt.cpp: encrypt.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas]
encrypt.cpp: 21 | #pragma intrinsic(_mm_set_epi64x)
encrypt.cpp: | ^
encrypt.cpp: encrypt.cpp:555:22: warning: variable 'adblock_counter' set but not used [-Wunused-but-set-variable]
encrypt.cpp: 555 | unsigned long long adblock_counter = 1; //AD block counter
encrypt.cpp: | ^
encrypt.cpp: encrypt.cpp:938:22: warning: variable 'adblock_counter' set but not used [-Wunused-but-set-variable]
encrypt.cpp: 938 | unsigned long long adblock_counter = 1; //AD block counter
encrypt.cpp: | ^
encrypt.cpp: 3 warnings generated.
Number of similar (implementation,compiler) pairs: 3, namely:
| Implementation | Compiler |
| T:aesni | clang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_21.1.8_(6ubuntu1)) |
| T:aesni | clang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_21.1.8_(6ubuntu1)) |
| T:aesni | clang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_21.1.8_(6ubuntu1)) |
Compiler output
encrypt.cpp: encrypt.cpp:21: warning: ignoring '#pragma intrinsic ' [-Wunknown-pragmas]
encrypt.cpp: 21 | #pragma intrinsic(_mm_set_epi64x)
encrypt.cpp: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/include/wmmintrin.h:31,
encrypt.cpp: from encrypt.cpp:13:
encrypt.cpp: In function '__m128i _mm_xor_si128(__m128i, __m128i)',
encrypt.cpp: inlined from 'int PAEQ128_opt_AESNI_decrypt(unsigned char*, long long unsigned int*, const unsigned char*, long long unsigned int, const unsigned char*, long long unsigned int, const unsigned char*, const unsigned char*)' at encrypt.cpp:435:35:
encrypt.cpp: /usr/lib/gcc/x86_64-linux-gnu/15/include/emmintrin.h:1336:35: warning: 'padding[0]' may be used uninitialized [-Wmaybe-uninitialized]
encrypt.cpp: 1336 | return (__m128i) ((__v2du)__A ^ (__v2du)__B);
encrypt.cpp: | ^~~~~~~~~~~
encrypt.cpp: encrypt.cpp: In function 'int PAEQ128_opt_AESNI_decrypt(unsigned char*, long long unsigned int*, const unsigned char*, long long unsigned int, const unsigned char*, long long unsigned int, const unsigned char*, const unsigned char*)':
encrypt.cpp: encrypt.cpp:403:41: note: 'padding[0]' was declared here
encrypt.cpp: 403 | __m128i padding[3];
encrypt.cpp: | ^~~~~~~
encrypt.cpp: In function '__m128i _mm_xor_si128(__m128i, __m128i)',
encrypt.cpp: inlined from 'int PAEQ128_opt_AESNI_decrypt(unsigned char*, long long unsigned int*, const unsigned char*, long long unsigned int, const unsigned char*, long long unsigned int, const unsigned char*, const unsigned char*)' at encrypt.cpp:436:35:
encrypt.cpp: /usr/lib/gcc/x86_64-linux-gnu/15/include/emmintrin.h:1336:35: warning: 'padding[1]' may be used uninitialized [-Wmaybe-uninitialized]
encrypt.cpp: 1336 | return (__m128i) ((__v2du)__A ^ (__v2du)__B);
encrypt.cpp: | ^~~~~~~~~~~
encrypt.cpp: encrypt.cpp: In function 'int PAEQ128_opt_AESNI_decrypt(unsigned char*, long long unsigned int*, const unsigned char*, long long unsigned int, const unsigned char*, long long unsigned int, const unsigned char*, const unsigned char*)':
encrypt.cpp: encrypt.cpp:403:41: note: 'padding[1]' was declared here
encrypt.cpp: 403 | __m128i padding[3];
encrypt.cpp: | ^~~~~~~
encrypt.cpp: In function '__m128i _mm_xor_si128(__m128i, __m128i)',
encrypt.cpp: inlined from 'int PAEQ128_opt_AESNI_decrypt(unsigned char*, long long unsigned int*, const unsigned char*, long long unsigned int, const unsigned char*, long long unsigned int, const unsigned char*, const unsigned char*)' at encrypt.cpp:437:35:
encrypt.cpp: /usr/lib/gcc/x86_64-linux-gnu/15/include/emmintrin.h:1336:35: warning: 'padding[2]' may be used uninitialized [-Wmaybe-uninitialized]
encrypt.cpp: ...
Number of similar (implementation,compiler) pairs: 2, namely:
| Implementation | Compiler |
| T:aesni | g++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0) |
| T:aesni | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0) |
Compiler output
encrypt.cpp: encrypt.cpp:21: warning: ignoring '#pragma intrinsic ' [-Wunknown-pragmas]
encrypt.cpp: 21 | #pragma intrinsic(_mm_set_epi64x)
Number of similar (implementation,compiler) pairs: 1, namely:
| Implementation | Compiler |
| T:aesni | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0) |
Compiler output
encrypt.cpp: In file included from encrypt.cpp:13:
encrypt.cpp: /usr/lib/llvm-21/lib/clang/21/include/intrin.h:12:15: fatal error: 'intrin.h' file not found
encrypt.cpp: 12 | #include_next <intrin.h>
encrypt.cpp: | ^~~~~~~~~~
encrypt.cpp: 1 error generated.
Number of similar (implementation,compiler) pairs: 3, namely:
| Implementation | Compiler |
| T:opt-win-aes | clang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_21.1.8_(6ubuntu1)) |
| T:opt-win-aes | clang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_21.1.8_(6ubuntu1)) |
| T:opt-win-aes | clang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_21.1.8_(6ubuntu1)) |
Compiler output
encrypt.cpp: encrypt.cpp:13:10: fatal error: intrin.h: No such file or directory
encrypt.cpp: 13 | #include <intrin.h>
encrypt.cpp: | ^~~~~~~~~~
encrypt.cpp: compilation terminated.
Number of similar (implementation,compiler) pairs: 3, namely:
| Implementation | Compiler |
| T:opt-win-aes | g++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0) |
| T:opt-win-aes | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0) |
| T:opt-win-aes | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0) |
Compiler output
encrypt.cpp: encrypt.cpp:355:27: warning: implicit conversion from 'int' to 'unsigned char' changes value from 256 to 0 [-Wconstant-conversion]
encrypt.cpp: 355 | D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits, zero for 256-bit nonce
encrypt.cpp: | ~ ~~~~~~~~~~~~~~~~^~
encrypt.cpp: encrypt.cpp:610:27: warning: implicit conversion from 'int' to 'unsigned char' changes value from 256 to 0 [-Wconstant-conversion]
encrypt.cpp: 610 | D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits, zero for 256-bit nonce
encrypt.cpp: | ~ ~~~~~~~~~~~~~~~~^~
encrypt.cpp: encrypt.cpp:864:27: warning: implicit conversion from 'int' to 'unsigned char' changes value from 256 to 0 [-Wconstant-conversion]
encrypt.cpp: 864 | D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits
encrypt.cpp: | ~ ~~~~~~~~~~~~~~~~^~
encrypt.cpp: 3 warnings generated.
Number of similar (implementation,compiler) pairs: 3, namely:
| Implementation | Compiler |
| T:ref | clang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_21.1.8_(6ubuntu1)) |
| T:ref | clang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_21.1.8_(6ubuntu1)) |
| T:ref | clang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_21.1.8_(6ubuntu1)) |
Compiler output
encrypt.cpp: encrypt.cpp: In function 'int crypto_aead_paeq128tnm_ref_timingleaks_encrypt(unsigned char*, long long unsigned int*, const unsigned char*, long long unsigned int, const unsigned char*, long long unsigned int, const unsigned char*, const unsigned char*, const unsigned char*)':
encrypt.cpp: encrypt.cpp:355:41: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '256' to '0' [-Woverflow]
encrypt.cpp: 355 | D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits, zero for 256-bit nonce
encrypt.cpp: encrypt.cpp: In function 'int crypto_aead_encrypt_no_nonce(unsigned char*, long long unsigned int*, const unsigned char*, long long unsigned int, const unsigned char*, long long unsigned int, const unsigned char*, unsigned char*, const unsigned char*)':
encrypt.cpp: encrypt.cpp:610:41: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '256' to '0' [-Woverflow]
encrypt.cpp: 610 | D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits, zero for 256-bit nonce
encrypt.cpp: encrypt.cpp: In function 'int crypto_aead_paeq128tnm_ref_timingleaks_decrypt(unsigned char*, long long unsigned int*, unsigned char*, const unsigned char*, long long unsigned int, const unsigned char*, long long unsigned int, const unsigned char*, const unsigned char*)':
encrypt.cpp: encrypt.cpp:864:41: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '256' to '0' [-Woverflow]
encrypt.cpp: 864 | D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits
Number of similar (implementation,compiler) pairs: 3, namely:
| Implementation | Compiler |
| T:ref | g++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0) |
| T:ref | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0) |
| T:ref | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0) |