Implementation notes: amd64, icelake, crypto_kem/titaniumccastd

Computer: icelake
Architecture: amd64
CPU ID: GenuineIntel-000706e5-bfebfbff
SUPERCOP version: 20200826
Operation: crypto_kem
Primitive: titaniumccastd
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
199539588748 36 0221184 4096 0T:avx2opt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
204412086181 36 0217088 4096 0T:avx2opt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
209459884766 0 0217088 4096 0T:avx2clang_-march=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
209720692374 0 0221184 4096 0T:avx2clang_-march=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
211884996385 0 0225280 4096 0T:avx2clang_-march=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
2482478188486 0 0319488 4096 0T:optclang_-march=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
2498876102222 0 0233472 4096 0T:optclang_-march=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
295065076281 36 0208896 4096 0T:optopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
300650956294 0 0188416 4096 0T:optclang_-march=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
325648551325 36 0180224 4096 0T:optopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
38566088199692 0 0229376 4096 0T:refclang_-march=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
38828099360275 0 0192512 4096 0T:refclang_-march=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
41495300037984 0 0172032 4096 0T:refclang_-march=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
41762099133324 36 0163840 4096 0T:refopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
41785905950121 36 0184320 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_titaniumccastd.a(sampler.o)
try.c: "_load_24", referenced from:
try.c: _sampler_zq in crypto_kem_titaniumccastd.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_1792_768 in crypto_kem_titaniumccastd.a(ntt.o)
try.c: _ntt_butterfly_1536_1792 in crypto_kem_titaniumccastd.a(ntt.o)
try.c: _ntt_butterfly_1792_256 in crypto_kem_titaniumccastd.a(ntt.o)
try.c: "_barrett_2q2", referenced from:
try.c: _ntt_core in crypto_kem_titaniumccastd.a(ntt.o)
try.c: _intt_core in crypto_kem_titaniumccastd.a(ntt.o)
try.c: "_barrett_4q", referenced from:
try.c: _crypto_encrypt_keypair in crypto_kem_titaniumccastd.a(encrypt.o)
try.c: _ntt_2 in crypto_kem_titaniumccastd.a(ntt.o)
try.c: _ntt_butterfly_1024_1536 in crypto_kem_titaniumccastd.a(ntt.o)
try.c: "_barrett_4q2", referenced from:
try.c: _crypto_encrypt_keypair in crypto_kem_titaniumccastd.a(encrypt.o)
try.c: _crypto_encrypt in crypto_kem_titaniumccastd.a(encrypt.o)
try.c: _crypto_encrypt_open in crypto_kem_titaniumccastd.a(encrypt.o)
try.c: _ntt_2 in crypto_kem_titaniumccastd.a(ntt.o)
try.c: "_barrett_8q", referenced from:
try.c: _ntt_butterfly_1024_1792 in crypto_kem_titaniumccastd.a(ntt.o)
try.c: _ntt_butterfly_1536_1536_inv in crypto_kem_titaniumccastd.a(ntt.o)
try.c: _ntt_butterfly_768_768_inv in crypto_kem_titaniumccastd.a(ntt.o)
try.c: _ntt_butterfly_768_256 in crypto_kem_titaniumccastd.a(ntt.o)
try.c: "_barrett_zq", referenced from:
try.c: _sampler_zq in crypto_kem_titaniumccastd.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_titaniumccastd.a(sampler.o)
try.c: "_load_32", referenced from:
try.c: _fastrandombytes in crypto_kem_titaniumccastd.a(fastrandombytes.o)
try.c: "_store_32", referenced from:
try.c: _fastrandombytes in crypto_kem_titaniumccastd.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