Implementation notes: amd64, icelake, crypto_kem/rqc128

Computer: icelake
Architecture: amd64
CPU ID: GenuineIntel-000706e5-bfebfbff
SUPERCOP version: 20200826
Operation: crypto_kem
Primitive: rqc128
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
396319838067 24 0102400 4096 0T:avxclang_-march=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
403686840483 24 0102400 4096 0T:avxclang_-march=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
406068630868 24 090112 4096 0T:avxclang_-march=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
414438146037 24 0110592 4096 0T:avxopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
423894542572 24 0106496 4096 0T:avxopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
487834131445 24 090112 4096 0T:avxopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
1019565939403 25 0102400 4096 0T:refclang_-march=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
1028338941755 25 0102400 4096 0T:refclang_-march=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
4965455231558 25 090112 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:417: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:417: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:518: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:518: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:518: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:518: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:430: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:430: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_rqc128.a(kem.o)
try.c: crypto_kem_rqc128.a(gabidulin.o)
try.c: duplicate symbol '_RBC_SQR_LOOKUP_TABLE' in:
try.c: crypto_kem_rqc128.a(kem.o)
try.c: crypto_kem_rqc128.a(parsing.o)
try.c: duplicate symbol '_RBC_SQR_LOOKUP_TABLE' in:
try.c: crypto_kem_rqc128.a(kem.o)
try.c: crypto_kem_rqc128.a(qpoly.o)
try.c: duplicate symbol '_RBC_SQR_LOOKUP_TABLE' in:
try.c: crypto_kem_rqc128.a(kem.o)
try.c: crypto_kem_rqc128.a(rbc_elt.o)
try.c: duplicate symbol '_RBC_SQR_LOOKUP_TABLE' in:
try.c: crypto_kem_rqc128.a(kem.o)
try.c: crypto_kem_rqc128.a(rbc_poly.o)
try.c: duplicate symbol '_RBC_SQR_LOOKUP_TABLE' in:
try.c: crypto_kem_rqc128.a(kem.o)
try.c: crypto_kem_rqc128.a(rbc_qre.o)
try.c: duplicate symbol '_RBC_SQR_LOOKUP_TABLE' in:
try.c: crypto_kem_rqc128.a(kem.o)
try.c: crypto_kem_rqc128.a(rbc_vec.o)
try.c: duplicate symbol '_RBC_SQR_LOOKUP_TABLE' in:
try.c: crypto_kem_rqc128.a(kem.o)
try.c: crypto_kem_rqc128.a(rbc_vspace.o)
try.c: duplicate symbol '_RBC_SQR_LOOKUP_TABLE' 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