Implementation notes: amd64, icelake, crypto_kem/titaniumccatoy

Computer: icelake
Architecture: amd64
CPU ID: GenuineIntel-000706e5-bfebfbff
SUPERCOP version: 20200826
Operation: crypto_kem
Primitive: titaniumccatoy
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
133821859864 36 0192512 4096 0T:avx2opt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
134785068004 0 0204800 4096 0T:avx2clang_-march=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
136409455319 0 0188416 4096 0T:avx2clang_-march=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
137142959791 36 0192512 4096 0T:avx2opt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
139558860386 0 0196608 4096 0T:avx2clang_-march=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
1605396154047 0 0286720 4096 0T:optclang_-march=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
160927680560 0 0212992 4096 0T:optclang_-march=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
186231553122 36 0184320 4096 0T:optopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
189076938913 0 0172032 4096 0T:optclang_-march=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
206129137180 36 0167936 4096 0T:optopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
16703463146916 0 0180224 4096 0T:refclang_-march=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
16713851683087 0 0212992 4096 0T:refclang_-march=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
17952392529909 0 0163840 4096 0T:refclang_-march=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
17958248824949 36 0155648 4096 0T:refopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
17980033339107 36 0172032 4096 0T:refopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826

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: 9, 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
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:avx2
Security model: timingleaks
Compiler: opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: Undefined symbols for architecture x86_64:
try.c: "_barrett_zq", referenced from:
try.c: _sampler_zq in crypto_kem_titaniumccatoy.a(sampler.o)
try.c: "_load_24", referenced from:
try.c: _sampler_zq in crypto_kem_titaniumccatoy.a(sampler.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: 1, namely:
CompilerImplementations
opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2

Compiler output

Implementation: T:opt
Security model: timingleaks
Compiler: opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: Undefined symbols for architecture x86_64:
try.c: "_barrett_16q", referenced from:
try.c: _ntt_butterfly_1280_512 in crypto_kem_titaniumccatoy.a(ntt.o)
try.c: _ntt_butterfly_1280_256 in crypto_kem_titaniumccatoy.a(ntt.o)
try.c: "_barrett_2q2", referenced from:
try.c: _intt_core.constprop.0 in crypto_kem_titaniumccatoy.a(ntt.o)
try.c: _ntt_core.constprop.0 in crypto_kem_titaniumccatoy.a(ntt.o)
try.c: "_barrett_4q", referenced from:
try.c: _crypto_encrypt_keypair in crypto_kem_titaniumccatoy.a(encrypt.o)
try.c: _ntt_butterfly_512_512_inv in crypto_kem_titaniumccatoy.a(ntt.o)
try.c: _ntt_butterfly_512_256 in crypto_kem_titaniumccatoy.a(ntt.o)
try.c: _ntt_2.constprop.0 in crypto_kem_titaniumccatoy.a(ntt.o)
try.c: "_barrett_4q2", referenced from:
try.c: _crypto_encrypt_keypair in crypto_kem_titaniumccatoy.a(encrypt.o)
try.c: _crypto_encrypt in crypto_kem_titaniumccatoy.a(encrypt.o)
try.c: _crypto_encrypt_open in crypto_kem_titaniumccatoy.a(encrypt.o)
try.c: _ntt_2.constprop.0 in crypto_kem_titaniumccatoy.a(ntt.o)
try.c: "_barrett_8q", referenced from:
try.c: _ntt_butterfly_768_1280 in crypto_kem_titaniumccatoy.a(ntt.o)
try.c: _ntt_butterfly_768_1024 in crypto_kem_titaniumccatoy.a(ntt.o)
try.c: _ntt_butterfly_1024_1024_inv in crypto_kem_titaniumccatoy.a(ntt.o)
try.c: _ntt_butterfly_1024_1280 in crypto_kem_titaniumccatoy.a(ntt.o)
try.c: "_barrett_zq", referenced from:
try.c: _sampler_zq in crypto_kem_titaniumccatoy.a(sampler.o)
try.c: "_load_24", referenced from:
try.c: ...

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: Undefined symbols for architecture x86_64:
try.c: "_load_24", referenced from:
try.c: _sampler_zq in crypto_kem_titaniumccatoy.a(sampler.o)
try.c: "_load_32", referenced from:
try.c: _fastrandombytes in crypto_kem_titaniumccatoy.a(fastrandombytes.o)
try.c: "_store_32", referenced from:
try.c: _fastrandombytes in crypto_kem_titaniumccatoy.a(fastrandombytes.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: 1, namely:
CompilerImplementations
opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref