Implementation notes: amd64, h4e350, crypto_aead/trivia0v1

Computer: h4e350
Architecture: amd64
CPU ID: AuthenticAMD-00500f10-178bfbff
SUPERCOP version: 20141014
Operation: crypto_aead
Primitive: trivia0v1
TimeImplementationCompilerBenchmark dateSUPERCOP version
354687refgcc -funroll-loops -m64 -march=nocona -O3 -fomit-frame-pointer2014063020140525
354714refgcc -funroll-loops -march=nocona -O3 -fomit-frame-pointer2014063020140525
355452refgcc -funroll-loops -m64 -O3 -fomit-frame-pointer2014063020140525
355473refgcc -funroll-loops -march=k8 -O3 -fomit-frame-pointer2014063020140525
355581refgcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer2014063020140525
355596refgcc -funroll-loops -O3 -fomit-frame-pointer2014063020140525
355662refgcc -funroll-loops -m64 -march=k8 -O3 -fomit-frame-pointer2014063020140525
356025refgcc -funroll-loops -m64 -march=barcelona -O3 -fomit-frame-pointer2014063020140525
356175refgcc -funroll-loops -march=barcelona -O3 -fomit-frame-pointer2014063020140525
369174refgcc -funroll-loops -m64 -march=barcelona -O2 -fomit-frame-pointer2014063020140525
369210refgcc -funroll-loops -march=barcelona -O2 -fomit-frame-pointer2014063020140525
370164refgcc -funroll-loops -m64 -O2 -fomit-frame-pointer2014063020140525
370167refgcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer2014063020140525
370209refgcc -funroll-loops -O2 -fomit-frame-pointer2014063020140525
370542refgcc -funroll-loops -m64 -march=k8 -O2 -fomit-frame-pointer2014063020140525
370593refgcc -funroll-loops -march=k8 -O2 -fomit-frame-pointer2014063020140525
400197refgcc -m64 -march=barcelona -O3 -fomit-frame-pointer2014063020140525
400551refgcc -march=barcelona -O3 -fomit-frame-pointer2014063020140525
400953refgcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer2014063020140525
404916refgcc -m64 -march=k8 -O3 -fomit-frame-pointer2014063020140525
405600refgcc -march=k8 -O3 -fomit-frame-pointer2014063020140525
407673refgcc -march=nocona -O3 -fomit-frame-pointer2014063020140525
407823refgcc -m64 -march=nocona -O3 -fomit-frame-pointer2014063020140525
411378refgcc -m64 -O3 -fomit-frame-pointer2014063020140525
411414refgcc -fno-schedule-insns -O3 -fomit-frame-pointer2014063020140525
411441refgcc -funroll-loops -m64 -march=nocona -O2 -fomit-frame-pointer2014063020140525
411456refgcc -funroll-loops -march=nocona -O2 -fomit-frame-pointer2014063020140525
411474refgcc -O3 -fomit-frame-pointer2014063020140525
413484refgcc -m64 -march=core2 -O3 -fomit-frame-pointer2014063020140525
434400refclang -O3 -fomit-frame-pointer2014080520140622
434400refclang -O3 -fwrapv -mavx2 -fomit-frame-pointer2014080520140622
434490refclang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer2014101820141014
434511refclang -O3 -fwrapv -mavx2 -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer2014080520140622
436764refclang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer2014101820141014
439293refgcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer2014063020140525
439881refgcc -m64 -march=barcelona -O2 -fomit-frame-pointer2014063020140525
439980refgcc -march=barcelona -O2 -fomit-frame-pointer2014063020140525
444735refgcc -m64 -march=corei7 -O2 -fomit-frame-pointer2014063020140525
444741refgcc -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer2014063020140525
444747refgcc -m64 -march=core2 -O2 -fomit-frame-pointer2014063020140525
444756refgcc -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer2014063020140525
444963refgcc -m64 -O2 -fomit-frame-pointer2014063020140525
444966refgcc -O2 -fomit-frame-pointer2014063020140525
444990refgcc -fno-schedule-insns -O2 -fomit-frame-pointer2014063020140525
449940refgcc -m64 -march=k8 -O2 -fomit-frame-pointer2014063020140525
449961refgcc -march=k8 -O2 -fomit-frame-pointer2014063020140525
594765refgcc -funroll-loops -march=barcelona -O -fomit-frame-pointer2014063020140525
596583refgcc -funroll-loops -O -fomit-frame-pointer2014063020140525
596736refgcc -funroll-loops -m64 -O -fomit-frame-pointer2014063020140525
598779refgcc -funroll-loops -m64 -march=barcelona -O -fomit-frame-pointer2014063020140525
601770refgcc -funroll-loops -m64 -march=nocona -O -fomit-frame-pointer2014063020140525
601821refgcc -funroll-loops -march=nocona -O -fomit-frame-pointer2014063020140525
606891refgcc -funroll-loops -m64 -march=k8 -O -fomit-frame-pointer2014063020140525
609168refgcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer2014063020140525
610632refgcc -funroll-loops -march=k8 -O -fomit-frame-pointer2014063020140525
652020refgcc -m64 -march=k8 -O -fomit-frame-pointer2014063020140525
652041refgcc -march=k8 -O -fomit-frame-pointer2014063020140525
652968refgcc -march=barcelona -O -fomit-frame-pointer2014063020140525
652980refgcc -m64 -march=barcelona -O -fomit-frame-pointer2014063020140525
653031refgcc -m64 -march=native -mtune=native -O -fomit-frame-pointer2014063020140525
655440refgcc -march=nocona -O2 -fomit-frame-pointer2014063020140525
655977refgcc -m64 -march=nocona -O2 -fomit-frame-pointer2014063020140525
656163refgcc -m64 -march=nocona -O -fomit-frame-pointer2014063020140525
656211refgcc -march=nocona -O -fomit-frame-pointer2014063020140525
670425refgcc -m64 -march=core2 -O -fomit-frame-pointer2014063020140525
670437refgcc -O -fomit-frame-pointer2014063020140525
670455refgcc -fno-schedule-insns -O -fomit-frame-pointer2014063020140525
670467refgcc -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer2014063020140525
670470refgcc -m64 -O -fomit-frame-pointer2014063020140525
670476refgcc -m64 -march=corei7 -O -fomit-frame-pointer2014063020140525
670485refgcc -m64 -march=core2 -msse4 -O -fomit-frame-pointer2014063020140525
689433refgcc -funroll-loops -march=nocona -Os -fomit-frame-pointer2014063020140525
689544refgcc -funroll-loops -m64 -march=nocona -Os -fomit-frame-pointer2014063020140525
690096refgcc -funroll-loops -m64 -Os -fomit-frame-pointer2014063020140525
690162refgcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer2014063020140525
690186refgcc -funroll-loops -m64 -march=k8 -Os -fomit-frame-pointer2014063020140525
690243refgcc -funroll-loops -march=k8 -Os -fomit-frame-pointer2014063020140525
690252refgcc -funroll-loops -Os -fomit-frame-pointer2014063020140525
690615refgcc -funroll-loops -march=barcelona -Os -fomit-frame-pointer2014063020140525
690699refgcc -funroll-loops -m64 -march=barcelona -Os -fomit-frame-pointer2014063020140525
723624refgcc -m64 -march=nocona -Os -fomit-frame-pointer2014063020140525
723624refgcc -march=nocona -Os -fomit-frame-pointer2014063020140525
723831refgcc -m64 -march=corei7 -Os -fomit-frame-pointer2014063020140525
723942refgcc -m64 -march=core2 -Os -fomit-frame-pointer2014063020140525
724368refgcc -m64 -march=core2 -msse4 -Os -fomit-frame-pointer2014063020140525
724419refgcc -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer2014063020140525
724704refgcc -march=barcelona -Os -fomit-frame-pointer2014063020140525
724716refgcc -m64 -Os -fomit-frame-pointer2014063020140525
725091refgcc -Os -fomit-frame-pointer2014063020140525
725232refgcc -fno-schedule-insns -Os -fomit-frame-pointer2014063020140525
725271refgcc -m64 -march=k8 -Os -fomit-frame-pointer2014063020140525
725283refgcc -march=k8 -Os -fomit-frame-pointer2014063020140525
725319refgcc -m64 -march=native -mtune=native -Os -fomit-frame-pointer2014063020140525
725340refgcc -m64 -march=barcelona -Os -fomit-frame-pointer2014063020140525
2524743refgcc2014063020140525
2526684refcc2014063020140525
2527119refgcc -funroll-loops2014063020140525

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