Implementation notes: amd64, ryzen, crypto_stream/ocelot2

Computer: ryzen
Architecture: amd64
CPU ID: AuthenticAMD-00800f11-178bfbff
SUPERCOP version: 20170904
Operation: crypto_stream
Primitive: ocelot2

Compiler output

Implementation: crypto_stream/ocelot2/ref
Compiler: clang++ -O3 -fomit-frame-pointer -Qunused-arguments
stream.cpp: stream.cpp:12:18: error: use of undeclared identifier 'crypto_stream_ocelot1_ref_KEYBYTES'
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^
stream.cpp: stream.cpp:29:18: error: use of undeclared identifier 'crypto_stream_ocelot1_ref_KEYBYTES'
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^
stream.cpp: 2 errors generated.

Number of similar (compiler,implementation) pairs: 10, namely:
CompilerImplementations
clang++ -O3 -fomit-frame-pointer -Qunused-arguments ref
clang++ -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments ref
clang++ -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer -Qunused-arguments ref
clang++ -O3 -fwrapv -mavx2 -fomit-frame-pointer -Qunused-arguments ref
clang++ -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments ref
clang++ -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer -Qunused-arguments ref
clang++ -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref
clang++ -mcpu=cortex-a8 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref
clang++ -mcpu=cortex-a9 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref
clang++ -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref

Compiler output

Implementation: crypto_stream/ocelot2/ref
Compiler: g++
stream.cpp: stream.cpp: In function 'int crypto_stream_ocelot2_ref(unsigned char*, long long unsigned int, const unsigned char*, const unsigned char*)':
stream.cpp: stream.cpp:12:18: error: 'crypto_stream_ocelot1_ref_KEYBYTES' was not declared in this scope
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stream.cpp: stream.cpp:12:18: note: suggested alternative: 'crypto_stream_ocelot2_ref_KEYBYTES'
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stream.cpp: crypto_stream_ocelot2_ref_KEYBYTES
stream.cpp: stream.cpp: In function 'int crypto_stream_ocelot2_ref_xor(unsigned char*, const unsigned char*, long long unsigned int, const unsigned char*, const unsigned char*)':
stream.cpp: stream.cpp:29:18: error: 'crypto_stream_ocelot1_ref_KEYBYTES' was not declared in this scope
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stream.cpp: stream.cpp:29:18: note: suggested alternative: 'crypto_stream_ocelot2_ref_KEYBYTES'
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stream.cpp: crypto_stream_ocelot2_ref_KEYBYTES

Number of similar (compiler,implementation) pairs: 73, namely:
CompilerImplementations
g++ ref
g++ -O2 -fomit-frame-pointer ref
g++ -O3 -fomit-frame-pointer ref
g++ -O -fomit-frame-pointer ref
g++ -Os -fomit-frame-pointer ref
g++ -fno-schedule-insns -O2 -fomit-frame-pointer ref
g++ -fno-schedule-insns -O3 -fomit-frame-pointer ref
g++ -fno-schedule-insns -O -fomit-frame-pointer ref
g++ -fno-schedule-insns -Os -fomit-frame-pointer ref
g++ -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer ref
g++ -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer ref
g++ -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer ref
g++ -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer ref
g++ -m64 -O2 -fomit-frame-pointer ref
g++ -m64 -O3 -fomit-frame-pointer ref
g++ -m64 -O -fomit-frame-pointer ref
g++ -m64 -Os -fomit-frame-pointer ref
g++ -m64 -march=core-avx-i -O2 -fomit-frame-pointer ref
g++ -m64 -march=core-avx-i -O3 -fomit-frame-pointer ref
g++ -m64 -march=core-avx-i -O -fomit-frame-pointer ref
g++ -m64 -march=core-avx-i -Os -fomit-frame-pointer ref
g++ -m64 -march=core-avx2 -O2 -fomit-frame-pointer ref
g++ -m64 -march=core-avx2 -O3 -fomit-frame-pointer ref
g++ -m64 -march=core-avx2 -O -fomit-frame-pointer ref
g++ -m64 -march=core-avx2 -Os -fomit-frame-pointer ref
g++ -m64 -march=core2 -O2 -fomit-frame-pointer ref
g++ -m64 -march=core2 -O3 -fomit-frame-pointer ref
g++ -m64 -march=core2 -O -fomit-frame-pointer ref
g++ -m64 -march=core2 -Os -fomit-frame-pointer ref
g++ -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer ref
g++ -m64 -march=core2 -msse4.1 -O3 -fomit-frame-pointer ref
g++ -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer ref
g++ -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer ref
g++ -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer ref
g++ -m64 -march=core2 -msse4 -O3 -fomit-frame-pointer ref
g++ -m64 -march=core2 -msse4 -O -fomit-frame-pointer ref
g++ -m64 -march=core2 -msse4 -Os -fomit-frame-pointer ref
g++ -m64 -march=corei7-avx -O2 -fomit-frame-pointer ref
g++ -m64 -march=corei7-avx -O3 -fomit-frame-pointer ref
g++ -m64 -march=corei7-avx -O -fomit-frame-pointer ref
g++ -m64 -march=corei7-avx -Os -fomit-frame-pointer ref
g++ -m64 -march=corei7 -O2 -fomit-frame-pointer ref
g++ -m64 -march=corei7 -O3 -fomit-frame-pointer ref
g++ -m64 -march=corei7 -O -fomit-frame-pointer ref
g++ -m64 -march=corei7 -Os -fomit-frame-pointer ref
g++ -m64 -march=k8 -O2 -fomit-frame-pointer ref
g++ -m64 -march=k8 -O3 -fomit-frame-pointer ref
g++ -m64 -march=k8 -O -fomit-frame-pointer ref
g++ -m64 -march=k8 -Os -fomit-frame-pointer ref
g++ -m64 -march=native -mtune=native -O2 -fomit-frame-pointer ref
g++ -m64 -march=native -mtune=native -O3 -fomit-frame-pointer ref
g++ -m64 -march=native -mtune=native -O -fomit-frame-pointer ref
g++ -m64 -march=native -mtune=native -Os -fomit-frame-pointer ref
g++ -m64 -march=nocona -O2 -fomit-frame-pointer ref
g++ -m64 -march=nocona -O3 -fomit-frame-pointer ref
g++ -m64 -march=nocona -O -fomit-frame-pointer ref
g++ -m64 -march=nocona -Os -fomit-frame-pointer ref
g++ -march=barcelona -O2 -fomit-frame-pointer ref
g++ -march=barcelona -O3 -fomit-frame-pointer ref
g++ -march=barcelona -O -fomit-frame-pointer ref
g++ -march=barcelona -Os -fomit-frame-pointer ref
g++ -march=k8 -O2 -fomit-frame-pointer ref
g++ -march=k8 -O3 -fomit-frame-pointer ref
g++ -march=k8 -O -fomit-frame-pointer ref
g++ -march=k8 -Os -fomit-frame-pointer ref
g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv ref
g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv ref
g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv ref
g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv ref
g++ -march=nocona -O2 -fomit-frame-pointer ref
g++ -march=nocona -O3 -fomit-frame-pointer ref
g++ -march=nocona -O -fomit-frame-pointer ref
g++ -march=nocona -Os -fomit-frame-pointer ref

Compiler output

Implementation: crypto_stream/ocelot2/ref
Compiler: g++ -m64 -march=barcelona -O2 -fomit-frame-pointer
stream.cpp: stream.cpp: In function 'int crypto_stream_ocelot2_ref(unsigned char*, long long unsigned int, const unsigned char*, const unsigned char*)':
stream.cpp: stream.cpp:12:18: error: 'crypto_stream_ocelot1_ref_KEYBYTES' was not declared in this scope
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stream.cpp: stream.cpp:12:18: note: suggested alternative: 'crypto_stream_ocelot2_ref_KEYBYTES'
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stream.cpp: crypto_stream_ocelot2_ref_KEYBYTES
stream.cpp: stream.cpp: In function 'int crypto_stream_ocelot2_ref_xor(unsigned char*, const unsigned char*, long long unsigned int, const unsigned char*, const unsigned char*)':
stream.cpp: stream.cpp:29:18: error: 'crypto_stream_ocelot1_ref_KEYBYTES' was not declared in this scope
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stream.cpp: stream.cpp:29:18: note: suggested alternative: 'crypto_stream_ocelot2_ref_KEYBYTES'
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stream.cpp: crypto_stream_ocelot2_ref_KEYBYTES
stream.cpp: stream.cpp: In function 'int crypto_stream_ocelot2_ref(unsigned char*, long long unsigned int, const unsigned char*, const unsigned char*)':
stream.cpp: stream.cpp:12:18: error: 'crypto_stream_ocelot1_ref_KEYBYTES' was not declared in this scope
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stream.cpp: stream.cpp:12:18: note: suggested alternative: 'crypto_stream_ocelot2_ref_KEYBYTES'
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stream.cpp: crypto_stream_ocelot2_ref_KEYBYTES
stream.cpp: stream.cpp: In function 'int crypto_stream_ocelot2_ref_xor(unsigned char*, const unsigned char*, long long unsigned int, const unsigned char*, const unsigned char*)':
stream.cpp: stream.cpp:29:18: error: 'crypto_stream_ocelot1_ref_KEYBYTES' was not declared in this scope
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stream.cpp: stream.cpp:29:18: note: suggested alternative: 'crypto_stream_ocelot2_ref_KEYBYTES'
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stream.cpp: crypto_stream_ocelot2_ref_KEYBYTES

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
g++ -m64 -march=barcelona -O2 -fomit-frame-pointer ref
g++ -m64 -march=barcelona -O3 -fomit-frame-pointer ref
g++ -m64 -march=barcelona -O -fomit-frame-pointer ref
g++ -m64 -march=barcelona -Os -fomit-frame-pointer ref

Compiler output

Implementation: crypto_stream/ocelot2/ref
Compiler: icpc -O1 -static
stream.cpp: stream.cpp(12): error: identifier "crypto_stream_ocelot1_ref_KEYBYTES" is undefined
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^
stream.cpp:
stream.cpp: stream.cpp(29): error: identifier "crypto_stream_ocelot1_ref_KEYBYTES" is undefined
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^
stream.cpp:
stream.cpp: compilation aborted for stream.cpp (code 2)

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
icpc -O1 -static ref
icpc -O2 -static ref
icpc -O3 -static ref
icpc -Os -static ref
icpc -fast ref
icpc -static ref

Compiler output

Implementation: crypto_stream/ocelot2/ref
Compiler: icpc -O1 -xB -static
Counter.cpp: icpc: command line warning #10131: extension 'B' not supported ignored in option '-x'
Ocelot2.cpp: icpc: command line warning #10131: extension 'B' not supported ignored in option '-x'
stream.cpp: icpc: command line warning #10131: extension 'B' not supported ignored in option '-x'
stream.cpp: stream.cpp(12): error: identifier "crypto_stream_ocelot1_ref_KEYBYTES" is undefined
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^
stream.cpp:
stream.cpp: stream.cpp(29): error: identifier "crypto_stream_ocelot1_ref_KEYBYTES" is undefined
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^
stream.cpp:
stream.cpp: compilation aborted for stream.cpp (code 2)

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
icpc -O1 -xB -static ref
icpc -O2 -xB -static ref
icpc -O3 -xB -static ref
icpc -Os -xB -static ref

Compiler output

Implementation: crypto_stream/ocelot2/ref
Compiler: icpc -O1 -xK -static
Counter.cpp: icpc: command line warning #10131: extension 'K' not supported ignored in option '-x'
Ocelot2.cpp: icpc: command line warning #10131: extension 'K' not supported ignored in option '-x'
stream.cpp: icpc: command line warning #10131: extension 'K' not supported ignored in option '-x'
stream.cpp: stream.cpp(12): error: identifier "crypto_stream_ocelot1_ref_KEYBYTES" is undefined
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^
stream.cpp:
stream.cpp: stream.cpp(29): error: identifier "crypto_stream_ocelot1_ref_KEYBYTES" is undefined
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^
stream.cpp:
stream.cpp: compilation aborted for stream.cpp (code 2)

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
icpc -O1 -xK -static ref
icpc -O2 -xK -static ref
icpc -O3 -xK -static ref
icpc -Os -xK -static ref

Compiler output

Implementation: crypto_stream/ocelot2/ref
Compiler: icpc -O1 -xN -static
Counter.cpp: icpc: command line warning #10131: extension 'N' not supported ignored in option '-x'
Ocelot2.cpp: icpc: command line warning #10131: extension 'N' not supported ignored in option '-x'
stream.cpp: icpc: command line warning #10131: extension 'N' not supported ignored in option '-x'
stream.cpp: stream.cpp(12): error: identifier "crypto_stream_ocelot1_ref_KEYBYTES" is undefined
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^
stream.cpp:
stream.cpp: stream.cpp(29): error: identifier "crypto_stream_ocelot1_ref_KEYBYTES" is undefined
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^
stream.cpp:
stream.cpp: compilation aborted for stream.cpp (code 2)

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
icpc -O1 -xN -static ref
icpc -O2 -xN -static ref
icpc -O3 -xN -static ref
icpc -Os -xN -static ref

Compiler output

Implementation: crypto_stream/ocelot2/ref
Compiler: icpc -O1 -xW -static
Counter.cpp: icpc: command line warning #10131: extension 'W' not supported ignored in option '-x'
Ocelot2.cpp: icpc: command line warning #10131: extension 'W' not supported ignored in option '-x'
stream.cpp: icpc: command line warning #10131: extension 'W' not supported ignored in option '-x'
stream.cpp: stream.cpp(12): error: identifier "crypto_stream_ocelot1_ref_KEYBYTES" is undefined
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^
stream.cpp:
stream.cpp: stream.cpp(29): error: identifier "crypto_stream_ocelot1_ref_KEYBYTES" is undefined
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^
stream.cpp:
stream.cpp: compilation aborted for stream.cpp (code 2)

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
icpc -O1 -xW -static ref
icpc -O2 -xW -static ref
icpc -O3 -xW -static ref
icpc -Os -xW -static ref

Compiler output

Implementation: crypto_stream/ocelot2/ref
Compiler: icpc -m64 -xHost -vec-report0 -static
Counter.cpp: icpc: command line remark #10148: option '-vec-report0' not supported
Ocelot2.cpp: icpc: command line remark #10148: option '-vec-report0' not supported
stream.cpp: icpc: command line remark #10148: option '-vec-report0' not supported
stream.cpp: stream.cpp(12): error: identifier "crypto_stream_ocelot1_ref_KEYBYTES" is undefined
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^
stream.cpp:
stream.cpp: stream.cpp(29): error: identifier "crypto_stream_ocelot1_ref_KEYBYTES" is undefined
stream.cpp: Ocelot2 prng(k, crypto_stream_ocelot1_ref_KEYBYTES, Ocelot2::OCELOTSize32);
stream.cpp: ^
stream.cpp:
stream.cpp: compilation aborted for stream.cpp (code 2)

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
icpc -m64 -xHost -vec-report0 -static ref