Implementation notes: amd64, luft, crypto_kem/sikep503

Computer: luft
Architecture: amd64
CPU ID: GenuineIntel-000306d4-bfebfbff
SUPERCOP version: 20200702
Operation: crypto_kem
Primitive: sikep503
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
57400330870918 0 090112 4096 0optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071320200702
61744770082672 0 098304 4096 0optclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020071320200702
61973470476588 0 094208 4096 0optclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020071320200702
62320206876588 0 094208 4096 0optclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020071320200702
62799658095104 0 0110592 4096 0optclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020071320200702
72273124038961 0 057344 4096 0optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071320200702
74664296429208 0 045056 4096 0optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071320200702
78063581235238 0 049152 4096 0optclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020071320200702
107408401225221 0 040960 4096 0optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071320200702
771889638051526 768 0282624 4096 0refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020071420200702
1012239952866832 768 0303104 4096 0refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071320200702
1012280198448696 768 0278528 4096 0refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020071320200702
1012805010836705 768 0266240 4096 0refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020071320200702
1013209565238513 768 0270336 4096 0refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071320200702
1013488972852499 768 0282624 4096 0refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020071320200702
1013588247648696 768 0278528 4096 0refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020071320200702
1015053762043169 768 0274432 4096 0refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071320200702
1022394050041707 768 0274432 4096 0refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071320200702

Compiler output

Implementation: ms
Security model: unknown
Compiler: clang -march=native -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: 4, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ms
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ms
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ms
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ms

Compiler output

Implementation: ms
Security model: unknown
Compiler: clang -march=native -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=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ms

Compiler output

Implementation: ms
Security model: unknown
Compiler: gcc -march=native -mtune=native -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: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE ms
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE ms
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE ms
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ms

Compiler output

Implementation: opt
Security model: unknown
Compiler: clang -march=native -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_xor: register 3 saved somewhere other than in frame

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt

Compiler output

Implementation: ref
Security model: unknown
Compiler: clang -march=native -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_add_n from /Users/jvaltin/Documents/supercop-20200702/supercop-data/luft/amd64/lib/libgmp.a(add_n.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_add_n from /Users/jvaltin/Documents/supercop-20200702/supercop-data/luft/amd64/lib/libgmp.a(add_n.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_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_add_n from /Users/jvaltin/Documents/supercop-20200702/supercop-data/luft/amd64/lib/libgmp.a(add_n.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref

Compiler output

Implementation: ref
Security model: unknown
Compiler: gcc -march=native -mtune=native -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_add_n from /Users/jvaltin/Documents/supercop-20200702/supercop-data/luft/amd64/lib/libgmp.a(add_n.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_add_n from /Users/jvaltin/Documents/supercop-20200702/supercop-data/luft/amd64/lib/libgmp.a(add_n.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_add_n from /Users/jvaltin/Documents/supercop-20200702/supercop-data/luft/amd64/lib/libgmp.a(add_n.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ref

Compiler output

Implementation: x64
Security model: unknown
Compiler: clang -march=native -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: 4, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE x64
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE x64
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE x64
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE x64

Compiler output

Implementation: x64
Security model: unknown
Compiler: clang -march=native -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=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE x64

Compiler output

Implementation: x64
Security model: unknown
Compiler: gcc -march=native -mtune=native -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: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE x64
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE x64
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE x64
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE x64