Implementation notes: amd64, icelake, crypto_encrypt/r5n13pke0smallct

Computer: icelake
Architecture: amd64
CPU ID: GenuineIntel-000706e5-bfebfbff
SUPERCOP version: 20200826
Operation: crypto_encrypt
Primitive: r5n13pke0smallct
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1406865639649 0 0151552 4096 0T:avx2clang_-march=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
1504646636906 0 0151552 4096 0T:avx2opt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
1512258925193 0 0143360 4096 0T:avx2clang_-march=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
1523548634077 0 0151552 4096 0T:avx2clang_-march=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
1685210330184 0 0147456 4096 0T:optclang_-march=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
1717997135035 0 0147456 4096 0T:optclang_-march=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
1727220129384 0 0143360 4096 0T:avx2opt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
1787664235575 0 0147456 4096 0T:optopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
1805177324614 0 0143360 4096 0T:optclang_-march=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
1956627825011 0 0139264 4096 0T:avx2opt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
1984910528804 0 0143360 4096 0T:optopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
2434188724387 0 0139264 4096 0T:optopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826

Test failure

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=icelake-client -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
error 142
sh: line 1: 19155 Alarm clock: 14 killafter 3600 ./try

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

Test failure

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=icelake-client -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
error 142
sh: line 1: 19101 Alarm clock: 14 killafter 3600 ./try

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

Test failure

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=icelake-client -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
error 142
sh: line 1: 19126 Alarm clock: 14 killafter 3600 ./try

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

Compiler output

Implementation: T:avx2
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: 6, 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
clang -march=icelake-client -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -march=icelake-client -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -march=icelake-client -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: duplicate symbol '_r5_parameter_sets' in:
try.c: crypto_encrypt_r5n13pke0smallct.a(cca_encrypt.o)
try.c: crypto_encrypt_r5n13pke0smallct.a(a_fixed.o)
try.c: duplicate symbol '_r5_parameter_set_names' in:
try.c: crypto_encrypt_r5n13pke0smallct.a(cca_encrypt.o)
try.c: crypto_encrypt_r5n13pke0smallct.a(a_fixed.o)
try.c: duplicate symbol '_r5_parameter_sets' in:
try.c: crypto_encrypt_r5n13pke0smallct.a(cca_encrypt.o)
try.c: crypto_encrypt_r5n13pke0smallct.a(a_random.o)
try.c: duplicate symbol '_r5_parameter_set_names' in:
try.c: crypto_encrypt_r5n13pke0smallct.a(cca_encrypt.o)
try.c: crypto_encrypt_r5n13pke0smallct.a(a_random.o)
try.c: duplicate symbol '_r5_parameter_sets' in:
try.c: crypto_encrypt_r5n13pke0smallct.a(cca_encrypt.o)
try.c: crypto_encrypt_r5n13pke0smallct.a(parameters.o)
try.c: duplicate symbol '_r5_parameter_set_names' in:
try.c: crypto_encrypt_r5n13pke0smallct.a(cca_encrypt.o)
try.c: crypto_encrypt_r5n13pke0smallct.a(parameters.o)
try.c: duplicate symbol '_r5_parameter_sets' in:
try.c: crypto_encrypt_r5n13pke0smallct.a(cca_encrypt.o)
try.c: crypto_encrypt_r5n13pke0smallct.a(r5_cca_kem.o)
try.c: duplicate symbol '_r5_parameter_set_names' in:
try.c: crypto_encrypt_r5n13pke0smallct.a(cca_encrypt.o)
try.c: crypto_encrypt_r5n13pke0smallct.a(r5_cca_kem.o)
try.c: duplicate symbol '_r5_parameter_sets' in:
try.c: ...

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:ref
opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref