Implementation notes: amd64, hertz, crypto_aead/paeq80
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: paeq80
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
15638 | 9728 32 65536 | 24485 892 66632 | T:aesni | clang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
15815 | 30998 32 65536 | 50051 900 66632 | T:aesni | clang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
20241 | 15614 32 65536 | 36043 900 66632 | T:aesni | clang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
22231 | 32707 28 65536 | 49965 840 66728 | T:aesni | g++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
23325 | 10075 28 65536 | 25325 840 66664 | T:aesni | g++_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
23882 | 8009 28 65536 | 21592 816 66632 | T:aesni | g++_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
1171682 | 15299 32 65536 | 36379 900 66632 | T:ref | clang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
1364650 | 15163 32 65536 | 36091 900 66632 | T:ref | clang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
1488663 | 19438 28 65536 | 36685 840 66728 | T:ref | g++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
1574522 | 7700 28 65536 | 22925 840 66664 | T:ref | g++_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
4417816 | 5203 28 65536 | 18768 816 66632 | T:ref | g++_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
5238424 | 6165 32 65536 | 21061 892 66632 | T:ref | clang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
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:585:22: warning: variable 'adblock_counter' set but not used [-Wunused-but-set-variable]
encrypt.cpp: 585 | unsigned long long adblock_counter = 1; //AD block counter
encrypt.cpp: | ^
encrypt.cpp: encrypt.cpp:1025:22: warning: variable 'adblock_counter' set but not used [-Wunused-but-set-variable]
encrypt.cpp: 1025 | unsigned long long adblock_counter = 1; //AD block counter
encrypt.cpp: | ^
encrypt.cpp: encrypt.cpp:783:10: warning: unused variable 'ADblock_mask' [-Wunused-variable]
encrypt.cpp: 783 | __m128i ADblock_mask = _mm_set_epi32(0xffffffff, 0xffff0000, 0, 0); //upper 6 bytes
encrypt.cpp: | ^~~~~~~~~~~~
encrypt.cpp: 4 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_18.1.3_(1ubuntu1)) |
T:aesni | clang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:aesni | clang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
Compiler output
encrypt.cpp: encrypt.cpp:21: warning: ignoring '#pragma intrinsic ' [-Wunknown-pragmas]
encrypt.cpp: 21 | #pragma intrinsic(_mm_set_epi64x)
encrypt.cpp: |
encrypt.cpp: encrypt.cpp: In function 'int PAEQ80_opt_AESNI_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*)':
encrypt.cpp: encrypt.cpp:783:17: warning: unused variable 'ADblock_mask' [-Wunused-variable]
encrypt.cpp: 783 | __m128i ADblock_mask = _mm_set_epi32(0xffffffff, 0xffff0000, 0, 0); //upper 6 bytes
encrypt.cpp: | ^~~~~~~~~~~~
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:aesni | g++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:aesni | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:aesni | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |