Implementation notes: amd64, pluton1mn, crypto_aead/paeq128tnm

Computer: pluton1mn
Architecture: amd64
CPU ID: GenuineIntel-00050671-bfebfbff
SUPERCOP version: 20160806
Operation: crypto_aead
Primitive: paeq128tnm
TimeImplementationCompilerBenchmark dateSUPERCOP version
59682aesnig++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016080620160731
59766aesniicpc -xMIC-AVX512 -O3 -fomit-frame-pointer2016080620160731
59822aesniicpc -xMIC-AVX512 -O2 -fomit-frame-pointer2016080620160731
62160aesnig++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016080620160731
63406aesnig++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016080620160731
72478aesnig++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016080620160731
4991126reficpc -xMIC-AVX512 -O3 -fomit-frame-pointer2016080620160731
5376882reficpc -xMIC-AVX512 -O2 -fomit-frame-pointer2016080620160731
6890114refg++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016080620160731
17168186refg++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016080620160731
18625922refg++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016080620160731
18767224refg++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016080620160731

Compiler output

Implementation: crypto_aead/paeq128tnm/ref
Compiler: g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
encrypt.cpp: encrypt.cpp: In function 'int crypto_aead_paeq128tnm_ref_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: large integer implicitly truncated to unsigned type [-Woverflow]
encrypt.cpp: D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits, zero for 256-bit nonce
encrypt.cpp:
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: large integer implicitly truncated to unsigned type [-Woverflow]
encrypt.cpp: D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits, zero for 256-bit nonce
encrypt.cpp:
encrypt.cpp: encrypt.cpp: In function 'int crypto_aead_paeq128tnm_ref_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: large integer implicitly truncated to unsigned type [-Woverflow]
encrypt.cpp: D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits
encrypt.cpp:

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv ref
g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv ref
g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv ref
g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv ref

Compiler output

Implementation: crypto_aead/paeq128tnm/opt-win-aes
Compiler: g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
encrypt.cpp: encrypt.cpp:13:20: fatal error: intrin.h: No such file or directory
encrypt.cpp: #include gt;
encrypt.cpp: ^
encrypt.cpp: compilation terminated.

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv opt-win-aes
g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv opt-win-aes
g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv opt-win-aes
g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv opt-win-aes

Compiler output

Implementation: crypto_aead/paeq128tnm/opt-win-aes
Compiler: icpc -xMIC-AVX512 -O2 -fomit-frame-pointer
encrypt.cpp: encrypt.cpp(13): catastrophic error: cannot open source file "intrin.h"
encrypt.cpp: #include gt;
encrypt.cpp: ^
encrypt.cpp:
encrypt.cpp: compilation aborted for encrypt.cpp (code 4)

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
icpc -xMIC-AVX512 -O2 -fomit-frame-pointer opt-win-aes
icpc -xMIC-AVX512 -O3 -fomit-frame-pointer opt-win-aes

Compiler output

Implementation: crypto_aead/paeq128tnm/aesni
Compiler: icpc -xMIC-AVX512 -O2 -fomit-frame-pointer
encrypt.cpp: encrypt.cpp(21): warning #1879: unimplemented pragma ignored
encrypt.cpp: #pragma intrinsic(_mm_set_epi64x)
encrypt.cpp: ^
encrypt.cpp:

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
icpc -xMIC-AVX512 -O2 -fomit-frame-pointer aesni
icpc -xMIC-AVX512 -O3 -fomit-frame-pointer aesni

Compiler output

Implementation: crypto_aead/paeq128tnm/ref
Compiler: icpc -xMIC-AVX512 -O2 -fomit-frame-pointer
encrypt.cpp: encrypt.cpp(355): warning #69: integer conversion resulted in truncation
encrypt.cpp: D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits, zero for 256-bit nonce
encrypt.cpp: ^
encrypt.cpp:
encrypt.cpp: encrypt.cpp(610): warning #69: integer conversion resulted in truncation
encrypt.cpp: D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits, zero for 256-bit nonce
encrypt.cpp: ^
encrypt.cpp:
encrypt.cpp: encrypt.cpp(864): warning #69: integer conversion resulted in truncation
encrypt.cpp: D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits
encrypt.cpp: ^
encrypt.cpp:

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
icpc -xMIC-AVX512 -O2 -fomit-frame-pointer ref
icpc -xMIC-AVX512 -O3 -fomit-frame-pointer ref