Implementation notes: armeabi, bblack, crypto_aead/paeq128tnm
Computer: bblack
Microarchitecture: armeabi; Cortex-A8 (413fc082)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240425
Operation: crypto_aead
Primitive: paeq128tnm
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
8510624 | 9996 28 65536 | 20859 492 66312 | T:ref | g++_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE | 20240509 | 20240425 |
9468376 | 13568 28 65536 | 28007 460 66320 | T:ref | clang++_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE | 20240509 | 20240425 |
11739904 | 8784 28 65536 | 24943 460 66312 | T:ref | clang++_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE | 20240509 | 20240425 |
11741148 | 8784 28 65536 | 24943 460 66312 | T:ref | clang++_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE | 20240509 | 20240425 |
17314072 | 5104 28 65536 | 14935 492 66312 | T:ref | g++_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE | 20240509 | 20240425 |
19354316 | 4212 28 65536 | 13459 484 66312 | T:ref | g++_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE | 20240509 | 20240425 |
20470184 | 6748 28 65536 | 21269 456 66312 | T:ref | clang++_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE | 20240509 | 20240425 |
21898744 | 4708 28 65536 | 14359 492 66312 | T:ref | g++_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE | 20240509 | 20240425 |
Compiler output
encrypt.cpp: In file included from encrypt.cpp:13:
encrypt.cpp: In file included from /usr/include/clang/7.0.1/include/wmmintrin.h:27:
encrypt.cpp: In file included from /usr/include/clang/7.0.1/include/emmintrin.h:27:
encrypt.cpp: In file included from /usr/include/clang/7.0.1/include/xmmintrin.h:27:
encrypt.cpp: /usr/include/clang/7.0.1/include/mmintrin.h:47:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
encrypt.cpp: __builtin_ia32_emms();
encrypt.cpp: ^
encrypt.cpp: /usr/include/clang/7.0.1/include/mmintrin.h:47:5: note: '__builtin_isless' declared here
encrypt.cpp: /usr/include/clang/7.0.1/include/mmintrin.h:47:25: error: too few arguments to function call, expected 2, have 0
encrypt.cpp: __builtin_ia32_emms();
encrypt.cpp: ^
encrypt.cpp: /usr/include/clang/7.0.1/include/mmintrin.h:64:19: error: use of undeclared identifier '__builtin_ia32_vec_init_v2si'
encrypt.cpp: return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
encrypt.cpp: ^
encrypt.cpp: /usr/include/clang/7.0.1/include/mmintrin.h:81:12: error: use of undeclared identifier '__builtin_ia32_vec_ext_v2si'
encrypt.cpp: return __builtin_ia32_vec_ext_v2si((__v2si)__m, 0);
encrypt.cpp: ^
encrypt.cpp: /usr/include/clang/7.0.1/include/mmintrin.h:143:19: error: use of undeclared identifier '__builtin_ia32_packsswb'
encrypt.cpp: return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
encrypt.cpp: ^
encrypt.cpp: /usr/include/clang/7.0.1/include/mmintrin.h:173:19: error: use of undeclared identifier '__builtin_ia32_packssdw'
encrypt.cpp: return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
encrypt.cpp: ^
encrypt.cpp: /usr/include/clang/7.0.1/include/mmintrin.h:203:19: error: use of undeclared identifier '__builtin_ia32_packuswb'
encrypt.cpp: return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
encrypt.cpp: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:aesni | clang++ -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:aesni | clang++ -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:aesni | clang++ -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:aesni | clang++ -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE |
Compiler output
encrypt.cpp: encrypt.cpp:13:10: fatal error: wmmintrin.h: No such file or directory
encrypt.cpp: #include "wmmintrin.h"
encrypt.cpp: ^~~~~~~~~~~~~
encrypt.cpp: compilation terminated.
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:aesni | g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |
T:aesni | g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |
T:aesni | g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |
T:aesni | g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE |
Compiler output
encrypt.cpp: In file included from encrypt.cpp:12:
encrypt.cpp: In file included from /usr/include/clang/7.0.1/include/wmmintrin.h:27:
encrypt.cpp: In file included from /usr/include/clang/7.0.1/include/emmintrin.h:27:
encrypt.cpp: In file included from /usr/include/clang/7.0.1/include/xmmintrin.h:27:
encrypt.cpp: /usr/include/clang/7.0.1/include/mmintrin.h:47:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
encrypt.cpp: __builtin_ia32_emms();
encrypt.cpp: ^
encrypt.cpp: /usr/include/clang/7.0.1/include/mmintrin.h:47:5: note: '__builtin_isless' declared here
encrypt.cpp: /usr/include/clang/7.0.1/include/mmintrin.h:47:25: error: too few arguments to function call, expected 2, have 0
encrypt.cpp: __builtin_ia32_emms();
encrypt.cpp: ^
encrypt.cpp: /usr/include/clang/7.0.1/include/mmintrin.h:64:19: error: use of undeclared identifier '__builtin_ia32_vec_init_v2si'
encrypt.cpp: return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
encrypt.cpp: ^
encrypt.cpp: /usr/include/clang/7.0.1/include/mmintrin.h:81:12: error: use of undeclared identifier '__builtin_ia32_vec_ext_v2si'
encrypt.cpp: return __builtin_ia32_vec_ext_v2si((__v2si)__m, 0);
encrypt.cpp: ^
encrypt.cpp: /usr/include/clang/7.0.1/include/mmintrin.h:143:19: error: use of undeclared identifier '__builtin_ia32_packsswb'
encrypt.cpp: return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
encrypt.cpp: ^
encrypt.cpp: /usr/include/clang/7.0.1/include/mmintrin.h:173:19: error: use of undeclared identifier '__builtin_ia32_packssdw'
encrypt.cpp: return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
encrypt.cpp: ^
encrypt.cpp: /usr/include/clang/7.0.1/include/mmintrin.h:203:19: error: use of undeclared identifier '__builtin_ia32_packuswb'
encrypt.cpp: return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
encrypt.cpp: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:opt-win-aes | clang++ -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:opt-win-aes | clang++ -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:opt-win-aes | clang++ -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:opt-win-aes | clang++ -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE |
Compiler output
encrypt.cpp: encrypt.cpp:12:10: fatal error: wmmintrin.h: No such file or directory
encrypt.cpp: #include "wmmintrin.h"
encrypt.cpp: ^~~~~~~~~~~~~
encrypt.cpp: compilation terminated.
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:opt-win-aes | g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |
T:opt-win-aes | g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |
T:opt-win-aes | g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |
T:opt-win-aes | g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE |
Compiler output
encrypt.cpp: encrypt.cpp:355:27: warning: implicit conversion from 'int' to 'unsigned char' changes value from 256 to 0 [-Wconstant-conversion]
encrypt.cpp: D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits, zero for 256-bit nonce
encrypt.cpp: ~ ~~~~~~~~~~~~~~~~^~
encrypt.cpp: encrypt.cpp:610:27: warning: implicit conversion from 'int' to 'unsigned char' changes value from 256 to 0 [-Wconstant-conversion]
encrypt.cpp: D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits, zero for 256-bit nonce
encrypt.cpp: ~ ~~~~~~~~~~~~~~~~^~
encrypt.cpp: encrypt.cpp:864:27: warning: implicit conversion from 'int' to 'unsigned char' changes value from 256 to 0 [-Wconstant-conversion]
encrypt.cpp: D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits
encrypt.cpp: ~ ~~~~~~~~~~~~~~~~^~
encrypt.cpp: 3 warnings generated.
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:ref | clang++ -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:ref | clang++ -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:ref | clang++ -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:ref | clang++ -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE |
Compiler output
encrypt.cpp: encrypt.cpp: In function 'int crypto_aead_paeq128tnm_ref_timingleaks_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*, const unsigned char*)':
encrypt.cpp: encrypt.cpp:355:27: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '256' to '0' [-Woverflow]
encrypt.cpp: D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits, zero for 256-bit nonce
encrypt.cpp: encrypt.cpp: In function 'int crypto_aead_encrypt_no_nonce(unsigned char*, long long unsigned int*, const unsigned char*, long long unsigned int, const unsigned char*, long long unsigned int, const unsigned char*, unsigned char*, const unsigned char*)':
encrypt.cpp: encrypt.cpp:610:27: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '256' to '0' [-Woverflow]
encrypt.cpp: D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits, zero for 256-bit nonce
encrypt.cpp: encrypt.cpp: In function 'int crypto_aead_paeq128tnm_ref_timingleaks_decrypt(unsigned char*, long long unsigned int*, unsigned char*, const unsigned char*, long long unsigned int, const unsigned char*, long long unsigned int, const unsigned char*, const unsigned char*)':
encrypt.cpp: encrypt.cpp:864:27: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '256' to '0' [-Woverflow]
encrypt.cpp: D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:ref | g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |
T:ref | g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |
T:ref | g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |
T:ref | g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE |