Test results for amd64, thinksky, crypto_dh/nistp256

[Page version: 20250828 09:09:05]

Measurements for amd64, thinksky, crypto_dh Test results for amd64, thinksky, crypto_dh Test results for crypto_dh/nistp256
Computer: thinksky
Microarchitecture: amd64; Skylake (506e3)
Architecture: amd64
CPU ID: GenuineIntel-000506e3-bfebfbff
SUPERCOP version: 20250415
Operation: crypto_dh
Primitive: nistp256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
164290233538 32864 058613 33700 1832T:wblclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025082320250415
164829230185 32864 055205 33700 1832T:wblclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025082320250415
168681734966 32864 061813 33700 1768T:wblclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025082320250415
189552618194 32864 041084 33660 1832T:wblgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025082320250415
193511529250 32864 049677 33700 1768T:wblclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025082320250415
202696810439 32864 031710 33692 1832T:wblclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025082320250415
2178277150 0 043493 31548 1832T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025082320250415
2179605150 0 041348 31508 1832T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025082320250415
2186567143 0 039742 31540 1832T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025082320250415
2186850150 0 043509 31548 1832T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025082320250415
2187861132 0 037884 31500 1800T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025082320250415
2188116154 0 039116 31508 1832T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025082320250415
2195196150 0 038877 31548 1768T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025082320250415
2195284150 0 039388 31508 1832T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025082320250415
2203246150 0 045285 31548 1768T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025082320250415
245684014274 32864 035236 33660 1832T:wblgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025082320250415
254840411970 32864 031460 33652 1800T:wblgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025082320250415
271123913078 32864 033804 33660 1832T:wblgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025082320250415

Compiler output


curve.c: curve.c:256:7: warning: unused variable 'k' [-Wunused-variable]
curve.c:   256 |   int k;
curve.c:       |       ^
curve.c: 1 warning generated.
fep256.c: fep256.c:1076:14: warning: unused variable 'temp' [-Wunused-variable]
fep256.c:  1076 |   smallfelem temp;
fep256.c:       |              ^~~~
fep256.c: fep256.c:46:30: warning: unused variable 'nistp256_curve_params' [-Wunused-const-variable]
fep256.c:    46 | static const felem_bytearray nistp256_curve_params[5] = {
fep256.c:       |                              ^~~~~~~~~~~~~~~~~~~~~
fep256.c: fep256.c:98:19: warning: unused variable 'bottom32bits' [-Wunused-const-variable]
fep256.c:    98 | static const limb bottom32bits = 0xffffffff;
fep256.c:       |                   ^~~~~~~~~~~~
fep256.c: fep256.c:133:13: warning: unused function 'smallfelem_assign' [-Wunused-function]
fep256.c:   133 | static void smallfelem_assign(smallfelem out, const smallfelem in)
fep256.c:       |             ^~~~~~~~~~~~~~~~~
fep256.c: fep256.c:159:13: warning: unused function 'felem_small_sum' [-Wunused-function]
fep256.c:   159 | static void felem_small_sum(felem out, const smallfelem in)
fep256.c:       |             ^~~~~~~~~~~~~~~
fep256.c: fep256.c:177:13: warning: unused function 'longfelem_scalar' [-Wunused-function]
fep256.c:   177 | static void longfelem_scalar(longfelem out, const u64 scalar)
fep256.c:       |             ^~~~~~~~~~~~~~~~
fep256.c: fep256.c:200:13: warning: unused function 'smallfelem_neg' [-Wunused-function]
fep256.c:   200 | static void smallfelem_neg(felem out, const smallfelem small)
fep256.c:       |             ^~~~~~~~~~~~~~
fep256.c: fep256.c:243:13: warning: unused function 'felem_diff_zero107' [-Wunused-function]
fep256.c:   243 | static void felem_diff_zero107(felem out, const felem in)
fep256.c:       |             ^~~~~~~~~~~~~~~~~~
fep256.c: fep256.c:263:13: warning: unused function 'longfelem_diff' [-Wunused-function]
fep256.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:wblclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:wblclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:wblclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:wblclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:wblclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))

Compiler output


curve.c: curve.c: In function 'p256dblmult_base':
curve.c: curve.c:256:7: warning: unused variable 'k' [-Wunused-variable]
curve.c:   256 |   int k;
curve.c:       |       ^
fep256.c: fep256.c:1064:32: warning: argument 1 of type 'unsigned char *' declared as a pointer [-Warray-parameter=]
fep256.c:  1064 | void fep256pack(unsigned char *out, fep256 *a){
fep256.c:       |                 ~~~~~~~~~~~~~~~^~~
fep256.c: In file included from fep256.c:30:
fep256.c: fep256.h:20:38: note: previously declared as an array 'unsigned char[32]'
fep256.c:    20 | extern void fep256pack(unsigned char c[32], fep256 *r);
fep256.c:       |                        ~~~~~~~~~~~~~~^~~~~
fep256.c: fep256.c:1075:51: warning: argument 2 of type 'const unsigned char *' declared as a pointer [-Warray-parameter=]
fep256.c:  1075 | void fep256unpack(fep256 *c, const unsigned char *in){
fep256.c:       |                              ~~~~~~~~~~~~~~~~~~~~~^~
fep256.c: fep256.h:21:57: note: previously declared as an array 'const unsigned char[32]'
fep256.c:    21 | extern void fep256unpack(fep256 *r, const unsigned char c[32]);
fep256.c:       |                                     ~~~~~~~~~~~~~~~~~~~~^~~~~
fep256.c: fep256.c: In function 'fep256unpack':
fep256.c: fep256.c:1076:14: warning: unused variable 'temp' [-Wunused-variable]
fep256.c:  1076 |   smallfelem temp;
fep256.c:       |              ^~~~
fep256.c: fep256.c: At top level:
fep256.c: fep256.c:967:1: warning: 'copy_small_conditional' defined but not used [-Wunused-function]
fep256.c:   967 | copy_small_conditional(felem out, const smallfelem in, limb mask)
fep256.c:       | ^~~~~~~~~~~~~~~~~~~~~~
fep256.c: fep256.c:955:1: warning: 'copy_conditional' defined but not used [-Wunused-function]
fep256.c:   955 | copy_conditional(felem out, const felem in, limb mask)
fep256.c:       | ^~~~~~~~~~~~~~~~
fep256.c: fep256.c:944:13: warning: 'smallfelem_inv_contract' defined but not used [-Wunused-function]
fep256.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:wblgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:wblgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:wblgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:wblgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

Namespace violations


curve.o basep D
curve.o p256add T
curve.o p256add_total T
curve.o p256base T
curve.o p256cmov T
curve.o p256dbl T
curve.o p256dbl_total T
curve.o p256dblmult_base T
curve.o p256identity T
curve.o p256madd T
curve.o p256oncurvefinite T
curve.o p256pack T
curve.o p256scalarmult T
curve.o p256scalarmult_base T
curve.o p256scalarmult_base_fast T
curve.o p256unpack T
curve.o p256xpack T
curve.o paramb D
curve.o precomp D
fep256.o fep256add T
fep256.o fep256cmov T
fep256.o fep256inv T
fep256.o fep256iszero T
fep256.o fep256mul T
fep256.o fep256pack T
fep256.o fep256scalar T
fep256.o fep256setone T
fep256.o fep256setzero T
fep256.o fep256sqr T
fep256.o fep256sub T
fep256.o fep256unpack T

Number of similar (implementation,compiler) pairs: 9, namely:
ImplementationCompiler
T:wblclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:wblclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:wblclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:wblclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:wblclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:wblgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:wblgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:wblgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:wblgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)