Implementation notes: amd64, icelake, crypto_kem/rolloii256

Computer: icelake
Architecture: amd64
CPU ID: GenuineIntel-000706e5-bfebfbff
SUPERCOP version: 20200826
Operation: crypto_kem
Primitive: rolloii256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
280724935736 24 098304 4096 0T:avxopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
286802528619 24 090112 4096 0T:avxclang_-march=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
287692733937 24 094208 4096 0T:avxopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
290814430635 24 094208 4096 0T:avxclang_-march=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
294743423102 24 081920 4096 0T:avxclang_-march=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
338959223746 24 081920 4096 0T:avxopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
581323929643 25 094208 4096 0T:refclang_-march=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
584490031595 25 094208 4096 0T:refclang_-march=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
1851633223693 25 081920 4096 0T:refclang_-march=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826

Compiler output

Implementation: T:avx
Security model: timingleaks
Compiler: clang -march=icelake-client -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
rbc_elt.c: rbc_elt.c:418:21: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
rbc_elt.c: printf("%lu %lu", e[0], e[1]);
rbc_elt.c: ~~~ ^~~~
rbc_elt.c: %llu
rbc_elt.c: rbc_elt.c:418:27: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
rbc_elt.c: printf("%lu %lu", e[0], e[1]);
rbc_elt.c: ~~~ ^~~~
rbc_elt.c: %llu
rbc_elt.c: rbc_elt.c:519:29: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
rbc_elt.c: printf("%lu %lu %lu %lu", e[0], e[1], e[2], e[3]);
rbc_elt.c: ~~~ ^~~~
rbc_elt.c: %llu
rbc_elt.c: rbc_elt.c:519:35: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
rbc_elt.c: printf("%lu %lu %lu %lu", e[0], e[1], e[2], e[3]);
rbc_elt.c: ~~~ ^~~~
rbc_elt.c: %llu
rbc_elt.c: rbc_elt.c:519:41: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
rbc_elt.c: printf("%lu %lu %lu %lu", e[0], e[1], e[2], e[3]);
rbc_elt.c: ~~~ ^~~~
rbc_elt.c: %llu
rbc_elt.c: rbc_elt.c:519:47: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
rbc_elt.c: printf("%lu %lu %lu %lu", e[0], e[1], e[2], e[3]);
rbc_elt.c: ~~~ ^~~~
rbc_elt.c: %llu
rbc_elt.c: 6 warnings generated.
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:avx
clang -march=icelake-client -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx
clang -march=icelake-client -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=icelake-client -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
rbc_elt.c: rbc_elt.c:431:21: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
rbc_elt.c: printf("%lu %lu", e[0], e[1]);
rbc_elt.c: ~~~ ^~~~
rbc_elt.c: %llu
rbc_elt.c: rbc_elt.c:431:27: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
rbc_elt.c: printf("%lu %lu", e[0], e[1]);
rbc_elt.c: ~~~ ^~~~
rbc_elt.c: %llu
rbc_elt.c: rbc_elt.c:554:29: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
rbc_elt.c: printf("%lu %lu %lu %lu", e[0], e[1], e[2], e[3]);
rbc_elt.c: ~~~ ^~~~
rbc_elt.c: %llu
rbc_elt.c: rbc_elt.c:554:35: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
rbc_elt.c: printf("%lu %lu %lu %lu", e[0], e[1], e[2], e[3]);
rbc_elt.c: ~~~ ^~~~
rbc_elt.c: %llu
rbc_elt.c: rbc_elt.c:554:41: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
rbc_elt.c: printf("%lu %lu %lu %lu", e[0], e[1], e[2], e[3]);
rbc_elt.c: ~~~ ^~~~
rbc_elt.c: %llu
rbc_elt.c: rbc_elt.c:554:47: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
rbc_elt.c: printf("%lu %lu %lu %lu", e[0], e[1], e[2], e[3]);
rbc_elt.c: ~~~ ^~~~
rbc_elt.c: %llu
rbc_elt.c: 6 warnings generated.
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

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 '_RBC_SQR_LOOKUP_TABLE' in:
try.c: crypto_kem_rolloii256.a(kem.o)
try.c: crypto_kem_rolloii256.a(lrpc.o)
try.c: duplicate symbol '_RBC_SQR_LOOKUP_TABLE' in:
try.c: crypto_kem_rolloii256.a(kem.o)
try.c: crypto_kem_rolloii256.a(parsing.o)
try.c: duplicate symbol '_RBC_SQR_LOOKUP_TABLE' in:
try.c: crypto_kem_rolloii256.a(kem.o)
try.c: crypto_kem_rolloii256.a(rbc_elt.o)
try.c: duplicate symbol '_RBC_SQR_LOOKUP_TABLE' in:
try.c: crypto_kem_rolloii256.a(kem.o)
try.c: crypto_kem_rolloii256.a(rbc_poly.o)
try.c: duplicate symbol '_RBC_SQR_LOOKUP_TABLE' in:
try.c: crypto_kem_rolloii256.a(kem.o)
try.c: crypto_kem_rolloii256.a(rbc_qre.o)
try.c: duplicate symbol '_RBC_SQR_LOOKUP_TABLE' in:
try.c: crypto_kem_rolloii256.a(kem.o)
try.c: crypto_kem_rolloii256.a(rbc_vec.o)
try.c: duplicate symbol '_RBC_SQR_LOOKUP_TABLE' in:
try.c: crypto_kem_rolloii256.a(kem.o)
try.c: crypto_kem_rolloii256.a(rbc_vspace.o)
try.c: ld: 7 duplicate symbols 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: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