Implementation notes: amd64, icelake, crypto_kem/oddmanhattan256

Computer: icelake
Architecture: amd64
CPU ID: GenuineIntel-000706e5-bfebfbff
SUPERCOP version: 20200826
Operation: crypto_kem
Primitive: oddmanhattan256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
4148155595941 52 0229376 4096 0T:optopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
4197782486554 52 0233472 4096 0T:optopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
4206918668319 0 0237568 4096 0T:optclang_-march=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
4211536336286 0 0233472 4096 0T:optclang_-march=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
4212603665278 52 0229376 4096 0T:optopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
4232773805134 0 0229376 4096 0T:optclang_-march=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
12252328444305 0 0221184 4096 0T:refclang_-march=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
12351898445422 0 0225280 4096 0T:refclang_-march=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
12513404325181 52 0225280 4096 0T:refopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
12524545397183 0 0229376 4096 0T:refclang_-march=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
12566540925770 52 0229376 4096 0T:refopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
12764841414643 52 0221184 4096 0T:refopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826

Compiler output

Implementation: T:opt
Security model: timingleaks
Compiler: clang -march=icelake-client -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
kem.c: kem.c:30:15: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
kem.c: randombytes(seed,crypto_kem_BYTES);
kem.c: ^~~~
kem.c: /Users/krovetz/tmp/supercop-20200826/supercop-data/icelake/amd64/include/randombytes.h:8:40: note: passing argument to parameter here
kem.c: extern void randombytes(unsigned char *,unsigned long long);
kem.c: ^
kem.c: kem.c:35:25: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
kem.c: seedexpander_init(ctx,seed,diversifier,maxlen);
kem.c: ^~~~
kem.c: ./rng.h:40:34: note: passing argument to parameter 'seed' here
kem.c: unsigned char *seed,
kem.c: ^
kem.c: kem.c:131:30: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
kem.c: seedexpander_init(ctx,seed,diversifier,maxlen);
kem.c: ^~~~~~~~~~~
kem.c: ./rng.h:41:34: note: passing argument to parameter 'diversifier' here
kem.c: unsigned char *diversifier,
kem.c: ^
kem.c: 3 warnings generated.
try.c: ld: warning: could not create compact unwind for ___gmpn_toom33_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom3_sqr: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom42_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom43_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom63_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_gcd_subdiv_step: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for _mpn_mu_div_qr2: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_mulmod_bnm1: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_sqrmod_bnm1: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for _mpn_mul_fft_internal.constprop.0: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_binvert: does not use RBP or RSP based frame
try.c: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_divexact_1 from /Users/krovetz/tmp/supercop-20200826/supercop-data/icelake/amd64/lib/libgmp.a(dive_1.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie
try.c: ld: warning: could not create compact unwind for ___gmpn_toom33_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom3_sqr: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom42_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom43_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom63_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_gcd_subdiv_step: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for _mpn_mu_div_qr2: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_mulmod_bnm1: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_sqrmod_bnm1: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for _mpn_mul_fft_internal.constprop.0: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_binvert: does not use RBP or RSP based frame
try.c: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_divexact_1 from /Users/krovetz/tmp/supercop-20200826/supercop-data/icelake/amd64/lib/libgmp.a(dive_1.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie
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
measure.c: ld: warning: could not create compact unwind for ___gmpn_toom33_mul: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for ___gmpn_toom3_sqr: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for ___gmpn_toom42_mul: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for ___gmpn_toom43_mul: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for ___gmpn_toom63_mul: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for ___gmpn_gcd_subdiv_step: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for _mpn_mu_div_qr2: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for ___gmpn_mulmod_bnm1: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for ___gmpn_sqrmod_bnm1: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for _mpn_mul_fft_internal.constprop.0: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for ___gmpn_binvert: does not use RBP or RSP based frame
measure.c: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_divexact_1 from /Users/krovetz/tmp/supercop-20200826/supercop-data/icelake/amd64/lib/libgmp.a(dive_1.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
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

Compiler output

Implementation: T:opt
Security model: timingleaks
Compiler: opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_divexact_1 from /Users/krovetz/tmp/supercop-20200826/supercop-data/icelake/amd64/lib/libgmp.a(dive_1.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie
try.c: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_divexact_1 from /Users/krovetz/tmp/supercop-20200826/supercop-data/icelake/amd64/lib/libgmp.a(dive_1.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie
measure.c: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_divexact_1 from /Users/krovetz/tmp/supercop-20200826/supercop-data/icelake/amd64/lib/libgmp.a(dive_1.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=icelake-client -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
kem.c: kem.c:30:15: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
kem.c: randombytes(seed,crypto_kem_BYTES);
kem.c: ^~~~
kem.c: /Users/krovetz/tmp/supercop-20200826/supercop-data/icelake/amd64/include/randombytes.h:8:40: note: passing argument to parameter here
kem.c: extern void randombytes(unsigned char *,unsigned long long);
kem.c: ^
kem.c: kem.c:35:25: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
kem.c: seedexpander_init(ctx,seed,diversifier,maxlen);
kem.c: ^~~~
kem.c: ./rng.h:40:34: note: passing argument to parameter 'seed' here
kem.c: unsigned char *seed,
kem.c: ^
kem.c: kem.c:125:30: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
kem.c: seedexpander_init(ctx,seed,diversifier,maxlen);
kem.c: ^~~~~~~~~~~
kem.c: ./rng.h:41:34: note: passing argument to parameter 'diversifier' here
kem.c: unsigned char *diversifier,
kem.c: ^
kem.c: 3 warnings generated.
try.c: ld: warning: could not create compact unwind for ___gmpn_toom33_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom3_sqr: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom42_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom43_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom63_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_gcd_subdiv_step: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for _mpn_mu_div_qr2: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_mulmod_bnm1: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_sqrmod_bnm1: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for _mpn_mul_fft_internal.constprop.0: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_binvert: does not use RBP or RSP based frame
try.c: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_divexact_1 from /Users/krovetz/tmp/supercop-20200826/supercop-data/icelake/amd64/lib/libgmp.a(dive_1.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie
try.c: ld: warning: could not create compact unwind for ___gmpn_toom33_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom3_sqr: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom42_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom43_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom63_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_gcd_subdiv_step: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for _mpn_mu_div_qr2: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_mulmod_bnm1: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_sqrmod_bnm1: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for _mpn_mul_fft_internal.constprop.0: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_binvert: does not use RBP or RSP based frame
try.c: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_divexact_1 from /Users/krovetz/tmp/supercop-20200826/supercop-data/icelake/amd64/lib/libgmp.a(dive_1.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie
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
measure.c: ld: warning: could not create compact unwind for ___gmpn_toom33_mul: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for ___gmpn_toom3_sqr: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for ___gmpn_toom42_mul: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for ___gmpn_toom43_mul: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for ___gmpn_toom63_mul: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for ___gmpn_gcd_subdiv_step: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for _mpn_mu_div_qr2: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for ___gmpn_mulmod_bnm1: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for ___gmpn_sqrmod_bnm1: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for _mpn_mul_fft_internal.constprop.0: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for ___gmpn_binvert: does not use RBP or RSP based frame
measure.c: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_divexact_1 from /Users/krovetz/tmp/supercop-20200826/supercop-data/icelake/amd64/lib/libgmp.a(dive_1.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie

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