Implementation notes: amd64, h5nano, crypto_aead/trivia128v1

Computer: h5nano
Architecture: amd64
CPU ID: CentaurHauls-000006f8-afc9fbff
SUPERCOP version: 20141014
Operation: crypto_aead
Primitive: trivia128v1
TimeImplementationCompilerBenchmark dateSUPERCOP version
434970refgcc -funroll-loops -m64 -O3 -fomit-frame-pointer2014082020140622
434990refgcc -funroll-loops -O3 -fomit-frame-pointer2014082020140622
435045refgcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer2014082020140622
436470refgcc -funroll-loops -m64 -march=barcelona -O3 -fomit-frame-pointer2014082020140622
436490refgcc -funroll-loops -march=barcelona -O3 -fomit-frame-pointer2014082020140622
436545refgcc -funroll-loops -m64 -march=k8 -O3 -fomit-frame-pointer2014082020140622
436565refgcc -funroll-loops -march=k8 -O3 -fomit-frame-pointer2014082020140622
439310refgcc -funroll-loops -m64 -march=nocona -O3 -fomit-frame-pointer2014082020140622
439310refgcc -funroll-loops -march=nocona -O3 -fomit-frame-pointer2014082020140622
452740refgcc -funroll-loops -march=k8 -O2 -fomit-frame-pointer2014082020140622
452750refgcc -funroll-loops -m64 -march=k8 -O2 -fomit-frame-pointer2014082020140622
452930refgcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer2014082020140622
452930refgcc -funroll-loops -m64 -O2 -fomit-frame-pointer2014082020140622
452935refgcc -funroll-loops -O2 -fomit-frame-pointer2014082020140622
458400refgcc -funroll-loops -m64 -march=barcelona -O2 -fomit-frame-pointer2014082020140622
458425refgcc -funroll-loops -march=barcelona -O2 -fomit-frame-pointer2014082020140622
485100refgcc -funroll-loops -m64 -march=nocona -O2 -fomit-frame-pointer2014082020140622
486895refgcc -funroll-loops -march=nocona -O2 -fomit-frame-pointer2014082020140622
487960refgcc -m64 -march=k8 -O3 -fomit-frame-pointer2014082020140622
489450refgcc -march=k8 -O3 -fomit-frame-pointer2014082020140622
490940refgcc -march=barcelona -O3 -fomit-frame-pointer2014082020140622
494835refgcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer2014082020140622
495625refgcc -m64 -O3 -fomit-frame-pointer2014082020140622
496210refgcc -m64 -march=core2 -msse4.1 -O3 -fomit-frame-pointer2014082020140622
497970refgcc -m64 -march=core2 -O3 -fomit-frame-pointer2014082020140622
498055refgcc -m64 -march=barcelona -O3 -fomit-frame-pointer2014082020140622
498205refgcc -O3 -fomit-frame-pointer2014082020140622
499150refgcc -fno-schedule-insns -O3 -fomit-frame-pointer2014082020140622
503715refgcc -march=nocona -O3 -fomit-frame-pointer2014082020140622
503795refgcc -m64 -march=nocona -O3 -fomit-frame-pointer2014082020140622
505020refgcc -m64 -march=barcelona -O2 -fomit-frame-pointer2014082020140622
506890refgcc -m64 -march=core2 -msse4 -O3 -fomit-frame-pointer2014082020140622
506890refgcc -m64 -march=corei7 -O3 -fomit-frame-pointer2014082020140622
510605refgcc -march=barcelona -O2 -fomit-frame-pointer2014082020140622
517880refgcc -m64 -march=core2 -O2 -fomit-frame-pointer2014082020140622
519025refgcc -march=k8 -O2 -fomit-frame-pointer2014082020140622
523925refgcc -O2 -fomit-frame-pointer2014082020140622
523965refgcc -m64 -O2 -fomit-frame-pointer2014082020140622
524055refgcc -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer2014082020140622
525365refgcc -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer2014082020140622
529900refgcc -m64 -march=k8 -O2 -fomit-frame-pointer2014082020140622
537730refgcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer2014082020140622
538505refgcc -fno-schedule-insns -O2 -fomit-frame-pointer2014082020140622
540285refgcc -m64 -march=corei7 -O2 -fomit-frame-pointer2014082020140622
596675refgcc -funroll-loops -O -fomit-frame-pointer2014082020140622
596680refgcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer2014082020140622
596750refgcc -funroll-loops -m64 -O -fomit-frame-pointer2014082020140622
598005refgcc -funroll-loops -march=nocona -O -fomit-frame-pointer2014082020140622
598080refgcc -funroll-loops -m64 -march=nocona -O -fomit-frame-pointer2014082020140622
599650refgcc -funroll-loops -m64 -march=k8 -O -fomit-frame-pointer2014082020140622
599650refgcc -funroll-loops -march=k8 -O -fomit-frame-pointer2014082020140622
599725refgcc -funroll-loops -march=barcelona -O -fomit-frame-pointer2014082020140622
599855refgcc -funroll-loops -m64 -march=barcelona -O -fomit-frame-pointer2014082020140622
630715refgcc -march=nocona -O -fomit-frame-pointer2014082020140622
630765refgcc -m64 -march=nocona -O -fomit-frame-pointer2014082020140622
631200refgcc -m64 -march=barcelona -O -fomit-frame-pointer2014082020140622
631270refgcc -march=barcelona -O -fomit-frame-pointer2014082020140622
656260refgcc -m64 -march=k8 -O -fomit-frame-pointer2014082020140622
656395refgcc -march=k8 -O -fomit-frame-pointer2014082020140622
661220refgcc -m64 -O -fomit-frame-pointer2014082020140622
661270refgcc -m64 -march=corei7 -O -fomit-frame-pointer2014082020140622
661290refgcc -m64 -march=core2 -msse4 -O -fomit-frame-pointer2014082020140622
662550refgcc -O -fomit-frame-pointer2014082020140622
662655refgcc -m64 -march=native -mtune=native -O -fomit-frame-pointer2014082020140622
662675refgcc -fno-schedule-insns -O -fomit-frame-pointer2014082020140622
662695refgcc -m64 -march=core2 -O -fomit-frame-pointer2014082020140622
663975refgcc -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer2014082020140622
715945refgcc -m64 -march=nocona -O2 -fomit-frame-pointer2014082020140622
722945refgcc -march=nocona -O2 -fomit-frame-pointer2014082020140622
811095refgcc -funroll-loops -march=nocona -Os -fomit-frame-pointer2014082020140622
811225refgcc -funroll-loops -m64 -march=nocona -Os -fomit-frame-pointer2014082020140622
812875refgcc -funroll-loops -march=k8 -Os -fomit-frame-pointer2014082020140622
812920refgcc -funroll-loops -march=barcelona -Os -fomit-frame-pointer2014082020140622
812940refgcc -funroll-loops -m64 -march=barcelona -Os -fomit-frame-pointer2014082020140622
813010refgcc -funroll-loops -m64 -march=k8 -Os -fomit-frame-pointer2014082020140622
813015refgcc -funroll-loops -m64 -Os -fomit-frame-pointer2014082020140622
813110refgcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer2014082020140622
813115refgcc -funroll-loops -Os -fomit-frame-pointer2014082020140622
917515refclang -O3 -fwrapv -mavx2 -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer2014082020140622
932410refclang -O3 -fomit-frame-pointer2014082020140622
932460refclang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer2014101920141014
932485refclang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer2014101920141014
932550refclang -O3 -fwrapv -mavx2 -fomit-frame-pointer2014082020140622
1362820refgcc -m64 -march=barcelona -Os -fomit-frame-pointer2014082020140622
1365060refgcc -march=barcelona -Os -fomit-frame-pointer2014082020140622
1365485refgcc -Os -fomit-frame-pointer2014082020140622
1365620refgcc -m64 -Os -fomit-frame-pointer2014082020140622
1365705refgcc -march=k8 -Os -fomit-frame-pointer2014082020140622
1365740refgcc -fno-schedule-insns -Os -fomit-frame-pointer2014082020140622
1365805refgcc -m64 -march=k8 -Os -fomit-frame-pointer2014082020140622
1367825refgcc -m64 -march=core2 -Os -fomit-frame-pointer2014082020140622
1367840refgcc -m64 -march=core2 -msse4 -Os -fomit-frame-pointer2014082020140622
1367840refgcc -m64 -march=native -mtune=native -Os -fomit-frame-pointer2014082020140622
1367845refgcc -m64 -march=corei7 -Os -fomit-frame-pointer2014082020140622
1367900refgcc -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer2014082020140622
1369575refgcc -m64 -march=nocona -Os -fomit-frame-pointer2014082020140622
1369650refgcc -march=nocona -Os -fomit-frame-pointer2014082020140622
2397385refcc2014082020140622
2398600refgcc -funroll-loops2014082020140622
2437010refgcc2014082020140622

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: ...
try.c: try-anything.c:110:19: warning: if statement has empty body [-Wempty-body]
try.c: ;
try.c: ^
try.c: 1 warning generated.
try.c: try-anything.c:110:19: warning: if statement has empty body [-Wempty-body]
try.c: ;
try.c: ^
try.c: 1 warning generated.

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -O3 -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: ...
try.c: try-anything.c:110:19: warning: if statement has empty body [-Wempty-body]
try.c: ;
try.c: ^
try.c: 1 warning generated.
try.c: try-anything.c:110:19: warning: if statement has empty body [-Wempty-body]
try.c: ;
try.c: ^
try.c: 1 warning generated.

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: ...
try.c: try-anything.c:110:19: warning: if statement has empty body [-Wempty-body]
try.c: ;
try.c: ^
try.c: 1 warning generated.
try.c: try-anything.c:110:19: warning: if statement has empty body [-Wempty-body]
try.c: ;
try.c: ^
try.c: 1 warning generated.

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: ...
try.c: try-anything.c:110:19: warning: if statement has empty body [-Wempty-body]
try.c: ;
try.c: ^
try.c: 1 warning generated.
try.c: try-anything.c:110:19: warning: if statement has empty body [-Wempty-body]
try.c: ;
try.c: ^
try.c: 1 warning generated.

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: ...
try.c: try-anything.c:110:19: warning: if statement has empty body [-Wempty-body]
try.c: ;
try.c: ^
try.c: 1 warning generated.
try.c: try-anything.c:110:19: warning: if statement has empty body [-Wempty-body]
try.c: ;
try.c: ^
try.c: 1 warning generated.

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