Implementation notes: amd64, ryzen, crypto_sign/tts6440

Computer: ryzen
Architecture: amd64
CPU ID: AuthenticAMD-00800f11-178bfbff
SUPERCOP version: 20170904
Operation: crypto_sign
Primitive: tts6440
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
55290? ? ?? ? ?refclang++_-O3_-fomit-frame-pointer_-Qunused-arguments2017091220170904
57000? ? ?? ? ?refclang++_-O3_-fwrapv_-march=x86-64_-mcpu=core-avx2_-mavx2_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2017091220170904
57180? ? ?? ? ?refclang++_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2017091220170904
57270? ? ?? ? ?refclang++_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2017091220170904
57420? ? ?? ? ?refclang++_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2017091220170904
57450? ? ?? ? ?refclang++_-O3_-fwrapv_-march=native_-fomit-frame-pointer_-Qunused-arguments2017091220170904
57480? ? ?? ? ?refclang++_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2017091220170904
58020? ? ?? ? ?refclang++_-mcpu=cortex-a9_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2017091220170904
58530? ? ?? ? ?refclang++_-mcpu=cortex-a8_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2017091220170904
71970? ? ?? ? ?refg++_-m64_-march=corei7-avx_-O_-fomit-frame-pointer2017091220170904
72120? ? ?? ? ?refg++_-m64_-march=core-avx-i_-O_-fomit-frame-pointer2017091220170904
72570? ? ?? ? ?refg++_-m64_-march=core2_-msse4_-O_-fomit-frame-pointer2017091220170904
72570? ? ?? ? ?refg++_-m64_-march=native_-mtune=native_-O_-fomit-frame-pointer2017091220170904
72720? ? ?? ? ?refg++_-m64_-march=core2_-msse4.1_-O_-fomit-frame-pointer2017091220170904
72900? ? ?? ? ?refg++_-m64_-march=corei7_-O_-fomit-frame-pointer2017091220170904
73140? ? ?? ? ?refg++_-m64_-march=core2_-O_-fomit-frame-pointer2017091220170904
73140? ? ?? ? ?refg++_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2017091220170904
74010? ? ?? ? ?refg++_-fno-schedule-insns_-O_-fomit-frame-pointer2017091220170904
74040? ? ?? ? ?refg++_-march=barcelona_-O_-fomit-frame-pointer2017091220170904
74070? ? ?? ? ?refg++_-O_-fomit-frame-pointer2017091220170904
74100? ? ?? ? ?refg++_-march=k8_-O_-fomit-frame-pointer2017091220170904
74130? ? ?? ? ?refg++_-m64_-O_-fomit-frame-pointer2017091220170904
74490? ? ?? ? ?refg++_-m64_-march=barcelona_-O_-fomit-frame-pointer2017091220170904
74790? ? ?? ? ?refg++_-m64_-march=k8_-O_-fomit-frame-pointer2017091220170904
76830? ? ?? ? ?refg++_-m64_-march=nocona_-O_-fomit-frame-pointer2017091220170904
76920? ? ?? ? ?refg++_-march=nocona_-O_-fomit-frame-pointer2017091220170904
82050? ? ?? ? ?refg++_-m64_-march=core-avx-i_-Os_-fomit-frame-pointer2017091220170904
82350? ? ?? ? ?refg++_-m64_-march=core-avx2_-Os_-fomit-frame-pointer2017091220170904
82380? ? ?? ? ?refg++_-m64_-march=corei7-avx_-Os_-fomit-frame-pointer2017091220170904
82890? ? ?? ? ?refg++_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2017091220170904
83100? ? ?? ? ?refg++_-m64_-march=native_-mtune=native_-Os_-fomit-frame-pointer2017091220170904
83280? ? ?? ? ?refg++_-m64_-march=nocona_-Os_-fomit-frame-pointer2017091220170904
83370? ? ?? ? ?refg++_-march=nocona_-Os_-fomit-frame-pointer2017091220170904
83460? ? ?? ? ?refg++_-m64_-march=corei7_-Os_-fomit-frame-pointer2017091220170904
83550? ? ?? ? ?refg++_-m64_-march=core2_-msse4.1_-Os_-fomit-frame-pointer2017091220170904
83970? ? ?? ? ?refg++_-m64_-march=core2_-msse4_-Os_-fomit-frame-pointer2017091220170904
84270? ? ?? ? ?refg++_-m64_-march=core2_-Os_-fomit-frame-pointer2017091220170904
84720? ? ?? ? ?refg++_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2017091220170904
84750? ? ?? ? ?refg++_-m64_-Os_-fomit-frame-pointer2017091220170904
84780? ? ?? ? ?refg++_-march=barcelona_-Os_-fomit-frame-pointer2017091220170904
84780? ? ?? ? ?refg++_-march=k8_-Os_-fomit-frame-pointer2017091220170904
85050? ? ?? ? ?refg++_-m64_-march=k8_-Os_-fomit-frame-pointer2017091220170904
85170? ? ?? ? ?refg++_-fno-schedule-insns_-Os_-fomit-frame-pointer2017091220170904
87930? ? ?? ? ?refg++_-Os_-fomit-frame-pointer2017091220170904
145080? ? ?? ? ?refclang++_-mcpu=native_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2017091220170904
166260? ? ?? ? ?refg++_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2017091220170904
180270? ? ?? ? ?refg++_-m64_-march=core-avx2_-O_-fomit-frame-pointer2017091220170904
212130? ? ?? ? ?refg++_-m64_-march=barcelona_-Os_-fomit-frame-pointer2017091220170904
851760? ? ?? ? ?refg++2017091220170904

Test failure

Implementation: crypto_sign/tts6440/ref
Compiler: g++ -O2 -fomit-frame-pointer
error 111
crypto_sign_open returns nonzero

Number of similar (compiler,implementation) pairs: 36, namely:
CompilerImplementations
g++ -O2 -fomit-frame-pointer ref
g++ -O3 -fomit-frame-pointer ref
g++ -fno-schedule-insns -O2 -fomit-frame-pointer ref
g++ -fno-schedule-insns -O3 -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++ -m64 -O2 -fomit-frame-pointer ref
g++ -m64 -O3 -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-avx2 -O2 -fomit-frame-pointer ref
g++ -m64 -march=core-avx2 -O3 -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 -msse4.1 -O2 -fomit-frame-pointer ref
g++ -m64 -march=core2 -msse4.1 -O3 -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=corei7-avx -O2 -fomit-frame-pointer ref
g++ -m64 -march=corei7-avx -O3 -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=k8 -O2 -fomit-frame-pointer ref
g++ -m64 -march=k8 -O3 -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=nocona -O2 -fomit-frame-pointer ref
g++ -m64 -march=nocona -O3 -fomit-frame-pointer ref
g++ -march=barcelona -O2 -fomit-frame-pointer ref
g++ -march=barcelona -O3 -fomit-frame-pointer ref
g++ -march=k8 -O2 -fomit-frame-pointer ref
g++ -march=k8 -O3 -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=nocona -O2 -fomit-frame-pointer ref
g++ -march=nocona -O3 -fomit-frame-pointer ref

Test failure

Implementation: crypto_sign/tts6440/ref
Compiler: g++ -m64 -march=barcelona -O2 -fomit-frame-pointer
error 111
crypto_sign_open returns nonzero
error 111
crypto_sign_open returns nonzero

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

Compiler output

Implementation: crypto_sign/tts6440/ref
Compiler: clang++ -O3 -fomit-frame-pointer -Qunused-arguments
measure.cpp: /usr/bin/ld: /root/supercop-20170904/supercop-data/ryzen/amd64/lib/fastrandombytes.o: relocation R_X86_64_32 against `g' can not be used when making a shared object; recompile with -fPIC
measure.cpp: /usr/bin/ld: /root/supercop-20170904/supercop-data/ryzen/amd64/lib/libsupercop.a(crypto_rng_aes256_ref-rng.o): relocation R_X86_64_32 against `nonce' can not be used when making a shared object; recompile with -fPIC
measure.cpp: /usr/bin/ld: final link failed: Nonrepresentable section on output
measure.cpp: clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)

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_sign/tts6440/ref
Compiler: g++
measure.cpp: /usr/bin/ld: /root/supercop-20170904/supercop-data/ryzen/amd64/lib/fastrandombytes.o: relocation R_X86_64_32 against `g' can not be used when making a shared object; recompile with -fPIC
measure.cpp: /usr/bin/ld: /root/supercop-20170904/supercop-data/ryzen/amd64/lib/libsupercop.a(crypto_rng_aes256_ref-rng.o): relocation R_X86_64_32 against `nonce' can not be used when making a shared object; recompile with -fPIC
measure.cpp: /usr/bin/ld: final link failed: Nonrepresentable section on output
measure.cpp: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 37, namely:
CompilerImplementations
g++ ref
g++ -O -fomit-frame-pointer ref
g++ -Os -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 -O -fomit-frame-pointer ref
g++ -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer ref
g++ -m64 -O -fomit-frame-pointer ref
g++ -m64 -Os -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 -O -fomit-frame-pointer ref
g++ -m64 -march=core-avx2 -Os -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 -O -fomit-frame-pointer ref
g++ -m64 -march=core2 -msse4.1 -Os -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 -O -fomit-frame-pointer ref
g++ -m64 -march=corei7-avx -Os -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 -O -fomit-frame-pointer ref
g++ -m64 -march=k8 -Os -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 -O -fomit-frame-pointer ref
g++ -m64 -march=nocona -Os -fomit-frame-pointer ref
g++ -march=barcelona -O -fomit-frame-pointer ref
g++ -march=barcelona -Os -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 -O -fomit-frame-pointer -fwrapv ref
g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv ref
g++ -march=nocona -O -fomit-frame-pointer ref
g++ -march=nocona -Os -fomit-frame-pointer ref

Compiler output

Implementation: crypto_sign/tts6440/ref
Compiler: g++ -m64 -march=barcelona -O -fomit-frame-pointer
measure.cpp: /usr/bin/ld: /root/supercop-20170904/supercop-data/ryzen/amd64/lib/fastrandombytes.o: relocation R_X86_64_32 against `g' can not be used when making a shared object; recompile with -fPIC
measure.cpp: /usr/bin/ld: /root/supercop-20170904/supercop-data/ryzen/amd64/lib/libsupercop.a(crypto_rng_aes256_ref-rng.o): relocation R_X86_64_32 against `nonce' can not be used when making a shared object; recompile with -fPIC
measure.cpp: /usr/bin/ld: final link failed: Nonrepresentable section on output
measure.cpp: collect2: error: ld returned 1 exit status
measure.cpp: /usr/bin/ld: /root/supercop-20170904/supercop-data/ryzen/amd64/lib/fastrandombytes.o: relocation R_X86_64_32 against `g' can not be used when making a shared object; recompile with -fPIC
measure.cpp: /usr/bin/ld: /root/supercop-20170904/supercop-data/ryzen/amd64/lib/libsupercop.a(crypto_rng_aes256_ref-rng.o): relocation R_X86_64_32 against `nonce' can not be used when making a shared object; recompile with -fPIC
measure.cpp: /usr/bin/ld: final link failed: Nonrepresentable section on output
measure.cpp: collect2: error: ld returned 1 exit status

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

Compiler output

Implementation: crypto_sign/tts6440/ref
Compiler: icpc -O1 -static
try.cpp: ld: cannot find -lcrypto

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

Compiler output

Implementation: crypto_sign/tts6440/ref
Compiler: icpc -O1 -xB -static
TTS_simple-test.cpp: icpc: command line warning #10131: extension 'B' not supported ignored in option '-x'
usehash.cpp: icpc: command line warning #10131: extension 'B' not supported ignored in option '-x'
try.cpp: icpc: command line warning #10131: extension 'B' not supported ignored in option '-x'
try.cpp: ld: cannot find -lcrypto

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_sign/tts6440/ref
Compiler: icpc -O1 -xK -static
TTS_simple-test.cpp: icpc: command line warning #10131: extension 'K' not supported ignored in option '-x'
usehash.cpp: icpc: command line warning #10131: extension 'K' not supported ignored in option '-x'
try.cpp: icpc: command line warning #10131: extension 'K' not supported ignored in option '-x'
try.cpp: ld: cannot find -lcrypto

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_sign/tts6440/ref
Compiler: icpc -O1 -xN -static
TTS_simple-test.cpp: icpc: command line warning #10131: extension 'N' not supported ignored in option '-x'
usehash.cpp: icpc: command line warning #10131: extension 'N' not supported ignored in option '-x'
try.cpp: icpc: command line warning #10131: extension 'N' not supported ignored in option '-x'
try.cpp: ld: cannot find -lcrypto

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_sign/tts6440/ref
Compiler: icpc -O1 -xW -static
TTS_simple-test.cpp: icpc: command line warning #10131: extension 'W' not supported ignored in option '-x'
usehash.cpp: icpc: command line warning #10131: extension 'W' not supported ignored in option '-x'
try.cpp: icpc: command line warning #10131: extension 'W' not supported ignored in option '-x'
try.cpp: ld: cannot find -lcrypto

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_sign/tts6440/ref
Compiler: icpc -fast
try.cpp: ipo: warning #11003: no IR in object file /root/supercop-20170904/supercop-data/ryzen/amd64/lib/knownrandombytes.o; was the source file compiled with -ipo
try.cpp: ipo: warning #11003: no IR in object file /root/supercop-20170904/supercop-data/ryzen/amd64/lib/kernelrandombytes.o; was the source file compiled with -ipo
try.cpp: ipo: warning #11003: no IR in object file /root/supercop-20170904/supercop-data/ryzen/amd64/lib/cpucycles.o; was the source file compiled with -ipo
try.cpp: ld: cannot find -lcrypto

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
icpc -fast ref

Compiler output

Implementation: crypto_sign/tts6440/ref
Compiler: icpc -m64 -xHost -vec-report0 -static
TTS_simple-test.cpp: icpc: command line remark #10148: option '-vec-report0' not supported
usehash.cpp: icpc: command line remark #10148: option '-vec-report0' not supported
try.cpp: icpc: command line remark #10148: option '-vec-report0' not supported
try.cpp: ld: cannot find -lcrypto

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