Implementation notes: amd64, cubi10, crypto_aead/paeq160

Computer: cubi10
Microarchitecture: amd64; Comet Lake (806ec)
Architecture: amd64
CPU ID: GenuineIntel-000806ec-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: paeq160
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
323799301 32 6553622715 876 66552T:aesniclang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
3356613450 32 6553630189 884 66584T:aesniclang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
3371411330 32 6553627973 884 66584T:aesniclang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
340148602 32 6553622323 876 66552T:aesniclang++_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
340399568 28 6553623679 808 66648T:aesnig++_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
3568110126 28 6553624712 816 66648T:aesnig++_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
3571527686 28 6553644184 816 66648T:aesnig++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
394667551 28 6553620515 792 66616T:aesnig++_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
205153914492 28 6553630952 816 66648T:refg++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
260600215054 32 6553632053 884 66584T:refclang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
260763815199 32 6553632277 884 66584T:refclang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
61692057107 28 6553621664 816 66648T:refg++_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
65278425806 32 6553619683 876 66552T:refclang++_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
65677835223 32 6553618827 876 66552T:refclang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
70491776476 28 6553620567 808 66648T:refg++_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
201143094883 28 6553617795 792 66616T:refg++_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625

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: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: 2 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_11.0.1)
T:aesniclang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:aesniclang++ -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall
T:aesniclang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

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:10: 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 (10.2.1_20210110)
T:aesnig++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:aesnig++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:aesnig++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)