Implementation notes: amd64, par, crypto_aead/paeq128tnm

Computer: par
Architecture: amd64
CPU ID: GenuineIntel-000406c3-bfebfbff
SUPERCOP version: 20161026
Operation: crypto_aead
Primitive: paeq128tnm
TimeImplementationCompilerBenchmark dateSUPERCOP version
226040aesnig++ -march=native -mcpu=native -O22016121420161026
236360aesnig++ -funroll-loops -march=native -mcpu=native -O22016121420161026
243780aesnig++ -march=native -mcpu=native -O32016121420161026
245060aesnig++ -funroll-loops -march=native -mcpu=native -O32016121420161026
251160aesnig++ -march=native -mcpu=native -Os2016121420161026
251540aesnig++ -funroll-loops -march=native -mcpu=native -Os2016121420161026
8265420refg++ -funroll-loops -march=native -mcpu=native -O22016121420161026
8424480refg++ -march=native -mcpu=native -O32016121420161026
8473180refg++ -funroll-loops -march=native -mcpu=native -O32016121420161026
18833100refg++ -march=native -mcpu=native -O22016121420161026
20937620refg++ -march=native -mcpu=native -Os2016121420161026
21212300refg++ -funroll-loops -march=native -mcpu=native -Os2016121420161026

Compiler output

Implementation: crypto_aead/paeq128tnm/ref
Compiler: g++ -funroll-loops -march=native -mcpu=native -O2
encrypt.cpp: g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
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:
try.cpp: g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
try.cpp: g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
measure.cpp: g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
g++ -funroll-loops -march=native -mcpu=native -O2 ref
g++ -funroll-loops -march=native -mcpu=native -O3 ref
g++ -funroll-loops -march=native -mcpu=native -Os ref
g++ -march=native -mcpu=native -O2 ref
g++ -march=native -mcpu=native -O3 ref
g++ -march=native -mcpu=native -Os ref

Compiler output

Implementation: crypto_aead/paeq128tnm/opt-win-aes
Compiler: g++ -funroll-loops -march=native -mcpu=native -O2
encrypt.cpp: g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
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: 6, namely:
CompilerImplementations
g++ -funroll-loops -march=native -mcpu=native -O2 opt-win-aes
g++ -funroll-loops -march=native -mcpu=native -O3 opt-win-aes
g++ -funroll-loops -march=native -mcpu=native -Os opt-win-aes
g++ -march=native -mcpu=native -O2 opt-win-aes
g++ -march=native -mcpu=native -O3 opt-win-aes
g++ -march=native -mcpu=native -Os opt-win-aes

Compiler output

Implementation: crypto_aead/paeq128tnm/aesni
Compiler: g++ -funroll-loops -march=native -mcpu=native -O2
encrypt.cpp: g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
try.cpp: g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
try.cpp: g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
measure.cpp: g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
g++ -funroll-loops -march=native -mcpu=native -O2 aesni
g++ -funroll-loops -march=native -mcpu=native -O3 aesni
g++ -funroll-loops -march=native -mcpu=native -Os aesni
g++ -march=native -mcpu=native -O2 aesni
g++ -march=native -mcpu=native -O3 aesni
g++ -march=native -mcpu=native -Os aesni