Implementation notes: amd64, h5nano, crypto_aead/trivia0v1

Computer: h5nano
Architecture: amd64
CPU ID: CentaurHauls-000006f8-afc9fbff
SUPERCOP version: 20141014
Operation: crypto_aead
Primitive: trivia0v1
TimeImplementationCompilerBenchmark dateSUPERCOP version
432025refgcc -funroll-loops -m64 -O3 -fomit-frame-pointer2014082020140622
432045refgcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer2014082020140622
432065refgcc -funroll-loops -O3 -fomit-frame-pointer2014082020140622
433285refgcc -funroll-loops -m64 -march=barcelona -O3 -fomit-frame-pointer2014082020140622
433285refgcc -funroll-loops -march=barcelona -O3 -fomit-frame-pointer2014082020140622
433385refgcc -funroll-loops -march=nocona -O3 -fomit-frame-pointer2014082020140622
433395refgcc -funroll-loops -m64 -march=nocona -O3 -fomit-frame-pointer2014082020140622
434650refgcc -funroll-loops -m64 -march=k8 -O3 -fomit-frame-pointer2014082020140622
434685refgcc -funroll-loops -march=k8 -O3 -fomit-frame-pointer2014082020140622
448130refgcc -funroll-loops -m64 -march=k8 -O2 -fomit-frame-pointer2014082020140622
448130refgcc -funroll-loops -march=k8 -O2 -fomit-frame-pointer2014082020140622
448915refgcc -funroll-loops -O2 -fomit-frame-pointer2014082020140622
448940refgcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer2014082020140622
449495refgcc -funroll-loops -march=barcelona -O2 -fomit-frame-pointer2014082020140622
449505refgcc -funroll-loops -m64 -march=barcelona -O2 -fomit-frame-pointer2014082020140622
449740refgcc -funroll-loops -m64 -O2 -fomit-frame-pointer2014082020140622
484680refgcc -funroll-loops -m64 -march=nocona -O2 -fomit-frame-pointer2014082020140622
486705refgcc -march=k8 -O3 -fomit-frame-pointer2014082020140622
489645refgcc -march=barcelona -O3 -fomit-frame-pointer2014082020140622
491100refgcc -m64 -march=core2 -msse4 -O3 -fomit-frame-pointer2014082020140622
491220refgcc -m64 -march=corei7 -O3 -fomit-frame-pointer2014082020140622
491685refgcc -m64 -march=k8 -O3 -fomit-frame-pointer2014082020140622
491735refgcc -m64 -march=barcelona -O3 -fomit-frame-pointer2014082020140622
492525refgcc -O3 -fomit-frame-pointer2014082020140622
494710refgcc -funroll-loops -march=nocona -O2 -fomit-frame-pointer2014082020140622
495115refgcc -fno-schedule-insns -O3 -fomit-frame-pointer2014082020140622
496195refgcc -m64 -march=core2 -O3 -fomit-frame-pointer2014082020140622
499035refgcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer2014082020140622
501255refgcc -m64 -O3 -fomit-frame-pointer2014082020140622
501275refgcc -march=nocona -O3 -fomit-frame-pointer2014082020140622
502000refgcc -m64 -march=core2 -msse4.1 -O3 -fomit-frame-pointer2014082020140622
503955refgcc -m64 -march=nocona -O3 -fomit-frame-pointer2014082020140622
511835refgcc -m64 -march=core2 -O2 -fomit-frame-pointer2014082020140622
512740refgcc -m64 -march=k8 -O2 -fomit-frame-pointer2014082020140622
517875refgcc -O2 -fomit-frame-pointer2014082020140622
522480refgcc -march=barcelona -O2 -fomit-frame-pointer2014082020140622
522565refgcc -m64 -march=barcelona -O2 -fomit-frame-pointer2014082020140622
523110refgcc -march=k8 -O2 -fomit-frame-pointer2014082020140622
526920refgcc -fno-schedule-insns -O2 -fomit-frame-pointer2014082020140622
526945refgcc -m64 -O2 -fomit-frame-pointer2014082020140622
527695refgcc -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer2014082020140622
527700refgcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer2014082020140622
527735refgcc -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer2014082020140622
527735refgcc -m64 -march=corei7 -O2 -fomit-frame-pointer2014082020140622
588290refgcc -funroll-loops -m64 -march=k8 -O -fomit-frame-pointer2014082020140622
589390refgcc -funroll-loops -march=k8 -O -fomit-frame-pointer2014082020140622
593775refgcc -funroll-loops -m64 -march=nocona -O -fomit-frame-pointer2014082020140622
593835refgcc -funroll-loops -march=nocona -O -fomit-frame-pointer2014082020140622
597165refgcc -funroll-loops -m64 -march=barcelona -O -fomit-frame-pointer2014082020140622
597175refgcc -funroll-loops -march=barcelona -O -fomit-frame-pointer2014082020140622
605385refgcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer2014082020140622
605510refgcc -funroll-loops -m64 -O -fomit-frame-pointer2014082020140622
605555refgcc -funroll-loops -O -fomit-frame-pointer2014082020140622
620160refgcc -m64 -march=core2 -O -fomit-frame-pointer2014082020140622
620235refgcc -O -fomit-frame-pointer2014082020140622
620310refgcc -m64 -march=corei7 -O -fomit-frame-pointer2014082020140622
630130refgcc -march=nocona -O -fomit-frame-pointer2014082020140622
642600refgcc -march=k8 -O -fomit-frame-pointer2014082020140622
642710refgcc -m64 -march=k8 -O -fomit-frame-pointer2014082020140622
646830refgcc -march=barcelona -O -fomit-frame-pointer2014082020140622
646920refgcc -m64 -march=barcelona -O -fomit-frame-pointer2014082020140622
650565refgcc -m64 -march=nocona -O -fomit-frame-pointer2014082020140622
655530refgcc -m64 -march=core2 -msse4 -O -fomit-frame-pointer2014082020140622
655535refgcc -fno-schedule-insns -O -fomit-frame-pointer2014082020140622
655540refgcc -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer2014082020140622
655645refgcc -m64 -march=native -mtune=native -O -fomit-frame-pointer2014082020140622
655680refgcc -m64 -O -fomit-frame-pointer2014082020140622
719410refgcc -march=nocona -O2 -fomit-frame-pointer2014082020140622
719595refgcc -m64 -march=nocona -O2 -fomit-frame-pointer2014082020140622
900455refclang -O3 -fwrapv -mavx2 -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer2014082020140622
900490refclang -O3 -fomit-frame-pointer2014082020140622
910280refclang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer2014101920141014
915785refclang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer2014101920141014
925215refclang -O3 -fwrapv -mavx2 -fomit-frame-pointer2014082020140622
1333025refgcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer2014082020140622
1333440refgcc -funroll-loops -m64 -Os -fomit-frame-pointer2014082020140622
1335575refgcc -funroll-loops -march=barcelona -Os -fomit-frame-pointer2014082020140622
1336985refgcc -funroll-loops -m64 -march=nocona -Os -fomit-frame-pointer2014082020140622
1341215refgcc -funroll-loops -m64 -march=barcelona -Os -fomit-frame-pointer2014082020140622
1351490refgcc -funroll-loops -m64 -march=k8 -Os -fomit-frame-pointer2014082020140622
1352360refgcc -funroll-loops -march=nocona -Os -fomit-frame-pointer2014082020140622
1353045refgcc -funroll-loops -Os -fomit-frame-pointer2014082020140622
1353050refgcc -funroll-loops -march=k8 -Os -fomit-frame-pointer2014082020140622
1375295refgcc -m64 -march=nocona -Os -fomit-frame-pointer2014082020140622
1375320refgcc -march=nocona -Os -fomit-frame-pointer2014082020140622
1377585refgcc -fno-schedule-insns -Os -fomit-frame-pointer2014082020140622
1377595refgcc -Os -fomit-frame-pointer2014082020140622
1377635refgcc -m64 -Os -fomit-frame-pointer2014082020140622
1377645refgcc -march=k8 -Os -fomit-frame-pointer2014082020140622
1377660refgcc -m64 -march=k8 -Os -fomit-frame-pointer2014082020140622
1377700refgcc -m64 -march=core2 -msse4 -Os -fomit-frame-pointer2014082020140622
1377715refgcc -m64 -march=native -mtune=native -Os -fomit-frame-pointer2014082020140622
1377720refgcc -m64 -march=core2 -Os -fomit-frame-pointer2014082020140622
1377720refgcc -m64 -march=corei7 -Os -fomit-frame-pointer2014082020140622
1377740refgcc -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer2014082020140622
1378815refgcc -march=barcelona -Os -fomit-frame-pointer2014082020140622
1378855refgcc -m64 -march=barcelona -Os -fomit-frame-pointer2014082020140622
2416345refgcc2014082020140622
2440115refgcc -funroll-loops2014082020140622
2441110refcc2014082020140622

Compiler output

Implementation: crypto_aead/trivia0v1/ref
Compiler: clang -O3 -fomit-frame-pointer
encrypt.c: encrypt.c:123: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:123: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:123: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:148: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:148: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:148: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:183: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/trivia0v1/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:123: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:123: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:123: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:148: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:148: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:148: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/trivia0v1/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:123: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:123: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:123: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:148: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:148: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/trivia0v1/ref
Compiler: clang -O3 -fwrapv -mavx2 -fomit-frame-pointer
encrypt.c: clang: warning: argument unused during compilation: '-mavx2'
encrypt.c: encrypt.c:123: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:123: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:123: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:148: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:148: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:148: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:183: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/trivia0v1/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:123: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:123: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:123: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:148: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:148: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:148: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