Implementation notes: amd64, comet, crypto_aead/paeq128t

Computer: comet
Microarchitecture: amd64; Comet Lake (806ec)
Architecture: amd64
CPU ID: GenuineIntel-000806ec-bfebfbff
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: paeq128t
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
260438542 32 6553623148 916 66624T:aesniclang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
260878946 32 6553622662 924 66560T:aesniclang++_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
267509327 28 6553623628 816 66656T:aesnig++_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
2707912562 32 6553630286 924 66624T:aesniclang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
2754110354 32 6553627798 924 66592T:aesniclang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
2841330759 28 6553646980 816 66656T:aesnig++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
323118311 28 6553622171 808 66656T:aesnig++_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
336037156 28 6553619799 792 66624T:aesnig++_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
17674529423 32 6553627462 924 66624T:refclang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
198771712928 28 6553629100 816 66656T:refg++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
20926699023 32 6553626686 924 66592T:refclang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
22523745175 28 6553619436 816 66656T:refg++_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
60459874060 32 6553618054 924 66560T:refclang++_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
65237213982 28 6553617811 808 66656T:refg++_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
80152656374 32 6553620868 916 66624T:refclang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
227445613235 28 6553615847 792 66624T:refg++_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625

Compiler output


encrypt.cpp: encrypt.cpp:22:9: warning: unknown pragma ignored [-Wunknown-pragmas]
encrypt.cpp: #pragma intrinsic(_mm_set_epi64x)
encrypt.cpp:         ^
encrypt.cpp: 1 warning 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_14.0.6)
T:aesniclang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:aesniclang++ -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:aesniclang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)

Compiler output


encrypt.cpp: encrypt.cpp:22: warning: ignoring '#pragma intrinsic ' [-Wunknown-pragmas]
encrypt.cpp:    22 | #pragma intrinsic(_mm_set_epi64x)
encrypt.cpp:       |
encrypt.cpp: In file included from /usr/lib/gcc/x86_64-linux-gnu/12/include/wmmintrin.h:31,
encrypt.cpp:                  from encrypt.cpp:14:
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/12/include/emmintrin.h:1329:35: warning: 'padding[2]' may be used uninitialized [-Wmaybe-uninitialized]
encrypt.cpp:  1329 |   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:401:41: note: 'padding[2]' was declared here
encrypt.cpp:   401 |                                 __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:433:35:
encrypt.cpp: /usr/lib/gcc/x86_64-linux-gnu/12/include/emmintrin.h:1329:35: warning: 'padding[0]' may be used uninitialized [-Wmaybe-uninitialized]
encrypt.cpp:  1329 |   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:401:41: note: 'padding[0]' was declared here
encrypt.cpp:   401 |                                 __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:434:35:
encrypt.cpp: ...

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
T:aesnig++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:aesnig++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall

Compiler output


encrypt.cpp: encrypt.cpp:22: warning: ignoring '#pragma intrinsic ' [-Wunknown-pragmas]
encrypt.cpp:    22 | #pragma intrinsic(_mm_set_epi64x)
encrypt.cpp:       |

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:aesnig++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)

Compiler output


encrypt.cpp: encrypt.cpp:22: warning: ignoring '#pragma intrinsic ' [-Wunknown-pragmas]
encrypt.cpp:    22 | #pragma intrinsic(_mm_set_epi64x)
encrypt.cpp:       |
encrypt.cpp: In file included from /usr/lib/gcc/x86_64-linux-gnu/12/include/wmmintrin.h:31,
encrypt.cpp:                  from encrypt.cpp:14:
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/12/include/emmintrin.h:1329:35: warning: 'padding[2]' may be used uninitialized [-Wmaybe-uninitialized]
encrypt.cpp:  1329 |   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:401:41: note: 'padding[2]' was declared here
encrypt.cpp:   401 |                                 __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:434:35:
encrypt.cpp: /usr/lib/gcc/x86_64-linux-gnu/12/include/emmintrin.h:1329:35: warning: 'padding[1]' may be used uninitialized [-Wmaybe-uninitialized]
encrypt.cpp:  1329 |   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:401:41: note: 'padding[1]' was declared here
encrypt.cpp:   401 |                                 __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:433:35:
encrypt.cpp: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:aesnig++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)