Implementation notes: amd64, icelake, crypto_kem/sikep503

Computer: icelake
Architecture: amd64
CPU ID: GenuineIntel-000706e5-bfebfbff
SUPERCOP version: 20200826
Operation: crypto_kem
Primitive: sikep503
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
33256904289147 0 0114688 4096 0T:optclang_-march=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
33356348986279 0 0110592 4096 0T:optclang_-march=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
35170321935865 0 057344 4096 0T:optclang_-march=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
35298240176361 0 0106496 4096 0T:optopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
38172606744985 0 069632 4096 0T:optopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
55143473725243 0 049152 4096 0T:optopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
481580398868078 768 0307200 4096 0T:refopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
483068888759533 768 0294912 4096 0T:refclang_-march=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
483626137445198 768 0282624 4096 0T:refopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
486518694638513 768 0274432 4096 0T:refopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020083120200826
491217617659090 768 0294912 4096 0T:refclang_-march=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826
491765573537878 768 0270336 4096 0T:refclang_-march=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020083120200826

Compiler output

Implementation: T:ms
Security model: timingleaks
Compiler: clang -march=icelake-client -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: Undefined symbols for architecture x86_64:
try.c: "_fpadd503_asm", referenced from:
try.c: _fpadd503 in crypto_kem_sikep503.a(fp_x64.o)
try.c: "_fpsub503_asm", referenced from:
try.c: _fpsub503 in crypto_kem_sikep503.a(fp_x64.o)
try.c: "_mp_add503_asm", referenced from:
try.c: _fp2sqr503_mont in crypto_kem_sikep503.a(P503.o)
try.c: _fp2mul503_mont in crypto_kem_sikep503.a(P503.o)
try.c: _xDBL in crypto_kem_sikep503.a(P503.o)
try.c: _get_4_isog in crypto_kem_sikep503.a(P503.o)
try.c: _eval_4_isog in crypto_kem_sikep503.a(P503.o)
try.c: _xTPL in crypto_kem_sikep503.a(P503.o)
try.c: _get_3_isog in crypto_kem_sikep503.a(P503.o)
try.c: ...
try.c: "_mp_dblsub503x2_asm", referenced from:
try.c: _fp2mul503_mont in crypto_kem_sikep503.a(P503.o)
try.c: "_mp_sub503x2_asm", referenced from:
try.c: _fp2mul503_mont in crypto_kem_sikep503.a(P503.o)
try.c: "_mul503_asm", referenced from:
try.c: _mp_mul in crypto_kem_sikep503.a(fp_x64.o)
try.c: "_rdc503_asm", referenced from:
try.c: _rdc_mont in crypto_kem_sikep503.a(fp_x64.o)
try.c: ld: symbol(s) not found for architecture x86_64
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
clang -march=icelake-client -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ms
clang -march=icelake-client -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ms

Compiler output

Implementation: T:ms
Security model: timingleaks
Compiler: clang -march=icelake-client -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: Undefined symbols for architecture x86_64:
try.c: "_fpadd503_asm", referenced from:
try.c: _fpadd503 in crypto_kem_sikep503.a(fp_x64.o)
try.c: "_fpsub503_asm", referenced from:
try.c: _fpsub503 in crypto_kem_sikep503.a(fp_x64.o)
try.c: "_mp_add503_asm", referenced from:
try.c: _fp2sqr503_mont in crypto_kem_sikep503.a(P503.o)
try.c: _fp2mul503_mont in crypto_kem_sikep503.a(P503.o)
try.c: "_mp_dblsub503x2_asm", referenced from:
try.c: _fp2mul503_mont in crypto_kem_sikep503.a(P503.o)
try.c: "_mp_sub503x2_asm", referenced from:
try.c: _fp2mul503_mont in crypto_kem_sikep503.a(P503.o)
try.c: "_mul503_asm", referenced from:
try.c: _mp_mul in crypto_kem_sikep503.a(fp_x64.o)
try.c: "_rdc503_asm", referenced from:
try.c: _rdc_mont in crypto_kem_sikep503.a(fp_x64.o)
try.c: ld: symbol(s) not found for architecture x86_64
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -march=icelake-client -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ms

Compiler output

Implementation: T:ms
Security model: timingleaks
Compiler: opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: Undefined symbols for architecture x86_64:
try.c: "_fpadd503_asm", referenced from:
try.c: _fpadd503 in crypto_kem_sikep503.a(fp_x64.o)
try.c: "_fpsub503_asm", referenced from:
try.c: _fpsub503 in crypto_kem_sikep503.a(fp_x64.o)
try.c: "_mp_add503_asm", referenced from:
try.c: _fp2sqr503_mont in crypto_kem_sikep503.a(P503.o)
try.c: _fp2mul503_mont in crypto_kem_sikep503.a(P503.o)
try.c: "_mp_dblsub503x2_asm", referenced from:
try.c: _fp2mul503_mont in crypto_kem_sikep503.a(P503.o)
try.c: "_mp_sub503x2_asm", referenced from:
try.c: _fp2mul503_mont in crypto_kem_sikep503.a(P503.o)
try.c: "_mul503_asm", referenced from:
try.c: _mp_mul in crypto_kem_sikep503.a(fp_x64.o)
try.c: "_rdc503_asm", referenced from:
try.c: _rdc_mont in crypto_kem_sikep503.a(fp_x64.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: 3, namely:
CompilerImplementations
opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ms
opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ms
opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ms

Compiler output

Implementation: T:opt
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: 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:ref
Security model: timingleaks
Compiler: clang -march=icelake-client -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: ld: warning: could not create compact unwind for ___gmpz_powm: 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: 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_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 _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_gcd_subdiv_step: 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: 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 ___gmpz_powm: 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: 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_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 _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_gcd_subdiv_step: 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: 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 ___gmpz_powm: 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: 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_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 _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_gcd_subdiv_step: 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: 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

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: 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: 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

Compiler output

Implementation: T:x64
Security model: timingleaks
Compiler: clang -march=icelake-client -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: Undefined symbols for architecture x86_64:
try.c: "_fpadd503_asm", referenced from:
try.c: _fpadd503 in crypto_kem_sikep503.a(fp_x64.o)
try.c: "_fpsub503_asm", referenced from:
try.c: _fpsub503 in crypto_kem_sikep503.a(fp_x64.o)
try.c: "_mp_add503_asm", referenced from:
try.c: _fp2sqr503_mont in crypto_kem_sikep503.a(P503.o)
try.c: _fp2mul503_mont in crypto_kem_sikep503.a(P503.o)
try.c: _xDBL in crypto_kem_sikep503.a(P503.o)
try.c: _get_4_isog in crypto_kem_sikep503.a(P503.o)
try.c: _eval_4_isog in crypto_kem_sikep503.a(P503.o)
try.c: _xTPL in crypto_kem_sikep503.a(P503.o)
try.c: _get_3_isog in crypto_kem_sikep503.a(P503.o)
try.c: ...
try.c: "_mp_add503x2_asm", referenced from:
try.c: _fp2mul503_mont in crypto_kem_sikep503.a(P503.o)
try.c: "_mp_sub503x2_asm", referenced from:
try.c: _fp2mul503_mont in crypto_kem_sikep503.a(P503.o)
try.c: "_mul503_asm", referenced from:
try.c: _mp_mul in crypto_kem_sikep503.a(fp_x64.o)
try.c: "_rdc503_asm", referenced from:
try.c: _rdc_mont in crypto_kem_sikep503.a(fp_x64.o)
try.c: ld: symbol(s) not found for architecture x86_64
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
clang -march=icelake-client -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:x64
clang -march=icelake-client -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:x64

Compiler output

Implementation: T:x64
Security model: timingleaks
Compiler: clang -march=icelake-client -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: Undefined symbols for architecture x86_64:
try.c: "_fpadd503_asm", referenced from:
try.c: _fpadd503 in crypto_kem_sikep503.a(fp_x64.o)
try.c: "_fpsub503_asm", referenced from:
try.c: _fpsub503 in crypto_kem_sikep503.a(fp_x64.o)
try.c: "_mp_add503_asm", referenced from:
try.c: _fp2sqr503_mont in crypto_kem_sikep503.a(P503.o)
try.c: _fp2mul503_mont in crypto_kem_sikep503.a(P503.o)
try.c: "_mp_add503x2_asm", referenced from:
try.c: _fp2mul503_mont in crypto_kem_sikep503.a(P503.o)
try.c: "_mp_sub503x2_asm", referenced from:
try.c: _fp2mul503_mont in crypto_kem_sikep503.a(P503.o)
try.c: "_mul503_asm", referenced from:
try.c: _mp_mul in crypto_kem_sikep503.a(fp_x64.o)
try.c: "_rdc503_asm", referenced from:
try.c: _rdc_mont in crypto_kem_sikep503.a(fp_x64.o)
try.c: ld: symbol(s) not found for architecture x86_64
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -march=icelake-client -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:x64

Compiler output

Implementation: T:x64
Security model: timingleaks
Compiler: opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: Undefined symbols for architecture x86_64:
try.c: "_fpadd503_asm", referenced from:
try.c: _fpadd503 in crypto_kem_sikep503.a(fp_x64.o)
try.c: "_fpsub503_asm", referenced from:
try.c: _fpsub503 in crypto_kem_sikep503.a(fp_x64.o)
try.c: "_mp_add503_asm", referenced from:
try.c: _fp2sqr503_mont in crypto_kem_sikep503.a(P503.o)
try.c: _fp2mul503_mont in crypto_kem_sikep503.a(P503.o)
try.c: "_mp_add503x2_asm", referenced from:
try.c: _fp2mul503_mont in crypto_kem_sikep503.a(P503.o)
try.c: "_mp_sub503x2_asm", referenced from:
try.c: _fp2mul503_mont in crypto_kem_sikep503.a(P503.o)
try.c: "_mul503_asm", referenced from:
try.c: _mp_mul in crypto_kem_sikep503.a(fp_x64.o)
try.c: "_rdc503_asm", referenced from:
try.c: _rdc_mont in crypto_kem_sikep503.a(fp_x64.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: 3, namely:
CompilerImplementations
opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:x64
opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:x64
opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:x64