Implementation notes: amd64, speed2supercop, crypto_aead/paeq160
Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: paeq160
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
57240 | 10850 32 65536 | 27851 864 66416 | T:aesni | clang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
57400 | 8885 32 65536 | 22892 856 66464 | T:aesni | clang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
57432 | 12970 32 65536 | 30163 864 66416 | T:aesni | clang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
57504 | 9442 32 65536 | 22499 864 66400 | T:aesni | clang++_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
58992 | 9543 28 65536 | 23301 788 66496 | T:aesni | g++_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
59764 | 7853 28 65536 | 20104 764 66464 | T:aesni | g++_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
59912 | 8517 28 65536 | 21980 780 66496 | T:aesni | g++_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
61304 | 34943 28 65536 | 50685 788 66496 | T:aesni | g++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
2272444 | 13589 32 65536 | 31171 864 66416 | T:ref | clang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
2769508 | 15372 32 65536 | 32562 864 66416 | T:ref | clang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
2865532 | 21693 28 65536 | 37405 788 66496 | T:ref | g++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
3078980 | 7304 28 65536 | 21021 788 66496 | T:ref | g++_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
7240716 | 6100 32 65536 | 19467 864 66400 | T:ref | clang++_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
7507016 | 4909 28 65536 | 17144 764 66464 | T:ref | g++_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
7533720 | 7517 32 65536 | 21516 856 66464 | T:ref | clang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
8493464 | 5974 28 65536 | 19428 780 66496 | T:ref | g++_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
Compiler output
encrypt.cpp: encrypt.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas]
encrypt.cpp: #pragma intrinsic(_mm_set_epi64x)
encrypt.cpp: ^
encrypt.cpp: encrypt.cpp:575:22: warning: variable 'adblock_counter' set but not used [-Wunused-but-set-variable]
encrypt.cpp: unsigned long long adblock_counter = 1; //AD block counter
encrypt.cpp: ^
encrypt.cpp: encrypt.cpp:992:22: warning: variable 'adblock_counter' set but not used [-Wunused-but-set-variable]
encrypt.cpp: unsigned long long adblock_counter = 1; //AD block counter
encrypt.cpp: ^
encrypt.cpp: encrypt.cpp:757:10: warning: unused variable 'ADblock_mask' [-Wunused-variable]
encrypt.cpp: __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: 4, namely:
Implementation | Compiler |
T:aesni | clang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:aesni | clang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:aesni | clang++ -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:aesni | clang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall |
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 PAEQ160_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:757:17: warning: unused variable 'ADblock_mask' [-Wunused-variable]
encrypt.cpp: 757 | __m128i ADblock_mask = _mm_set_epi32(0xffffffff, 0xffff0000, 0, 0); //upper 6 bytes
encrypt.cpp: | ^~~~~~~~~~~~
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:aesni | g++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:aesni | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:aesni | g++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:aesni | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall |