Implementation notes: amd64, r24000, crypto_aead/paeq128t
Computer: r24000
Microarchitecture: amd64; Coffee Lake (906ea)
Architecture: amd64
CPU ID: GenuineIntel-000906ea-bfebfbff
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: paeq128t
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
26041 | 8450 32 65536 | 22809 908 66632 | T:aesni | clang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240728 | 20240716 |
26140 | 8834 32 65536 | 22432 916 66568 | T:aesni | clang++_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240728 | 20240716 |
26503 | 10434 32 65536 | 27800 916 66600 | T:aesni | clang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240728 | 20240716 |
27316 | 12522 32 65536 | 30032 916 66632 | T:aesni | clang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240728 | 20240716 |
29006 | 34723 28 65536 | 51949 840 66664 | T:aesni | g++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240728 | 20240716 |
1755870 | 10817 32 65536 | 28688 916 66632 | T:ref | clang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240728 | 20240716 |
2166510 | 10737 32 65536 | 28367 916 66600 | T:ref | clang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240728 | 20240716 |
2260977 | 16862 28 65536 | 34045 840 66664 | T:ref | g++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240728 | 20240716 |
2349982 | 5377 28 65536 | 20485 840 66664 | T:ref | g++_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240728 | 20240716 |
6017176 | 3985 32 65536 | 18417 908 66632 | T:ref | clang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240728 | 20240716 |
6017832 | 4012 32 65536 | 17888 916 66568 | T:ref | clang++_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240728 | 20240716 |
6838582 | 4146 28 65536 | 18892 832 66664 | T:ref | g++_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240728 | 20240716 |
7225521 | 3446 28 65536 | 16960 816 66632 | T:ref | g++_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240728 | 20240716 |
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: encrypt.cpp:553: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:933: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: 3 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 (Ubuntu_Clang_16.0.6_(15)) |
T:aesni | clang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_16.0.6_(15)) |
T:aesni | clang++ -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_16.0.6_(15)) |
T:aesni | clang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_16.0.6_(15)) |
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/13/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:433:35:
encrypt.cpp: /usr/lib/gcc/x86_64-linux-gnu/13/include/emmintrin.h:1335:35: warning: 'padding[0]' may be used uninitialized [-Wmaybe-uninitialized]
encrypt.cpp: 1335 | 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: /usr/lib/gcc/x86_64-linux-gnu/13/include/emmintrin.h:1335:35: warning: 'padding[1]' may be used uninitialized [-Wmaybe-uninitialized]
encrypt.cpp: 1335 | 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:435:35:
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 -O -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) |
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:
Implementation | Compiler |
T:aesni | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |