Implementation notes: amd64, h4e350, crypto_aead/trivia128v1

Computer: h4e350
Architecture: amd64
CPU ID: AuthenticAMD-00500f10-178bfbff
SUPERCOP version: 20141014
Operation: crypto_aead
Primitive: trivia128v1
TimeImplementationCompilerBenchmark dateSUPERCOP version
358905refgcc -funroll-loops -march=nocona -O3 -fomit-frame-pointer2014063020140525
358920refgcc -funroll-loops -m64 -march=nocona -O3 -fomit-frame-pointer2014063020140525
358992refgcc -funroll-loops -m64 -march=k8 -O3 -fomit-frame-pointer2014063020140525
359208refgcc -funroll-loops -march=k8 -O3 -fomit-frame-pointer2014063020140525
359877refgcc -funroll-loops -m64 -march=barcelona -O3 -fomit-frame-pointer2014063020140525
360066refgcc -funroll-loops -march=barcelona -O3 -fomit-frame-pointer2014063020140525
365805refgcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer2014063020140525
365922refgcc -funroll-loops -m64 -O3 -fomit-frame-pointer2014063020140525
365937refgcc -funroll-loops -O3 -fomit-frame-pointer2014063020140525
372744refgcc -funroll-loops -m64 -march=barcelona -O2 -fomit-frame-pointer2014063020140525
372747refgcc -funroll-loops -march=barcelona -O2 -fomit-frame-pointer2014063020140525
374280refgcc -funroll-loops -O2 -fomit-frame-pointer2014063020140525
374283refgcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer2014063020140525
374289refgcc -funroll-loops -march=k8 -O2 -fomit-frame-pointer2014063020140525
374298refgcc -funroll-loops -m64 -O2 -fomit-frame-pointer2014063020140525
374301refgcc -funroll-loops -m64 -march=k8 -O2 -fomit-frame-pointer2014063020140525
405510refgcc -march=barcelona -O3 -fomit-frame-pointer2014063020140525
405585refgcc -m64 -march=barcelona -O3 -fomit-frame-pointer2014063020140525
405798refgcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer2014063020140525
413229refgcc -m64 -march=k8 -O3 -fomit-frame-pointer2014063020140525
413313refgcc -march=k8 -O3 -fomit-frame-pointer2014063020140525
413358refgcc -O3 -fomit-frame-pointer2014063020140525
413436refgcc -fno-schedule-insns -O3 -fomit-frame-pointer2014063020140525
413469refgcc -m64 -march=core2 -O3 -fomit-frame-pointer2014063020140525
413565refgcc -m64 -O3 -fomit-frame-pointer2014063020140525
413607refgcc -march=nocona -O3 -fomit-frame-pointer2014063020140525
413760refgcc -m64 -march=nocona -O3 -fomit-frame-pointer2014063020140525
431883refgcc -funroll-loops -m64 -march=nocona -O2 -fomit-frame-pointer2014063020140525
433767refgcc -funroll-loops -march=nocona -O2 -fomit-frame-pointer2014063020140525
437289refclang -O3 -fomit-frame-pointer2014080520140622
437859refclang -O3 -fwrapv -mavx2 -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer2014080520140622
438018refclang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer2014101820141014
438024refclang -O3 -fwrapv -mavx2 -fomit-frame-pointer2014080520140622
438057refclang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer2014101820141014
444204refgcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer2014063020140525
445554refgcc -march=barcelona -O2 -fomit-frame-pointer2014063020140525
445596refgcc -m64 -march=barcelona -O2 -fomit-frame-pointer2014063020140525
448179refgcc -O2 -fomit-frame-pointer2014063020140525
448218refgcc -fno-schedule-insns -O2 -fomit-frame-pointer2014063020140525
448245refgcc -m64 -O2 -fomit-frame-pointer2014063020140525
448653refgcc -m64 -march=corei7 -O2 -fomit-frame-pointer2014063020140525
448680refgcc -m64 -march=core2 -O2 -fomit-frame-pointer2014063020140525
448683refgcc -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer2014063020140525
448755refgcc -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer2014063020140525
456453refgcc -m64 -march=k8 -O2 -fomit-frame-pointer2014063020140525
456492refgcc -march=k8 -O2 -fomit-frame-pointer2014063020140525
595110refgcc -funroll-loops -m64 -march=nocona -O -fomit-frame-pointer2014063020140525
596565refgcc -funroll-loops -m64 -march=barcelona -O -fomit-frame-pointer2014063020140525
597468refgcc -funroll-loops -march=barcelona -O -fomit-frame-pointer2014063020140525
605634refgcc -funroll-loops -march=nocona -O -fomit-frame-pointer2014063020140525
615924refgcc -funroll-loops -march=k8 -O -fomit-frame-pointer2014063020140525
615927refgcc -funroll-loops -m64 -march=k8 -O -fomit-frame-pointer2014063020140525
623196refgcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer2014063020140525
632811refgcc -funroll-loops -m64 -O -fomit-frame-pointer2014063020140525
633561refgcc -funroll-loops -O -fomit-frame-pointer2014063020140525
649038refgcc -m64 -march=nocona -O2 -fomit-frame-pointer2014063020140525
649095refgcc -march=nocona -O2 -fomit-frame-pointer2014063020140525
651513refgcc -march=nocona -O -fomit-frame-pointer2014063020140525
651519refgcc -m64 -march=nocona -O -fomit-frame-pointer2014063020140525
658497refgcc -m64 -march=barcelona -O -fomit-frame-pointer2014063020140525
658512refgcc -m64 -march=native -mtune=native -O -fomit-frame-pointer2014063020140525
658560refgcc -march=barcelona -O -fomit-frame-pointer2014063020140525
661572refgcc -m64 -march=core2 -O -fomit-frame-pointer2014063020140525
661584refgcc -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer2014063020140525
661593refgcc -m64 -march=core2 -msse4 -O -fomit-frame-pointer2014063020140525
661608refgcc -fno-schedule-insns -O -fomit-frame-pointer2014063020140525
661671refgcc -m64 -O -fomit-frame-pointer2014063020140525
661686refgcc -m64 -march=corei7 -O -fomit-frame-pointer2014063020140525
661734refgcc -O -fomit-frame-pointer2014063020140525
684096refgcc -m64 -march=k8 -O -fomit-frame-pointer2014063020140525
684159refgcc -march=k8 -O -fomit-frame-pointer2014063020140525
705060refgcc -funroll-loops -march=nocona -Os -fomit-frame-pointer2014063020140525
705207refgcc -funroll-loops -m64 -march=nocona -Os -fomit-frame-pointer2014063020140525
706668refgcc -Os -fomit-frame-pointer2014063020140525
706707refgcc -fno-schedule-insns -Os -fomit-frame-pointer2014063020140525
706746refgcc -m64 -Os -fomit-frame-pointer2014063020140525
706746refgcc -march=k8 -Os -fomit-frame-pointer2014063020140525
706770refgcc -m64 -march=k8 -Os -fomit-frame-pointer2014063020140525
706797refgcc -m64 -march=native -mtune=native -Os -fomit-frame-pointer2014063020140525
706866refgcc -m64 -march=barcelona -Os -fomit-frame-pointer2014063020140525
706920refgcc -march=barcelona -Os -fomit-frame-pointer2014063020140525
707250refgcc -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer2014063020140525
707271refgcc -m64 -march=core2 -Os -fomit-frame-pointer2014063020140525
707295refgcc -m64 -march=core2 -msse4 -Os -fomit-frame-pointer2014063020140525
707388refgcc -m64 -march=corei7 -Os -fomit-frame-pointer2014063020140525
709509refgcc -m64 -march=nocona -Os -fomit-frame-pointer2014063020140525
709560refgcc -march=nocona -Os -fomit-frame-pointer2014063020140525
743544refgcc -funroll-loops -m64 -march=barcelona -Os -fomit-frame-pointer2014063020140525
743577refgcc -funroll-loops -Os -fomit-frame-pointer2014063020140525
743589refgcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer2014063020140525
743610refgcc -funroll-loops -march=k8 -Os -fomit-frame-pointer2014063020140525
743739refgcc -funroll-loops -m64 -march=k8 -Os -fomit-frame-pointer2014063020140525
743754refgcc -funroll-loops -m64 -Os -fomit-frame-pointer2014063020140525
744675refgcc -funroll-loops -march=barcelona -Os -fomit-frame-pointer2014063020140525
2499429refgcc -funroll-loops2014063020140525
2500359refcc2014063020140525
2501349refgcc2014063020140525

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