Implementation notes: amd64, par, crypto_aead/pi64cipher256v2

Computer: par
Architecture: amd64
CPU ID: GenuineIntel-000406c3-bfebfbff
SUPERCOP version: 20161026
Operation: crypto_aead
Primitive: pi64cipher256v2
TimeImplementationCompilerBenchmark dateSUPERCOP version
193980ref2gcc -funroll-loops -march=native -mcpu=native -O32016121420161026
196100ref2gcc -march=native -mcpu=native -O32016121420161026
261580ref3gcc -march=native -mcpu=native -O32016121420161026
261620ref3gcc -funroll-loops -march=native -mcpu=native -O32016121420161026
285980ref3gcc -funroll-loops -march=native -mcpu=native -O22016121420161026
290240ref3gcc -march=native -mcpu=native -O22016121420161026
299120goptvgcc -funroll-loops -march=native -mcpu=native -O32016121420161026
303240goptvgcc -march=native -mcpu=native -O32016121420161026
335440goptvgcc -funroll-loops -march=native -mcpu=native -O22016121420161026
353260goptvgcc -march=native -mcpu=native -O22016121420161026
367020ref3gcc -funroll-loops -march=native -mcpu=native -Os2016121420161026
368500ref3gcc -march=native -mcpu=native -Os2016121420161026
553120ref2gcc -funroll-loops -march=native -mcpu=native -O22016121420161026
966920ref2gcc -march=native -mcpu=native -O22016121420161026
1082700ref2gcc -march=native -mcpu=native -Os2016121420161026
1107760ref2gcc -funroll-loops -march=native -mcpu=native -Os2016121420161026
2693020goptvgcc -funroll-loops -march=native -mcpu=native -Os2016121420161026
2703480goptvgcc -march=native -mcpu=native -Os2016121420161026

Test failure

Implementation: crypto_aead/pi64cipher256v2/optimized_nonSSE
Compiler: gcc -funroll-loops -march=native -mcpu=native -O2
error 111
crypto_aead_encrypt returns more than crypto_aead_ABYTES extra bytes

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

Compiler output

Implementation: crypto_aead/pi64cipher256v2/goptv
Compiler: gcc -funroll-loops -march=native -mcpu=native -O2
encrypt.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
pi-cipher.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
pi-cipher.c: pi-cipher.c: In function 'rotl_q':
pi-cipher.c: pi-cipher.c:272:1: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
pi-cipher.c: {
pi-cipher.c: ^
pi-cipher.c: pi-cipher.c: In function 'e1':
pi-cipher.c: pi-cipher.c:566:13: note: The ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
pi-cipher.c: static void e1(
pi-cipher.c: ^~
pi-cipher.c: pi-cipher.c: In function 'vect_ast':
pi-cipher.c: pi-cipher.c:337:10: warning: AVX vector argument without AVX enabled changes the ABI [-Wpsabi]
pi-cipher.c: vchunk_t vect_ast(vchunk_t x, vchunk_t y)
pi-cipher.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: 2, namely:
CompilerImplementations
gcc -funroll-loops -march=native -mcpu=native -O2 goptv
gcc -march=native -mcpu=native -O2 goptv

Compiler output

Implementation: crypto_aead/pi64cipher256v2/ref2
Compiler: gcc -funroll-loops -march=native -mcpu=native -O2
encrypt.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
pi-cipher.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: 12, namely:
CompilerImplementations
gcc -funroll-loops -march=native -mcpu=native -O2 ref2 ref3
gcc -funroll-loops -march=native -mcpu=native -O3 ref2 ref3
gcc -funroll-loops -march=native -mcpu=native -Os ref2 ref3
gcc -march=native -mcpu=native -O2 ref2 ref3
gcc -march=native -mcpu=native -O3 ref2 ref3
gcc -march=native -mcpu=native -Os ref2 ref3

Compiler output

Implementation: crypto_aead/pi64cipher256v2/optimized_nonSSE
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

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

Compiler output

Implementation: crypto_aead/pi64cipher256v2/goptv
Compiler: gcc -funroll-loops -march=native -mcpu=native -O3
encrypt.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
pi-cipher.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
pi-cipher.c: pi-cipher.c: In function 'rotl_q':
pi-cipher.c: pi-cipher.c:272:1: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
pi-cipher.c: {
pi-cipher.c: ^
pi-cipher.c: pi-cipher.c: In function 'e1':
pi-cipher.c: pi-cipher.c:566:13: note: The ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
pi-cipher.c: static void e1(
pi-cipher.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: 2, namely:
CompilerImplementations
gcc -funroll-loops -march=native -mcpu=native -O3 goptv
gcc -march=native -mcpu=native -O3 goptv

Compiler output

Implementation: crypto_aead/pi64cipher256v2/goptv
Compiler: gcc -funroll-loops -march=native -mcpu=native -Os
encrypt.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
pi-cipher.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
pi-cipher.c: pi-cipher.c: In function 'rotl_q':
pi-cipher.c: pi-cipher.c:272:1: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
pi-cipher.c: {
pi-cipher.c: ^
pi-cipher.c: pi-cipher.c: In function 'e1':
pi-cipher.c: pi-cipher.c:566:13: note: The ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
pi-cipher.c: static void e1(
pi-cipher.c: ^~
pi-cipher.c: pi-cipher.c: In function 'vect_ast_precomputed_mu':
pi-cipher.c: pi-cipher.c:277:10: warning: AVX vector argument without AVX enabled changes the ABI [-Wpsabi]
pi-cipher.c: vchunk_t vect_ast_precomputed_mu(vchunk_t y)
pi-cipher.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: 2, namely:
CompilerImplementations
gcc -funroll-loops -march=native -mcpu=native -Os goptv
gcc -march=native -mcpu=native -Os goptv