Test results for amd64, rumba7, crypto_dh/nistp256
[Page version: 20241022 22:24:42]
Measurements for amd64, rumba7, crypto_dh
Test results for amd64, rumba7, crypto_dh
Test results for crypto_dh/nistp256
Computer: rumba7
Microarchitecture: amd64; Zen (800f11)
Architecture: amd64
CPU ID: AuthenticAMD-00800f11-178bfbff
SUPERCOP version: 20241022
Operation: crypto_dh
Primitive: nistp256
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
2443095 | 153 0 0 | 37251 31572 1728 | T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20241011 | 20241011 |
2444027 | 194 0 0 | 37861 31532 1792 | T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20241011 | 20241011 |
2445008 | 143 0 0 | 37973 31564 1792 | T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20241011 | 20241011 |
2453144 | 150 0 0 | 40323 31572 1760 | T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20241011 | 20241011 |
2454281 | 150 0 0 | 39611 31572 1728 | T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20241011 | 20241011 |
2454443 | 174 0 0 | 36773 31524 1760 | T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20241011 | 20241011 |
2455161 | 186 0 0 | 40053 31532 1792 | T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20241011 | 20241011 |
2457226 | 150 0 0 | 40699 31572 1760 | T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20241011 | 20241011 |
2461791 | 186 0 0 | 38821 31532 1792 | T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20241011 | 20241011 |
Compiler output
curve.c: curve.c:256:7: warning: unused variable 'k' [-Wunused-variable]
curve.c: int k;
curve.c: ^
curve.c: 1 warning generated.
fep256.c: fep256.c:1076:14: warning: unused variable 'temp' [-Wunused-variable]
fep256.c: smallfelem temp;
fep256.c: ^
fep256.c: fep256.c:46:30: warning: unused variable 'nistp256_curve_params' [-Wunused-const-variable]
fep256.c: 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: static const limb bottom32bits = 0xffffffff;
fep256.c: ^
fep256.c: fep256.c:133:13: warning: unused function 'smallfelem_assign' [-Wunused-function]
fep256.c: 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: 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: 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: 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: 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:
Implementation | Compiler |
T:wbl | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:wbl | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:wbl | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:wbl | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:wbl | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
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: In file included from fep256.c:30:
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: 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: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:wbl | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:wbl | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:wbl | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:wbl | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |