Implementation notes: amd64, par, crypto_aead/aeadaes256ocbtaglen128v1

Computer: par
Architecture: amd64
CPU ID: GenuineIntel-000406c3-bfebfbff
SUPERCOP version: 20161026
Operation: crypto_aead
Primitive: aeadaes256ocbtaglen128v1
TimeImplementationCompilerBenchmark dateSUPERCOP version
36720optgcc -funroll-loops -march=native -mcpu=native -O32016121420161026
38840optgcc -march=native -mcpu=native -O32016121420161026
42940optgcc -funroll-loops -march=native -mcpu=native -O22016121420161026
43080dolbeau/aesenc-intgcc -funroll-loops -march=native -mcpu=native -O32016121420161026
43700dolbeau/aesenc-intgcc -march=native -mcpu=native -O32016121420161026
43720dolbeau/aesenc-intgcc -funroll-loops -march=native -mcpu=native -O22016121420161026
48320dolbeau/aesenc-intgcc -march=native -mcpu=native -O22016121420161026
56940dolbeau/aesenc-intgcc -march=native -mcpu=native -Os2016121420161026
57000dolbeau/aesenc-intgcc -funroll-loops -march=native -mcpu=native -Os2016121420161026
57320optgcc -march=native -mcpu=native -O22016121420161026
93420optgcc -funroll-loops -march=native -mcpu=native -Os2016121420161026
93740optgcc -march=native -mcpu=native -Os2016121420161026
608920refgcc -funroll-loops -march=native -mcpu=native -O32016121420161026
610180refgcc -march=native -mcpu=native -O32016121420161026
627520refgcc -funroll-loops -march=native -mcpu=native -O22016121420161026
695860refgcc -march=native -mcpu=native -O22016121420161026
717160refgcc -march=native -mcpu=native -Os2016121420161026
723140refgcc -funroll-loops -march=native -mcpu=native -Os2016121420161026

Compiler output

Implementation: crypto_aead/aeadaes256ocbtaglen128v1/dolbeau/aesenc-int
Compiler: gcc -funroll-loops -march=native -mcpu=native -O2
encrypt.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
encrypt.c: encrypt.c: In function 'aes256ni_setkey_encrypt':
encrypt.c: encrypt.c:74:34: warning: passing argument 1 of '_mm_loadu_si128' from incompatible pointer type [-Wincompatible-pointer-types]
encrypt.c: __m128i key0 = _mm_loadu_si128((const unsigned int *)(key+0));
encrypt.c: ^
encrypt.c: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/include/xmmintrin.h:1249:0,
encrypt.c: from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/include/immintrin.h:29,
encrypt.c: from encrypt.c:45:
encrypt.c: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/include/emmintrin.h:696:1: note: expected 'const __vector(2) long long int *' but argument is of type 'const unsigned int *'
encrypt.c: _mm_loadu_si128 (__m128i const *__P)
encrypt.c: ^~~~~~~~~~~~~~~
encrypt.c: encrypt.c:75:34: warning: passing argument 1 of '_mm_loadu_si128' from incompatible pointer type [-Wincompatible-pointer-types]
encrypt.c: __m128i key1 = _mm_loadu_si128((const unsigned int *)(key+16));
encrypt.c: ^
encrypt.c: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/include/xmmintrin.h:1249:0,
encrypt.c: from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/include/immintrin.h:29,
encrypt.c: from encrypt.c:45:
encrypt.c: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/include/emmintrin.h:696:1: note: expected 'const __vector(2) long long int *' but argument is of type 'const unsigned int *'
encrypt.c: _mm_loadu_si128 (__m128i const *__P)
encrypt.c: ^~~~~~~~~~~~~~~
try.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
try.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
measure.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
gcc -funroll-loops -march=native -mcpu=native -O2 dolbeau/aesenc-int
gcc -funroll-loops -march=native -mcpu=native -O3 dolbeau/aesenc-int
gcc -funroll-loops -march=native -mcpu=native -Os dolbeau/aesenc-int
gcc -march=native -mcpu=native -O2 dolbeau/aesenc-int
gcc -march=native -mcpu=native -O3 dolbeau/aesenc-int
gcc -march=native -mcpu=native -Os dolbeau/aesenc-int

Compiler output

Implementation: crypto_aead/aeadaes256ocbtaglen128v1/opt
Compiler: gcc -funroll-loops -march=native -mcpu=native -O2
encrypt.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
ocb.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
try.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
try.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
measure.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead

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

Compiler output

Implementation: crypto_aead/aeadaes256ocbtaglen128v1/ref
Compiler: gcc -funroll-loops -march=native -mcpu=native -O2
encrypt.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
try.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
try.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
measure.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead

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