Implementation notes: amd64, hydra2, crypto_aead/trivia128v1

Computer: hydra2
Architecture: amd64
CPU ID: GenuineIntel-000206c2-bfebfbff
SUPERCOP version: 20141014
Operation: crypto_aead
Primitive: trivia128v1
TimeImplementationCompilerBenchmark dateSUPERCOP version
331124refgcc -funroll-loops -m64 -march=k8 -O3 -fomit-frame-pointer2014060920140525
331124refgcc -funroll-loops -march=k8 -O3 -fomit-frame-pointer2014060920140525
331716refgcc -funroll-loops -march=barcelona -O3 -fomit-frame-pointer2014060920140525
332020refgcc -funroll-loops -m64 -march=barcelona -O3 -fomit-frame-pointer2014060920140525
332972refgcc -m64 -march=barcelona -O3 -fomit-frame-pointer2014060920140525
332992refgcc -funroll-loops -m64 -O3 -fomit-frame-pointer2014060920140525
333056refgcc -funroll-loops -O3 -fomit-frame-pointer2014060920140525
333064refgcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer2014060920140525
333796refgcc -march=barcelona -O3 -fomit-frame-pointer2014060920140525
334188refgcc -funroll-loops -march=nocona -O3 -fomit-frame-pointer2014060920140525
334208refgcc -funroll-loops -m64 -march=nocona -O3 -fomit-frame-pointer2014060920140525
337940refgcc -fno-schedule-insns -O3 -fomit-frame-pointer2014060920140525
337940refgcc -m64 -O3 -fomit-frame-pointer2014060920140525
337940refgcc -march=k8 -O3 -fomit-frame-pointer2014060920140525
337948refgcc -m64 -march=k8 -O3 -fomit-frame-pointer2014060920140525
338156refgcc -O3 -fomit-frame-pointer2014060920140525
339480refgcc -march=nocona -O3 -fomit-frame-pointer2014060920140525
339604refgcc -m64 -march=nocona -O3 -fomit-frame-pointer2014060920140525
340744refgcc -m64 -march=core2 -msse4.1 -O3 -fomit-frame-pointer2014060920140525
340744refgcc -m64 -march=core2 -msse4 -O3 -fomit-frame-pointer2014060920140525
340748refgcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer2014060920140525
340780refgcc -m64 -march=core2 -O3 -fomit-frame-pointer2014060920140525
340900refgcc -m64 -march=corei7 -O3 -fomit-frame-pointer2014060920140525
358264refgcc -funroll-loops -march=barcelona -O2 -fomit-frame-pointer2014060920140525
358344refgcc -funroll-loops -m64 -march=barcelona -O2 -fomit-frame-pointer2014060920140525
359840refgcc -funroll-loops -m64 -march=k8 -O2 -fomit-frame-pointer2014060920140525
359936refgcc -funroll-loops -march=k8 -O2 -fomit-frame-pointer2014060920140525
361588refgcc -funroll-loops -O2 -fomit-frame-pointer2014060920140525
361588refgcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer2014060920140525
361588refgcc -funroll-loops -m64 -O2 -fomit-frame-pointer2014060920140525
370208refgcc -O2 -fomit-frame-pointer2014060920140525
370208refgcc -m64 -O2 -fomit-frame-pointer2014060920140525
370220refgcc -fno-schedule-insns -O2 -fomit-frame-pointer2014060920140525
371448refgcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer2014060920140525
371624refgcc -m64 -march=core2 -O2 -fomit-frame-pointer2014060920140525
371624refgcc -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer2014060920140525
371624refgcc -m64 -march=corei7 -O2 -fomit-frame-pointer2014060920140525
371636refgcc -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer2014060920140525
372804refgcc -m64 -march=k8 -O2 -fomit-frame-pointer2014060920140525
373124refgcc -march=k8 -O2 -fomit-frame-pointer2014060920140525
373936refgcc -m64 -march=barcelona -O2 -fomit-frame-pointer2014060920140525
373956refgcc -march=barcelona -O2 -fomit-frame-pointer2014060920140525
417052refgcc -funroll-loops -march=nocona -O -fomit-frame-pointer2014060920140525
417072refgcc -funroll-loops -m64 -march=nocona -O -fomit-frame-pointer2014060920140525
417696refgcc -funroll-loops -march=k8 -O -fomit-frame-pointer2014060920140525
417736refgcc -funroll-loops -m64 -march=k8 -O -fomit-frame-pointer2014060920140525
418452refgcc -funroll-loops -m64 -march=barcelona -O -fomit-frame-pointer2014060920140525
418464refgcc -funroll-loops -march=barcelona -O -fomit-frame-pointer2014060920140525
419164refgcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer2014060920140525
419164refgcc -funroll-loops -m64 -O -fomit-frame-pointer2014060920140525
419180refgcc -funroll-loops -O -fomit-frame-pointer2014060920140525
445192refgcc -funroll-loops -m64 -march=nocona -O2 -fomit-frame-pointer2014060920140525
445376refgcc -funroll-loops -march=nocona -O2 -fomit-frame-pointer2014060920140525
452184refgcc -m64 -march=k8 -O -fomit-frame-pointer2014060920140525
452192refgcc -march=k8 -O -fomit-frame-pointer2014060920140525
463848refgcc -m64 -march=barcelona -O -fomit-frame-pointer2014060920140525
464012refgcc -march=barcelona -O -fomit-frame-pointer2014060920140525
464840refgcc -march=nocona -O -fomit-frame-pointer2014060920140525
464860refgcc -m64 -march=nocona -O -fomit-frame-pointer2014060920140525
466104refgcc -m64 -O -fomit-frame-pointer2014060920140525
466108refgcc -O -fomit-frame-pointer2014060920140525
466112refgcc -m64 -march=core2 -msse4 -O -fomit-frame-pointer2014060920140525
466116refgcc -m64 -march=corei7 -O -fomit-frame-pointer2014060920140525
466116refgcc -m64 -march=native -mtune=native -O -fomit-frame-pointer2014060920140525
466204refgcc -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer2014060920140525
466212refgcc -m64 -march=core2 -O -fomit-frame-pointer2014060920140525
466268refgcc -fno-schedule-insns -O -fomit-frame-pointer2014060920140525
499784refgcc -m64 -march=barcelona -Os -fomit-frame-pointer2014060920140525
500920refgcc -fno-schedule-insns -Os -fomit-frame-pointer2014060920140525
502012refgcc -m64 -march=nocona -Os -fomit-frame-pointer2014060920140525
503048refgcc -march=barcelona -Os -fomit-frame-pointer2014060920140525
503624refgcc -march=nocona -Os -fomit-frame-pointer2014060920140525
503676refgcc -m64 -march=core2 -Os -fomit-frame-pointer2014060920140525
503684refgcc -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer2014060920140525
503708refgcc -m64 -march=k8 -Os -fomit-frame-pointer2014060920140525
503708refgcc -march=k8 -Os -fomit-frame-pointer2014060920140525
503716refgcc -Os -fomit-frame-pointer2014060920140525
503716refgcc -m64 -Os -fomit-frame-pointer2014060920140525
503852refgcc -m64 -march=core2 -msse4 -Os -fomit-frame-pointer2014060920140525
503872refgcc -m64 -march=native -mtune=native -Os -fomit-frame-pointer2014060920140525
503948refgcc -m64 -march=corei7 -Os -fomit-frame-pointer2014060920140525
529940refgcc -funroll-loops -march=k8 -Os -fomit-frame-pointer2014060920140525
530212refgcc -funroll-loops -m64 -march=nocona -Os -fomit-frame-pointer2014060920140525
530800refgcc -funroll-loops -march=barcelona -Os -fomit-frame-pointer2014060920140525
530972refgcc -funroll-loops -m64 -Os -fomit-frame-pointer2014060920140525
531380refgcc -funroll-loops -march=nocona -Os -fomit-frame-pointer2014060920140525
531404refgcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer2014060920140525
532652refgcc -funroll-loops -m64 -march=k8 -Os -fomit-frame-pointer2014060920140525
532656refgcc -funroll-loops -Os -fomit-frame-pointer2014060920140525
532808refgcc -funroll-loops -m64 -march=barcelona -Os -fomit-frame-pointer2014060920140525
539232refgcc -march=nocona -O2 -fomit-frame-pointer2014060920140525
549564refgcc -m64 -march=nocona -O2 -fomit-frame-pointer2014060920140525
2059288refcc2014060920140525
2059516refgcc2014060920140525
2059868refgcc -funroll-loops2014060920140525

Compiler output

Implementation: crypto_aead/trivia128v1/ref
Compiler: clang -O3 -fomit-frame-pointer
encrypt.c: encrypt.c:118:12: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses]
encrypt.c: if((a>gt;>gt;31)&1==1) result = result^(CONST_alpha_32);
encrypt.c: ^~~~~
encrypt.c: encrypt.c:118:12: note: place parentheses around the == expression to silence this warning
encrypt.c: if((a>gt;>gt;31)&1==1) result = result^(CONST_alpha_32);
encrypt.c: ^
encrypt.c: ( )
encrypt.c: encrypt.c:118:12: note: place parentheses around the & expression to evaluate it first
encrypt.c: if((a>gt;>gt;31)&1==1) result = result^(CONST_alpha_32);
encrypt.c: ^
encrypt.c: ( )
encrypt.c: encrypt.c:143:12: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses]
encrypt.c: if((b>gt;>gt;63)&1==1) result = result^(CONST_beta_64);
encrypt.c: ^~~~~
encrypt.c: encrypt.c:143:12: note: place parentheses around the == expression to silence this warning
encrypt.c: if((b>gt;>gt;63)&1==1) result = result^(CONST_beta_64);
encrypt.c: ^
encrypt.c: ( )
encrypt.c: encrypt.c:143:12: note: place parentheses around the & expression to evaluate it first
encrypt.c: if((b>gt;>gt;63)&1==1) result = result^(CONST_beta_64);
encrypt.c: ^
encrypt.c: ( )
encrypt.c: encrypt.c:178:8: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses]
encrypt.c: if(b&1==1) result=a;
encrypt.c: ^~~~~
encrypt.c: ...

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer ref
clang -O3 -fwrapv -march=native -fomit-frame-pointer ref

Compiler output

Implementation: crypto_aead/trivia128v1/ref
Compiler: clang -O3 -fwrapv -march=native -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer
encrypt.c: clang: warning: argument unused during compilation: '-fpolly'
encrypt.c: clang: warning: argument unused during compilation: '-fvectorize'
encrypt.c: clang: warning: argument unused during compilation: '-fslp-vectorize'
encrypt.c: clang: warning: argument unused during compilation: '-fslp-vectorize-aggressive'
encrypt.c: encrypt.c:118:12: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses]
encrypt.c: if((a>gt;>gt;31)&1==1) result = result^(CONST_alpha_32);
encrypt.c: ^~~~~
encrypt.c: encrypt.c:118:12: note: place parentheses around the == expression to silence this warning
encrypt.c: if((a>gt;>gt;31)&1==1) result = result^(CONST_alpha_32);
encrypt.c: ^
encrypt.c: ( )
encrypt.c: encrypt.c:118:12: note: place parentheses around the & expression to evaluate it first
encrypt.c: if((a>gt;>gt;31)&1==1) result = result^(CONST_alpha_32);
encrypt.c: ^
encrypt.c: ( )
encrypt.c: encrypt.c:143:12: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses]
encrypt.c: if((b>gt;>gt;63)&1==1) result = result^(CONST_beta_64);
encrypt.c: ^~~~~
encrypt.c: encrypt.c:143:12: note: place parentheses around the == expression to silence this warning
encrypt.c: if((b>gt;>gt;63)&1==1) result = result^(CONST_beta_64);
encrypt.c: ^
encrypt.c: ( )
encrypt.c: encrypt.c:143:12: note: place parentheses around the & expression to evaluate it first
encrypt.c: if((b>gt;>gt;63)&1==1) result = result^(CONST_beta_64);
encrypt.c: ^
encrypt.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -O3 -fwrapv -march=native -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer ref

Compiler output

Implementation: crypto_aead/trivia128v1/ref
Compiler: clang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer
encrypt.c: clang: warning: argument unused during compilation: '-mcpu=core-avx2'
encrypt.c: clang: warning: argument unused during compilation: '-mavx2'
encrypt.c: clang: warning: argument unused during compilation: '-mpclmul'
encrypt.c: encrypt.c:118:12: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses]
encrypt.c: if((a>gt;>gt;31)&1==1) result = result^(CONST_alpha_32);
encrypt.c: ^~~~~
encrypt.c: encrypt.c:118:12: note: place parentheses around the == expression to silence this warning
encrypt.c: if((a>gt;>gt;31)&1==1) result = result^(CONST_alpha_32);
encrypt.c: ^
encrypt.c: ( )
encrypt.c: encrypt.c:118:12: note: place parentheses around the & expression to evaluate it first
encrypt.c: if((a>gt;>gt;31)&1==1) result = result^(CONST_alpha_32);
encrypt.c: ^
encrypt.c: ( )
encrypt.c: encrypt.c:143:12: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses]
encrypt.c: if((b>gt;>gt;63)&1==1) result = result^(CONST_beta_64);
encrypt.c: ^~~~~
encrypt.c: encrypt.c:143:12: note: place parentheses around the == expression to silence this warning
encrypt.c: if((b>gt;>gt;63)&1==1) result = result^(CONST_beta_64);
encrypt.c: ^
encrypt.c: ( )
encrypt.c: encrypt.c:143:12: note: place parentheses around the & expression to evaluate it first
encrypt.c: if((b>gt;>gt;63)&1==1) result = result^(CONST_beta_64);
encrypt.c: ^
encrypt.c: ( )
encrypt.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer ref

Compiler output

Implementation: crypto_aead/trivia128v1/ref
Compiler: clang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer
encrypt.c: clang: warning: argument unused during compilation: '-mcpu=core-avx2'
encrypt.c: clang: warning: argument unused during compilation: '-mavx2'
encrypt.c: clang: warning: argument unused during compilation: '-mpclmul'
encrypt.c: clang: warning: argument unused during compilation: '-fpolly'
encrypt.c: clang: warning: argument unused during compilation: '-fvectorize'
encrypt.c: clang: warning: argument unused during compilation: '-fslp-vectorize'
encrypt.c: clang: warning: argument unused during compilation: '-fslp-vectorize-aggressive'
encrypt.c: encrypt.c:118:12: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses]
encrypt.c: if((a>gt;>gt;31)&1==1) result = result^(CONST_alpha_32);
encrypt.c: ^~~~~
encrypt.c: encrypt.c:118:12: note: place parentheses around the == expression to silence this warning
encrypt.c: if((a>gt;>gt;31)&1==1) result = result^(CONST_alpha_32);
encrypt.c: ^
encrypt.c: ( )
encrypt.c: encrypt.c:118:12: note: place parentheses around the & expression to evaluate it first
encrypt.c: if((a>gt;>gt;31)&1==1) result = result^(CONST_alpha_32);
encrypt.c: ^
encrypt.c: ( )
encrypt.c: encrypt.c:143:12: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses]
encrypt.c: if((b>gt;>gt;63)&1==1) result = result^(CONST_beta_64);
encrypt.c: ^~~~~
encrypt.c: encrypt.c:143:12: note: place parentheses around the == expression to silence this warning
encrypt.c: if((b>gt;>gt;63)&1==1) result = result^(CONST_beta_64);
encrypt.c: ^
encrypt.c: ( )
encrypt.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer ref

Compiler output

Implementation: crypto_aead/trivia128v1/ref
Compiler: clang -O3 -fwrapv -mavx2 -fomit-frame-pointer
encrypt.c: clang: warning: argument unused during compilation: '-mavx2'
encrypt.c: encrypt.c:118:12: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses]
encrypt.c: if((a>gt;>gt;31)&1==1) result = result^(CONST_alpha_32);
encrypt.c: ^~~~~
encrypt.c: encrypt.c:118:12: note: place parentheses around the == expression to silence this warning
encrypt.c: if((a>gt;>gt;31)&1==1) result = result^(CONST_alpha_32);
encrypt.c: ^
encrypt.c: ( )
encrypt.c: encrypt.c:118:12: note: place parentheses around the & expression to evaluate it first
encrypt.c: if((a>gt;>gt;31)&1==1) result = result^(CONST_alpha_32);
encrypt.c: ^
encrypt.c: ( )
encrypt.c: encrypt.c:143:12: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses]
encrypt.c: if((b>gt;>gt;63)&1==1) result = result^(CONST_beta_64);
encrypt.c: ^~~~~
encrypt.c: encrypt.c:143:12: note: place parentheses around the == expression to silence this warning
encrypt.c: if((b>gt;>gt;63)&1==1) result = result^(CONST_beta_64);
encrypt.c: ^
encrypt.c: ( )
encrypt.c: encrypt.c:143:12: note: place parentheses around the & expression to evaluate it first
encrypt.c: if((b>gt;>gt;63)&1==1) result = result^(CONST_beta_64);
encrypt.c: ^
encrypt.c: ( )
encrypt.c: encrypt.c:178:8: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses]
encrypt.c: if(b&1==1) result=a;
encrypt.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -O3 -fwrapv -mavx2 -fomit-frame-pointer ref

Compiler output

Implementation: crypto_aead/trivia128v1/ref
Compiler: clang -O3 -fwrapv -mavx2 -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer
encrypt.c: clang: warning: argument unused during compilation: '-mavx2'
encrypt.c: clang: warning: argument unused during compilation: '-fpolly'
encrypt.c: clang: warning: argument unused during compilation: '-fvectorize'
encrypt.c: clang: warning: argument unused during compilation: '-fslp-vectorize'
encrypt.c: clang: warning: argument unused during compilation: '-fslp-vectorize-aggressive'
encrypt.c: encrypt.c:118:12: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses]
encrypt.c: if((a>gt;>gt;31)&1==1) result = result^(CONST_alpha_32);
encrypt.c: ^~~~~
encrypt.c: encrypt.c:118:12: note: place parentheses around the == expression to silence this warning
encrypt.c: if((a>gt;>gt;31)&1==1) result = result^(CONST_alpha_32);
encrypt.c: ^
encrypt.c: ( )
encrypt.c: encrypt.c:118:12: note: place parentheses around the & expression to evaluate it first
encrypt.c: if((a>gt;>gt;31)&1==1) result = result^(CONST_alpha_32);
encrypt.c: ^
encrypt.c: ( )
encrypt.c: encrypt.c:143:12: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses]
encrypt.c: if((b>gt;>gt;63)&1==1) result = result^(CONST_beta_64);
encrypt.c: ^~~~~
encrypt.c: encrypt.c:143:12: note: place parentheses around the == expression to silence this warning
encrypt.c: if((b>gt;>gt;63)&1==1) result = result^(CONST_beta_64);
encrypt.c: ^
encrypt.c: ( )
encrypt.c: encrypt.c:143:12: note: place parentheses around the & expression to evaluate it first
encrypt.c: if((b>gt;>gt;63)&1==1) result = result^(CONST_beta_64);
encrypt.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -O3 -fwrapv -mavx2 -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer ref