Implementation notes: amd64, icelake, crypto_sign/sphincs256

Computer: icelake
Architecture: amd64
CPU ID: GenuineIntel-000706e5-bfebfbff
SUPERCOP version: 20200826
Operation: crypto_sign
Primitive: sphincs256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1828117488331 0 057344 4096 0T:refclang_-march=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020082920200826
18419601612678 0 065536 4096 0T:refclang_-march=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020082920200826
19905808218837 0 069632 4096 0T:refclang_-march=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020082920200826
24904256211038 0 065536 4096 0T:refopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020082920200826
2909200958251 0 057344 4096 0T:refopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020082920200826
3006875389076 0 061440 4096 0T:refopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020082920200826

Compiler output

Implementation: T:avx2
Security model: timingleaks
Compiler: clang -march=icelake-client -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: Undefined symbols for architecture x86_64:
try.c: "_rotate16", referenced from:
try.c: _hash_2n_n_mask_8x in crypto_sign_sphincs256.a(hash_2n_n_mask_8x.o)
try.c: _genfullchain8x in crypto_sign_sphincs256.a(genfullchain8x.o)
try.c: _hash_n_n_8x in crypto_sign_sphincs256.a(hash_n_n_8x.o)
try.c: _loop_hash_2n_n_mask_8x in crypto_sign_sphincs256.a(loop_hash_2n_n_mask_8x.o)
try.c: "_rotate8", referenced from:
try.c: _hash_2n_n_mask_8x in crypto_sign_sphincs256.a(hash_2n_n_mask_8x.o)
try.c: _genfullchain8x in crypto_sign_sphincs256.a(genfullchain8x.o)
try.c: _hash_n_n_8x in crypto_sign_sphincs256.a(hash_n_n_8x.o)
try.c: _loop_hash_2n_n_mask_8x in crypto_sign_sphincs256.a(loop_hash_2n_n_mask_8x.o)
try.c: "hashc8x", referenced from:
try.c: _hash_2n_n_mask_8x in crypto_sign_sphincs256.a(hash_2n_n_mask_8x.o)
try.c: _genfullchain8x in crypto_sign_sphincs256.a(genfullchain8x.o)
try.c: _hash_n_n_8x in crypto_sign_sphincs256.a(hash_n_n_8x.o)
try.c: _loop_hash_2n_n_mask_8x in crypto_sign_sphincs256.a(loop_hash_2n_n_mask_8x.o)
try.c: ld: symbol(s) not found for architecture x86_64
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
clang -march=icelake-client -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx2
clang -march=icelake-client -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx2
clang -march=icelake-client -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx2

Compiler output

Implementation: T:avx2
Security model: timingleaks
Compiler: opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: Undefined symbols for architecture x86_64:
try.c: "_rotate16", referenced from:
try.c: _hash_2n_n_mask_8x in crypto_sign_sphincs256.a(hash_2n_n_mask_8x.o)
try.c: _genfullchain8x in crypto_sign_sphincs256.a(genfullchain8x.o)
try.c: _hash_n_n_8x in crypto_sign_sphincs256.a(hash_n_n_8x.o)
try.c: _loop_hash_2n_n_mask_8x in crypto_sign_sphincs256.a(loop_hash_2n_n_mask_8x.o)
try.c: "_rotate8", referenced from:
try.c: _hash_2n_n_mask_8x in crypto_sign_sphincs256.a(hash_2n_n_mask_8x.o)
try.c: _genfullchain8x in crypto_sign_sphincs256.a(genfullchain8x.o)
try.c: _hash_n_n_8x in crypto_sign_sphincs256.a(hash_n_n_8x.o)
try.c: _loop_hash_2n_n_mask_8x in crypto_sign_sphincs256.a(loop_hash_2n_n_mask_8x.o)
try.c: "hashc8x", referenced from:
try.c: _hash_2n_n_mask_8x in crypto_sign_sphincs256.a(hash_2n_n_mask_8x.o)
try.c: _genfullchain8x in crypto_sign_sphincs256.a(genfullchain8x.o)
try.c: _hash_n_n_8x in crypto_sign_sphincs256.a(hash_n_n_8x.o)
try.c: _loop_hash_2n_n_mask_8x in crypto_sign_sphincs256.a(loop_hash_2n_n_mask_8x.o)
try.c: ld: symbol(s) not found for architecture x86_64
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=icelake-client -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
measure.c: ld: warning: could not create compact unwind for _crypto_stream_aes256ctr_dolbeau_aesenc_int_constbranchindex_xor: register 3 saved somewhere other than in frame

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
clang -march=icelake-client -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=icelake-client -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=icelake-client -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref