Implementation notes: amd64, h4e350, crypto_stream/aes128ctr

Computer: h4e350
Architecture: amd64
CPU ID: AuthenticAMD-00500f10-178bfbff
SUPERCOP version: 20141014
Operation: crypto_stream
Primitive: aes128ctr
TimeImplementationCompilerBenchmark dateSUPERCOP version
24135cryptoppg++ -march=k8 -O2 -fomit-frame-pointer2014060420140525
24141cryptoppg++ -m64 -march=core2 -O3 -fomit-frame-pointer2014060420140525
24147cryptoppg++ -m64 -march=k8 -O2 -fomit-frame-pointer2014060420140525
24243cryptoppg++ -m64 -march=corei7 -O2 -fomit-frame-pointer2014060420140525
24279cryptoppg++ -m64 -march=barcelona -O3 -fomit-frame-pointer2014060420140525
24321cryptoppg++ -march=k8 -O -fomit-frame-pointer2014060420140525
24327cryptoppg++ -m64 -O -fomit-frame-pointer2014060420140525
24342cryptoppg++ -march=barcelona -O3 -fomit-frame-pointer2014060420140525
24396cryptoppg++ -fno-schedule-insns -O2 -fomit-frame-pointer2014060420140525
24402cryptoppclang++ -O3 -fwrapv -mavx2 -fomit-frame-pointer2014071320140622
24405cryptoppg++ -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer2014060420140525
24405cryptoppg++ -m64 -march=k8 -Os -fomit-frame-pointer2014060420140525
24411cryptoppg++ -march=k8 -O3 -fomit-frame-pointer2014060420140525
24423cryptoppclang++ -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer2014101520141014
24486cryptoppclang++ -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer2014101520141014
24489cryptoppclang++ -O3 -fwrapv -mavx2 -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer2014071320140622
24489cryptoppg++ -fno-schedule-insns -Os -fomit-frame-pointer2014060420140525
24492cryptoppg++ -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer2014060420140525
24495cryptoppclang++ -O3 -fomit-frame-pointer2014071320140622
24501cryptoppg++ -m64 -O3 -fomit-frame-pointer2014060420140525
24534cryptoppg++ -m64 -march=nocona -Os -fomit-frame-pointer2014060420140525
24552cryptoppg++ -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer2014060420140525
24555cryptoppg++ -m64 -march=native -mtune=native -O3 -fomit-frame-pointer2014060420140525
24558cryptoppg++ -m64 -march=corei7 -Os -fomit-frame-pointer2014060420140525
24576cryptoppg++ -march=nocona -O -fomit-frame-pointer2014060420140525
24594cryptoppg++ -m64 -march=k8 -O3 -fomit-frame-pointer2014060420140525
24600cryptoppg++ -m64 -march=nocona -O -fomit-frame-pointer2014060420140525
24630cryptoppg++ -m64 -march=core2 -Os -fomit-frame-pointer2014060420140525
24645cryptoppg++ -m64 -march=core2 -msse4 -Os -fomit-frame-pointer2014060420140525
24648cryptoppg++ -march=barcelona -Os -fomit-frame-pointer2014060420140525
24669cryptoppg++ -m64 -march=nocona -O3 -fomit-frame-pointer2014060420140525
24675cryptoppg++ -m64 -march=core2 -O2 -fomit-frame-pointer2014060420140525
24681cryptoppg++ -m64 -march=k8 -O -fomit-frame-pointer2014060420140525
24699cryptoppg++ -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer2014060420140525
24699cryptoppg++ -m64 -Os -fomit-frame-pointer2014060420140525
24711cryptoppg++ -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer2014060420140525
24723cryptoppg++ -march=nocona -O3 -fomit-frame-pointer2014060420140525
24735cryptoppg++ -m64 -march=barcelona -Os -fomit-frame-pointer2014060420140525
24753cryptoppg++ -fno-schedule-insns -O3 -fomit-frame-pointer2014060420140525
24762cryptoppg++ -O2 -fomit-frame-pointer2014060420140525
24768cryptoppg++ -m64 -O2 -fomit-frame-pointer2014060420140525
24771cryptoppg++ -march=nocona -Os -fomit-frame-pointer2014060420140525
24777cryptoppg++ -m64 -march=nocona -O2 -fomit-frame-pointer2014060420140525
24780cryptoppg++ -O3 -fomit-frame-pointer2014060420140525
24822cryptoppg++ -m64 -march=native -mtune=native -O2 -fomit-frame-pointer2014060420140525
24825cryptoppg++ -O -fomit-frame-pointer2014060420140525
24831cryptoppg++ -m64 -march=native -mtune=native -O -fomit-frame-pointer2014060420140525
24840cryptoppg++ -Os -fomit-frame-pointer2014060420140525
24858cryptoppg++ -m64 -march=corei7 -O -fomit-frame-pointer2014060420140525
24885cryptoppg++ -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer2014060420140525
24894cryptoppg++ -m64 -march=core2 -O -fomit-frame-pointer2014060420140525
24906cryptoppg++ -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer2014060420140525
24924cryptoppg++ -m64 -march=native -mtune=native -Os -fomit-frame-pointer2014060420140525
24936cryptoppg++ -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer2014060420140525
24942cryptoppg++ -march=barcelona -O -fomit-frame-pointer2014060420140525
24972cryptoppg++ -m64 -march=barcelona -O -fomit-frame-pointer2014060420140525
24975cryptoppg++ -march=nocona -O2 -fomit-frame-pointer2014060420140525
25026cryptoppg++ -m64 -march=barcelona -O2 -fomit-frame-pointer2014060420140525
25026cryptoppg++ -march=k8 -Os -fomit-frame-pointer2014060420140525
25053cryptoppg++ -march=barcelona -O2 -fomit-frame-pointer2014060420140525
25098cryptoppg++ -m64 -march=core2 -msse4 -O -fomit-frame-pointer2014060420140525
25194cryptoppg++ -fno-schedule-insns -O -fomit-frame-pointer2014060420140525
28917cryptoppg++2014060420140525

Compiler output

Implementation: crypto_stream/aes128ctr/cryptopp
Compiler: clang++ -O3 -fomit-frame-pointer
stream.cpp: In file included from stream.cpp:1:
stream.cpp: In file included from /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/aes.h:4:
stream.cpp: In file included from /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/rijndael.h:7:
stream.cpp: In file included from /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/seckey.h:9:
stream.cpp: /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/misc.h:414:8: warning: comparison of unsigned expression stream.cpp: if (a stream.cpp: ~ ^ ~
stream.cpp: /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/simple.h:35:110: note: in instantiation of function template specialization 'CryptoPP::IntToStringgt;' requested here
stream.cpp: explicit InvalidKeyLength(const std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) + " is not a valid key length") {}
stream.cpp: ^
stream.cpp: In file included from stream.cpp:1:
stream.cpp: In file included from /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/aes.h:4:
stream.cpp: In file included from /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/rijndael.h:7:
stream.cpp: In file included from /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/seckey.h:9:
stream.cpp: /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/misc.h:414:8: warning: comparison of unsigned expression stream.cpp: if (a stream.cpp: ~ ^ ~
stream.cpp: /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/simple.h:42:113: note: in instantiation of function template specialization 'CryptoPP::IntToStringgt;' requested here
stream.cpp: explicit InvalidRounds(const std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rounds) + " is not a valid number of rounds") {}
stream.cpp: ^
stream.cpp: 2 warnings generated.
try.cpp: try-anything.cpp:110:19: warning: if statement has empty body [-Wempty-body]
try.cpp: ;
try.cpp: ^
try.cpp: 1 warning generated.
try.cpp: try-anything.cpp:110:19: warning: if statement has empty body [-Wempty-body]
try.cpp: ;
try.cpp: ^
try.cpp: 1 warning generated.

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang++ -O3 -fomit-frame-pointer cryptopp

Compiler output

Implementation: crypto_stream/aes128ctr/cryptopp
Compiler: clang++ -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer
stream.cpp: clang: warning: argument unused during compilation: '-mcpu=core-avx2'
stream.cpp: clang: warning: argument unused during compilation: '-mavx2'
stream.cpp: clang: warning: argument unused during compilation: '-mpclmul'
stream.cpp: In file included from stream.cpp:1:
stream.cpp: In file included from /home/djb/benchmarking/supercop-20141014/supercop-data/h4e350/amd64/include/cryptopp/aes.h:4:
stream.cpp: In file included from /home/djb/benchmarking/supercop-20141014/supercop-data/h4e350/amd64/include/cryptopp/rijndael.h:7:
stream.cpp: In file included from /home/djb/benchmarking/supercop-20141014/supercop-data/h4e350/amd64/include/cryptopp/seckey.h:9:
stream.cpp: /home/djb/benchmarking/supercop-20141014/supercop-data/h4e350/amd64/include/cryptopp/misc.h:414:8: warning: comparison of unsigned expression stream.cpp: if (a stream.cpp: ~ ^ ~
stream.cpp: /home/djb/benchmarking/supercop-20141014/supercop-data/h4e350/amd64/include/cryptopp/simple.h:35:110: note: in instantiation of function template specialization 'CryptoPP::IntToStringgt;' requested here
stream.cpp: explicit InvalidKeyLength(const std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) + " is not a valid key length") {}
stream.cpp: ^
stream.cpp: In file included from stream.cpp:1:
stream.cpp: In file included from /home/djb/benchmarking/supercop-20141014/supercop-data/h4e350/amd64/include/cryptopp/aes.h:4:
stream.cpp: In file included from /home/djb/benchmarking/supercop-20141014/supercop-data/h4e350/amd64/include/cryptopp/rijndael.h:7:
stream.cpp: In file included from /home/djb/benchmarking/supercop-20141014/supercop-data/h4e350/amd64/include/cryptopp/seckey.h:9:
stream.cpp: /home/djb/benchmarking/supercop-20141014/supercop-data/h4e350/amd64/include/cryptopp/misc.h:414:8: warning: comparison of unsigned expression stream.cpp: if (a stream.cpp: ~ ^ ~
stream.cpp: /home/djb/benchmarking/supercop-20141014/supercop-data/h4e350/amd64/include/cryptopp/simple.h:42:113: note: in instantiation of function template specialization 'CryptoPP::IntToStringgt;' requested here
stream.cpp: explicit InvalidRounds(const std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rounds) + " is not a valid number of rounds") {}
stream.cpp: ^
stream.cpp: 2 warnings generated.
try.cpp: try-anything.cpp:110:19: warning: if statement has empty body [-Wempty-body]
try.cpp: ;
try.cpp: ^
try.cpp: 1 warning generated.
try.cpp: try-anything.cpp:110:19: warning: if statement has empty body [-Wempty-body]
try.cpp: ;
try.cpp: ^
try.cpp: 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 cryptopp

Compiler output

Implementation: crypto_stream/aes128ctr/cryptopp
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
stream.cpp: clang: warning: argument unused during compilation: '-mcpu=core-avx2'
stream.cpp: clang: warning: argument unused during compilation: '-mavx2'
stream.cpp: clang: warning: argument unused during compilation: '-mpclmul'
stream.cpp: clang: warning: argument unused during compilation: '-fpolly'
stream.cpp: clang: warning: argument unused during compilation: '-fvectorize'
stream.cpp: clang: warning: argument unused during compilation: '-fslp-vectorize'
stream.cpp: clang: warning: argument unused during compilation: '-fslp-vectorize-aggressive'
stream.cpp: In file included from stream.cpp:1:
stream.cpp: In file included from /home/djb/benchmarking/supercop-20141014/supercop-data/h4e350/amd64/include/cryptopp/aes.h:4:
stream.cpp: In file included from /home/djb/benchmarking/supercop-20141014/supercop-data/h4e350/amd64/include/cryptopp/rijndael.h:7:
stream.cpp: In file included from /home/djb/benchmarking/supercop-20141014/supercop-data/h4e350/amd64/include/cryptopp/seckey.h:9:
stream.cpp: /home/djb/benchmarking/supercop-20141014/supercop-data/h4e350/amd64/include/cryptopp/misc.h:414:8: warning: comparison of unsigned expression stream.cpp: if (a stream.cpp: ~ ^ ~
stream.cpp: /home/djb/benchmarking/supercop-20141014/supercop-data/h4e350/amd64/include/cryptopp/simple.h:35:110: note: in instantiation of function template specialization 'CryptoPP::IntToStringgt;' requested here
stream.cpp: explicit InvalidKeyLength(const std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) + " is not a valid key length") {}
stream.cpp: ^
stream.cpp: In file included from stream.cpp:1:
stream.cpp: In file included from /home/djb/benchmarking/supercop-20141014/supercop-data/h4e350/amd64/include/cryptopp/aes.h:4:
stream.cpp: In file included from /home/djb/benchmarking/supercop-20141014/supercop-data/h4e350/amd64/include/cryptopp/rijndael.h:7:
stream.cpp: In file included from /home/djb/benchmarking/supercop-20141014/supercop-data/h4e350/amd64/include/cryptopp/seckey.h:9:
stream.cpp: /home/djb/benchmarking/supercop-20141014/supercop-data/h4e350/amd64/include/cryptopp/misc.h:414:8: warning: comparison of unsigned expression stream.cpp: if (a stream.cpp: ~ ^ ~
stream.cpp: /home/djb/benchmarking/supercop-20141014/supercop-data/h4e350/amd64/include/cryptopp/simple.h:42:113: note: in instantiation of function template specialization 'CryptoPP::IntToStringgt;' requested here
stream.cpp: ...
try.cpp: try-anything.cpp:110:19: warning: if statement has empty body [-Wempty-body]
try.cpp: ;
try.cpp: ^
try.cpp: 1 warning generated.
try.cpp: try-anything.cpp:110:19: warning: if statement has empty body [-Wempty-body]
try.cpp: ;
try.cpp: ^
try.cpp: 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 cryptopp

Compiler output

Implementation: crypto_stream/aes128ctr/cryptopp
Compiler: clang++ -O3 -fwrapv -mavx2 -fomit-frame-pointer
stream.cpp: clang: warning: argument unused during compilation: '-mavx2'
stream.cpp: In file included from stream.cpp:1:
stream.cpp: In file included from /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/aes.h:4:
stream.cpp: In file included from /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/rijndael.h:7:
stream.cpp: In file included from /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/seckey.h:9:
stream.cpp: /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/misc.h:414:8: warning: comparison of unsigned expression stream.cpp: if (a stream.cpp: ~ ^ ~
stream.cpp: /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/simple.h:35:110: note: in instantiation of function template specialization 'CryptoPP::IntToStringgt;' requested here
stream.cpp: explicit InvalidKeyLength(const std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) + " is not a valid key length") {}
stream.cpp: ^
stream.cpp: In file included from stream.cpp:1:
stream.cpp: In file included from /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/aes.h:4:
stream.cpp: In file included from /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/rijndael.h:7:
stream.cpp: In file included from /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/seckey.h:9:
stream.cpp: /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/misc.h:414:8: warning: comparison of unsigned expression stream.cpp: if (a stream.cpp: ~ ^ ~
stream.cpp: /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/simple.h:42:113: note: in instantiation of function template specialization 'CryptoPP::IntToStringgt;' requested here
stream.cpp: explicit InvalidRounds(const std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rounds) + " is not a valid number of rounds") {}
stream.cpp: ^
stream.cpp: 2 warnings generated.
try.cpp: try-anything.cpp:110:19: warning: if statement has empty body [-Wempty-body]
try.cpp: ;
try.cpp: ^
try.cpp: 1 warning generated.
try.cpp: try-anything.cpp:110:19: warning: if statement has empty body [-Wempty-body]
try.cpp: ;
try.cpp: ^
try.cpp: 1 warning generated.

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

Compiler output

Implementation: crypto_stream/aes128ctr/cryptopp
Compiler: clang++ -O3 -fwrapv -mavx2 -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer
stream.cpp: clang: warning: argument unused during compilation: '-mavx2'
stream.cpp: clang: warning: argument unused during compilation: '-fpolly'
stream.cpp: clang: warning: argument unused during compilation: '-fvectorize'
stream.cpp: clang: warning: argument unused during compilation: '-fslp-vectorize'
stream.cpp: clang: warning: argument unused during compilation: '-fslp-vectorize-aggressive'
stream.cpp: In file included from stream.cpp:1:
stream.cpp: In file included from /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/aes.h:4:
stream.cpp: In file included from /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/rijndael.h:7:
stream.cpp: In file included from /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/seckey.h:9:
stream.cpp: /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/misc.h:414:8: warning: comparison of unsigned expression stream.cpp: if (a stream.cpp: ~ ^ ~
stream.cpp: /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/simple.h:35:110: note: in instantiation of function template specialization 'CryptoPP::IntToStringgt;' requested here
stream.cpp: explicit InvalidKeyLength(const std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) + " is not a valid key length") {}
stream.cpp: ^
stream.cpp: In file included from stream.cpp:1:
stream.cpp: In file included from /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/aes.h:4:
stream.cpp: In file included from /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/rijndael.h:7:
stream.cpp: In file included from /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/seckey.h:9:
stream.cpp: /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/misc.h:414:8: warning: comparison of unsigned expression stream.cpp: if (a stream.cpp: ~ ^ ~
stream.cpp: /home/djb/supercop-20140622/supercop-data/h4e350/amd64/include/cryptopp/simple.h:42:113: note: in instantiation of function template specialization 'CryptoPP::IntToStringgt;' requested here
stream.cpp: explicit InvalidRounds(const std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rounds) + " is not a valid number of rounds") {}
stream.cpp: ^
stream.cpp: ...
try.cpp: try-anything.cpp:110:19: warning: if statement has empty body [-Wempty-body]
try.cpp: ;
try.cpp: ^
try.cpp: 1 warning generated.
try.cpp: try-anything.cpp:110:19: warning: if statement has empty body [-Wempty-body]
try.cpp: ;
try.cpp: ^
try.cpp: 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 cryptopp