Implementation notes: amd64, icelake, crypto_kem/titaniumccalite

Computer: icelake
Architecture: amd64
CPU ID: GenuineIntel-000706e5-bfebfbff
SUPERCOP version: 20200826
Operation: crypto_kem
Primitive: titaniumccalite
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
172255771632 36 0204800 4096 0T:avx2opt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
174792170887 36 0200704 4096 0T:avx2opt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
178888666355 0 0196608 4096 0T:avx2clang_-march=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
181175871742 0 0204800 4096 0T:avx2clang_-march=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
181395676264 0 0212992 4096 0T:avx2clang_-march=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
218356792708 0 0225280 4096 0T:optclang_-march=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
2188025193808 0 0323584 4096 0T:optclang_-march=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
252831138787 0 0172032 4096 0T:optclang_-march=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
258394962279 36 0196608 4096 0T:optopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
283183241623 36 0172032 4096 0T:optopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
30646717656111 0 0188416 4096 0T:refclang_-march=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
32940502331100 0 0163840 4096 0T:refclang_-march=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
33066097547281 36 0180224 4096 0T:refopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
33068455930260 36 0159744 4096 0T:refopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826

Test failure

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=icelake-client -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
error 111

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -march=icelake-client -O3 -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: 8, 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 -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_titaniumccalite.a(sampler.o)
try.c: "_load_24", referenced from:
try.c: _sampler_zq in crypto_kem_titaniumccalite.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_1536_768 in crypto_kem_titaniumccalite.a(ntt.o)
try.c: _ntt_butterfly_1280_1280_inv in crypto_kem_titaniumccalite.a(ntt.o)
try.c: _ntt_butterfly_1280_1536 in crypto_kem_titaniumccalite.a(ntt.o)
try.c: _ntt_butterfly_1536_256 in crypto_kem_titaniumccalite.a(ntt.o)
try.c: "_barrett_2q2", referenced from:
try.c: _intt_core.constprop.0 in crypto_kem_titaniumccalite.a(ntt.o)
try.c: _ntt_core.constprop.0 in crypto_kem_titaniumccalite.a(ntt.o)
try.c: "_barrett_4q", referenced from:
try.c: _crypto_encrypt_keypair in crypto_kem_titaniumccalite.a(encrypt.o)
try.c: _ntt_butterfly_512_1280 in crypto_kem_titaniumccalite.a(ntt.o)
try.c: _ntt_butterfly_512_768 in crypto_kem_titaniumccalite.a(ntt.o)
try.c: _ntt_2.constprop.0 in crypto_kem_titaniumccalite.a(ntt.o)
try.c: "_barrett_4q2", referenced from:
try.c: _crypto_encrypt_keypair in crypto_kem_titaniumccalite.a(encrypt.o)
try.c: _crypto_encrypt in crypto_kem_titaniumccalite.a(encrypt.o)
try.c: _crypto_encrypt_open in crypto_kem_titaniumccalite.a(encrypt.o)
try.c: _ntt_2.constprop.0 in crypto_kem_titaniumccalite.a(ntt.o)
try.c: "_barrett_8q", referenced from:
try.c: _ntt_butterfly_1024_1536 in crypto_kem_titaniumccalite.a(ntt.o)
try.c: _ntt_butterfly_1024_1280 in crypto_kem_titaniumccalite.a(ntt.o)
try.c: _ntt_butterfly_768_768_inv in crypto_kem_titaniumccalite.a(ntt.o)
try.c: _ntt_butterfly_768_256 in crypto_kem_titaniumccalite.a(ntt.o)
try.c: "_barrett_zq", 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_titaniumccalite.a(sampler.o)
try.c: "_load_32", referenced from:
try.c: _fastrandombytes in crypto_kem_titaniumccalite.a(fastrandombytes.o)
try.c: "_store_32", referenced from:
try.c: _fastrandombytes in crypto_kem_titaniumccalite.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