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
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
5724010850 32 6553627851 864 66416T:aesniclang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
574008885 32 6553622892 856 66464T:aesniclang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
5743212970 32 6553630163 864 66416T:aesniclang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
575049442 32 6553622499 864 66400T:aesniclang++_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
589929543 28 6553623301 788 66496T:aesnig++_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
597647853 28 6553620104 764 66464T:aesnig++_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
599128517 28 6553621980 780 66496T:aesnig++_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
6130434943 28 6553650685 788 66496T:aesnig++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
227244413589 32 6553631171 864 66416T:refclang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
276950815372 32 6553632562 864 66416T:refclang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
286553221693 28 6553637405 788 66496T:refg++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
30789807304 28 6553621021 788 66496T:refg++_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
72407166100 32 6553619467 864 66400T:refclang++_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
75070164909 28 6553617144 764 66464T:refg++_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
75337207517 32 6553621516 856 66464T:refclang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
84934645974 28 6553619428 780 66496T:refg++_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625

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:
ImplementationCompiler
T:aesniclang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:aesniclang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:aesniclang++ -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:aesniclang++ -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:
ImplementationCompiler
T:aesnig++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:aesnig++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:aesnig++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:aesnig++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall