Test results for amd64, hydra8, crypto_dh/ecfp256e
[Page version: 20260312 23:03:09]
Measurements for amd64, hydra8, crypto_dh
Test results for amd64, hydra8, crypto_dh
Test results for crypto_dh/ecfp256e
Computer: hydra8
Microarchitecture: amd64; Ivy Bridge+AES (306a9)
Architecture: amd64
CPU ID: GenuineIntel-000306a9-bfebfbff
SUPERCOP version: 20260217
Operation: crypto_dh
Primitive: ecfp256e
| Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
| 526461 | 237429 0 8 | 260127 1320 2312 | T:v01/w8s8 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 529879 | 264021 0 8 | 289175 1320 2312 | T:v01/w8s8 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 531438 | 206474 0 8 | 231687 1320 2312 | T:v01/w8s4 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 531491 | 198528 0 8 | 223639 1320 2312 | T:v01/w8s4 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 531680 | 264433 0 8 | 288759 1320 2312 | T:v01/w8s8 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 533691 | 201256 0 8 | 225551 1320 2312 | T:v01/w8s4 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 540346 | 165393 0 8 | 187521 1312 2312 | T:v01/w8s4 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 540528 | 132654 0 8 | 154817 1312 2312 | T:v01/w8s2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 541550 | 230929 0 8 | 253057 1312 2312 | T:v01/w8s8 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 541556 | 180308 0 8 | 205511 1320 2312 | T:v01/w8s2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 541858 | 271967 0 8 | 297159 1320 2312 | T:v01/w8s8 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 543506 | 172362 0 8 | 197463 1320 2312 | T:v01/w8s2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 544814 | 166863 0 8 | 191127 1320 2312 | T:v01/w8s2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 544960 | 171893 0 8 | 194591 1320 2312 | T:v01/w8s4 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 545625 | 139125 0 8 | 161823 1320 2312 | T:v01/w8s2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 558482 | 116140 0 8 | 138305 1312 2312 | T:v01/w8s1 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 561482 | 213507 0 8 | 236602 1272 2440 | T:v01/w8s8 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 561538 | 157171 0 8 | 182343 1320 2312 | T:v01/w8s1 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 562457 | 149615 0 8 | 173879 1320 2312 | T:v01/w8s1 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 563509 | 149225 0 8 | 174359 1320 2312 | T:v01/w8s1 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 564253 | 122620 0 8 | 145311 1320 2312 | T:v01/w8s1 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 572563 | 147428 0 8 | 170506 1272 2440 | T:v01/w8s4 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 574198 | 114535 0 8 | 137618 1272 2440 | T:v01/w8s2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 579931 | 183223 0 8 | 206194 1272 2440 | T:v01/w8s8 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 580173 | 181447 0 8 | 203929 1264 2440 | T:v01/w8s8 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 580367 | 117666 0 8 | 140594 1272 2440 | T:v01/w8s4 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 583340 | 115881 0 8 | 138393 1264 2440 | T:v01/w8s4 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 588510 | 172661 0 8 | 194188 1256 2408 | T:v01/w8s8 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 589396 | 84903 0 8 | 107826 1272 2440 | T:v01/w8s2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 595540 | 107119 0 8 | 128652 1256 2408 | T:v01/w8s4 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 602037 | 97864 0 8 | 120954 1272 2440 | T:v01/w8s1 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 603247 | 74343 0 8 | 95884 1256 2408 | T:v01/w8s2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 606686 | 83095 0 8 | 105625 1264 2440 | T:v01/w8s2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 614434 | 68416 0 8 | 91378 1272 2440 | T:v01/w8s1 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 617703 | 66637 0 8 | 89177 1264 2440 | T:v01/w8s1 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 626708 | 57909 0 8 | 79436 1256 2408 | T:v01/w8s1 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 851439 | 93627 0 8 | 115713 1312 2312 | T:v01/var | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 853093 | 100085 0 8 | 122751 1320 2312 | T:v01/var | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 855627 | 126774 0 8 | 151063 1320 2312 | T:v01/var | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 856997 | 120747 0 8 | 145855 1320 2312 | T:v01/var | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 858516 | 128693 0 8 | 153839 1320 2312 | T:v01/var | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 931547 | 79861 0 8 | 102914 1272 2440 | T:v01/var | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 948419 | 51437 0 8 | 74370 1272 2440 | T:v01/var | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 953521 | 49794 0 8 | 72297 1264 2440 | T:v01/var | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
| 958501 | 41010 0 8 | 62524 1256 2408 | T:v01/var | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260303 | 20260217 |
Compiler output
ec_fp_256e.c: In file included from ec_fp_256e.c:16:
ec_fp_256e.c: In file included from ./finite256.h:24:
ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
ec_fp_256e.c: 13 | static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
ec_fp_256e.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
ec_fp_256e.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
ec_fp_256e.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
ec_fp_256e.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: ec_fp_256e.c:81:13: warning: unused function 'ec_fp_dbl_256Ee' [-Wunused-function]
ec_fp_256e.c: 81 | static void ec_fp_dbl_256Ee(uni X3, uni Y3, uni T3, uni Z3, const uni X1, const uni Y1, const uni Z1){
ec_fp_256e.c: | ^~~~~~~~~~~~~~~
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: unused function 'ec_fp_madd_256Ex' [-Wunused-function]
ec_fp_256e.c: 100 | static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c: | ^~~~~~~~~~~~~~~~
ec_fp_256e.c: 7 warnings generated.
fp_256x8664.c: In file included from fp_256x8664.c:4:
fp_256x8664.c: In file included from ./finite256.h:24:
fp_256x8664.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
fp_256x8664.c: 13 | static INLINE unsigned int fp_is0_256(uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
fp_256x8664.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
fp_256x8664.c: 96 | static INLINE void fp_ml2_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
fp_256x8664.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
fp_256x8664.c: 175 | static INLINE void fp_cpy_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
fp_256x8664.c: 195 | static INLINE void fp_set_1_256(uni zn, uni_t a){
fp_256x8664.c: | ^~~~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
fp_256x8664.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: | ^~~~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
fp_256x8664.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: ...
integer_hi_stack.c: integer_hi_stack.c:65:8: warning: unused variable 'tAH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:13: warning: unused variable 'tAL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:18: warning: unused variable 'tBH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:23: warning: unused variable 'tBL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:28: warning: unused variable 'tCH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:33: warning: unused variable 'tCL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:38: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:43: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:48: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: ...
io.c: io.c:352:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
io.c: 352 | if((buf[i] == -1)){
io.c: | ~~~~~~~^~~~~
io.c: io.c:352:14: note: remove extraneous parentheses around the comparison to silence this warning
io.c: 352 | if((buf[i] == -1)){
io.c: | ~ ^ ~
io.c: io.c:352:14: note: use '=' to turn this equality comparison into an assignment
io.c: 352 | if((buf[i] == -1)){
io.c: | ^~
io.c: | =
io.c: io.c:379:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
io.c: 379 | if((buf[i] == -1)){
io.c: | ~~~~~~~^~~~~
io.c: io.c:379:14: note: remove extraneous parentheses around the comparison to silence this warning
io.c: 379 | if((buf[i] == -1)){
io.c: | ~ ^ ~
io.c: io.c:379:14: note: use '=' to turn this equality comparison into an assignment
io.c: 379 | if((buf[i] == -1)){
io.c: | ^~
io.c: | =
io.c: 2 warnings generated.
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: In file included from ./finite256.h:24:
try_ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
try_ec_fp_256e.c: 13 | static INLINE unsigned int fp_is0_256(uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
try_ec_fp_256e.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
try_ec_fp_256e.c: 96 | static INLINE void fp_ml2_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
try_ec_fp_256e.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
try_ec_fp_256e.c: 175 | static INLINE void fp_cpy_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
try_ec_fp_256e.c: 195 | static INLINE void fp_set_1_256(uni zn, uni_t a){
try_ec_fp_256e.c: | ^~~~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
try_ec_fp_256e.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
try_ec_fp_256e.c: | ^~~~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
try_ec_fp_256e.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
try_ec_fp_256e.c: ...
Number of similar (implementation,compiler) pairs: 5, namely:
| Implementation | Compiler |
| T:v01/var | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/var | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/var | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/var | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/var | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
Compiler output
array_lo.c: In file included from array_lo.c:24:
array_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
array_lo.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
array_lo.c: | ^
array_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
array_lo.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
array_lo.c: | ^
ec_fp_256e.c: In file included from crympix.h:30,
ec_fp_256e.c: from ec_fp_256e.c:15:
ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256e.c: | ^
ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256e.c: | ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: 'ec_fp_madd_256Ex' defined but not used [-Wunused-function]
ec_fp_256e.c: 100 | static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c: | ^~~~~~~~~~~~~~~~
ec_fp_256e.c: ec_fp_256e.c:81:13: warning: 'ec_fp_dbl_256Ee' defined but not used [-Wunused-function]
ec_fp_256e.c: 81 | static void ec_fp_dbl_256Ee(uni X3, uni Y3, uni T3, uni Z3, const uni X1, const uni Y1, const uni Z1){
ec_fp_256e.c: | ^~~~~~~~~~~~~~~
ec_fp_256e.c: In file included from finite256.h:24,
ec_fp_256e.c: from ec_fp_256e.c:16:
ec_fp_256e.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:142:20: warning: 'fp_dv2_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ...
fp_256x8664.c: In file included from crympix.h:30,
fp_256x8664.c: from fp_256x8664.c:2:
fp_256x8664.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
fp_256x8664.c: | ^
fp_256x8664.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
fp_256x8664.c: | ^
fp_256x8664.c: In file included from finite256.h:24,
fp_256x8664.c: from fp_256x8664.c:4:
fp_256x8664.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
fp_256x8664.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:437:20: warning: 'fp_mul_256' defined but not used [-Wunused-function]
fp_256x8664.c: 437 | static INLINE void fp_mul_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
fp_256x8664.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
fp_256x8664.c: 347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:302:20: warning: 'fp_sub_2_256' defined but not used [-Wunused-function]
fp_256x8664.c: 302 | static INLINE void fp_sub_2_256(uni zn, uni_t a, uni bn){
fp_256x8664.c: | ^~~~~~~~~~~~
fp_256x8664.c: ...
integer_hi_stack.c: In file included from integer_hi_stack.c:24:
integer_hi_stack.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_hi_stack.c: | ^
integer_hi_stack.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_hi_stack.c: | ^
integer_hi_stack.c: integer_hi_stack.c: In function 'min_gcdx_lehmer_stack':
integer_hi_stack.c: integer_hi_stack.c:68:30: warning: unused variable 'vaL' [-Wunused-variable]
integer_hi_stack.c: 68 | uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:68:20: warning: unused variable 'uaL' [-Wunused-variable]
integer_hi_stack.c: 68 | uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:60: warning: unused variable 'tq1' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:55: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:50: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:45: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ...
integer_lo.c: In file included from integer_lo.c:24:
integer_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_lo.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_lo.c: | ^
integer_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_lo.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_lo.c: | ^
try_ec_fp_256e.c: In file included from crympix.h:30,
try_ec_fp_256e.c: from try_ec_fp_256e.c:2:
try_ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256e.c: | ^
try_ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256e.c: | ^
try_ec_fp_256e.c: In file included from finite256.h:24,
try_ec_fp_256e.c: from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:302:20: warning: 'fp_sub_2_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 302 | static INLINE void fp_sub_2_256(uni zn, uni_t a, uni bn){
try_ec_fp_256e.c: | ^~~~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
try_ec_fp_256e.c: | ^~~~~~~~~~~~
try_ec_fp_256e.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
| Implementation | Compiler |
| T:v01/var | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/var | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/var | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/var | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
Compiler output
ec_fp_256e.c: In file included from ec_fp_256e.c:16:
ec_fp_256e.c: In file included from ./finite256.h:24:
ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
ec_fp_256e.c: 13 | static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
ec_fp_256e.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
ec_fp_256e.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
ec_fp_256e.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
ec_fp_256e.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: unused function 'ec_fp_madd_256Ex' [-Wunused-function]
ec_fp_256e.c: 100 | static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c: | ^~~~~~~~~~~~~~~~
ec_fp_256e.c: 6 warnings generated.
fp_256x8664.c: In file included from fp_256x8664.c:4:
fp_256x8664.c: In file included from ./finite256.h:24:
fp_256x8664.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
fp_256x8664.c: 13 | static INLINE unsigned int fp_is0_256(uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
fp_256x8664.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
fp_256x8664.c: 96 | static INLINE void fp_ml2_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
fp_256x8664.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
fp_256x8664.c: 175 | static INLINE void fp_cpy_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
fp_256x8664.c: 195 | static INLINE void fp_set_1_256(uni zn, uni_t a){
fp_256x8664.c: | ^~~~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
fp_256x8664.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: | ^~~~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
fp_256x8664.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: ...
integer_hi_stack.c: integer_hi_stack.c:65:8: warning: unused variable 'tAH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:13: warning: unused variable 'tAL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:18: warning: unused variable 'tBH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:23: warning: unused variable 'tBL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:28: warning: unused variable 'tCH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:33: warning: unused variable 'tCL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:38: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:43: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:48: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: ...
io.c: io.c:352:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
io.c: 352 | if((buf[i] == -1)){
io.c: | ~~~~~~~^~~~~
io.c: io.c:352:14: note: remove extraneous parentheses around the comparison to silence this warning
io.c: 352 | if((buf[i] == -1)){
io.c: | ~ ^ ~
io.c: io.c:352:14: note: use '=' to turn this equality comparison into an assignment
io.c: 352 | if((buf[i] == -1)){
io.c: | ^~
io.c: | =
io.c: io.c:379:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
io.c: 379 | if((buf[i] == -1)){
io.c: | ~~~~~~~^~~~~
io.c: io.c:379:14: note: remove extraneous parentheses around the comparison to silence this warning
io.c: 379 | if((buf[i] == -1)){
io.c: | ~ ^ ~
io.c: io.c:379:14: note: use '=' to turn this equality comparison into an assignment
io.c: 379 | if((buf[i] == -1)){
io.c: | ^~
io.c: | =
io.c: 2 warnings generated.
try_ec_fp_256e.c: try_ec_fp_256e.c:29:2: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c: 29 | EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~
try_ec_fp_256e.c: ./ec_fp_256e.h:519:4: note: expanded from macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c: 519 | }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c: | ^~~
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: In file included from ./finite256.h:24:
try_ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
try_ec_fp_256e.c: 13 | static INLINE unsigned int fp_is0_256(uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
try_ec_fp_256e.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
try_ec_fp_256e.c: 96 | static INLINE void fp_ml2_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
try_ec_fp_256e.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
try_ec_fp_256e.c: 175 | static INLINE void fp_cpy_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
try_ec_fp_256e.c: 195 | static INLINE void fp_set_1_256(uni zn, uni_t a){
try_ec_fp_256e.c: ...
Number of similar (implementation,compiler) pairs: 5, namely:
| Implementation | Compiler |
| T:v01/w8s1 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s1 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s1 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s1 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s1 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
Compiler output
array_lo.c: In file included from array_lo.c:24:
array_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
array_lo.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
array_lo.c: | ^
array_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
array_lo.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
array_lo.c: | ^
ec_fp_256e.c: In file included from crympix.h:30,
ec_fp_256e.c: from ec_fp_256e.c:15:
ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256e.c: | ^
ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256e.c: | ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: 'ec_fp_madd_256Ex' defined but not used [-Wunused-function]
ec_fp_256e.c: 100 | static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c: | ^~~~~~~~~~~~~~~~
ec_fp_256e.c: In file included from finite256.h:24,
ec_fp_256e.c: from ec_fp_256e.c:16:
ec_fp_256e.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:142:20: warning: 'fp_dv2_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:17:20: warning: 'fp_mld_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ...
fp_256x8664.c: In file included from crympix.h:30,
fp_256x8664.c: from fp_256x8664.c:2:
fp_256x8664.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
fp_256x8664.c: | ^
fp_256x8664.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
fp_256x8664.c: | ^
fp_256x8664.c: In file included from finite256.h:24,
fp_256x8664.c: from fp_256x8664.c:4:
fp_256x8664.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
fp_256x8664.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:437:20: warning: 'fp_mul_256' defined but not used [-Wunused-function]
fp_256x8664.c: 437 | static INLINE void fp_mul_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
fp_256x8664.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
fp_256x8664.c: 347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:302:20: warning: 'fp_sub_2_256' defined but not used [-Wunused-function]
fp_256x8664.c: 302 | static INLINE void fp_sub_2_256(uni zn, uni_t a, uni bn){
fp_256x8664.c: | ^~~~~~~~~~~~
fp_256x8664.c: ...
integer_hi_stack.c: In file included from integer_hi_stack.c:24:
integer_hi_stack.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_hi_stack.c: | ^
integer_hi_stack.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_hi_stack.c: | ^
integer_hi_stack.c: integer_hi_stack.c: In function 'min_gcdx_lehmer_stack':
integer_hi_stack.c: integer_hi_stack.c:68:30: warning: unused variable 'vaL' [-Wunused-variable]
integer_hi_stack.c: 68 | uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:68:20: warning: unused variable 'uaL' [-Wunused-variable]
integer_hi_stack.c: 68 | uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:60: warning: unused variable 'tq1' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:55: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:50: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:45: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ...
integer_lo.c: In file included from integer_lo.c:24:
integer_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_lo.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_lo.c: | ^
integer_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_lo.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_lo.c: | ^
try_ec_fp_256e.c: In file included from crympix.h:30,
try_ec_fp_256e.c: from try_ec_fp_256e.c:2:
try_ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256e.c: | ^
try_ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256e.c: | ^
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:4:
try_ec_fp_256e.c: try_ec_fp_256e.c: In function 'crypto_dh_ecfp256e_v01_w8s1_timingleaks_keypair':
try_ec_fp_256e.c: ec_fp_256e.h:519:4: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c: 519 | }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c: | ^~~
try_ec_fp_256e.c: try_ec_fp_256e.c:29:9: note: in expansion of macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c: 29 | EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~
try_ec_fp_256e.c: In file included from finite256.h:24,
try_ec_fp_256e.c: from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: fp_256x8664.h: At top level:
try_ec_fp_256e.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
| Implementation | Compiler |
| T:v01/w8s1 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s1 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s1 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s1 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
Compiler output
ec_fp_256e.c: In file included from ec_fp_256e.c:16:
ec_fp_256e.c: In file included from ./finite256.h:24:
ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
ec_fp_256e.c: 13 | static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
ec_fp_256e.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
ec_fp_256e.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
ec_fp_256e.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
ec_fp_256e.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: unused function 'ec_fp_madd_256Ex' [-Wunused-function]
ec_fp_256e.c: 100 | static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c: | ^~~~~~~~~~~~~~~~
ec_fp_256e.c: 6 warnings generated.
fp_256x8664.c: In file included from fp_256x8664.c:4:
fp_256x8664.c: In file included from ./finite256.h:24:
fp_256x8664.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
fp_256x8664.c: 13 | static INLINE unsigned int fp_is0_256(uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
fp_256x8664.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
fp_256x8664.c: 96 | static INLINE void fp_ml2_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
fp_256x8664.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
fp_256x8664.c: 175 | static INLINE void fp_cpy_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
fp_256x8664.c: 195 | static INLINE void fp_set_1_256(uni zn, uni_t a){
fp_256x8664.c: | ^~~~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
fp_256x8664.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: | ^~~~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
fp_256x8664.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: ...
integer_hi_stack.c: integer_hi_stack.c:65:8: warning: unused variable 'tAH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:13: warning: unused variable 'tAL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:18: warning: unused variable 'tBH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:23: warning: unused variable 'tBL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:28: warning: unused variable 'tCH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:33: warning: unused variable 'tCL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:38: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:43: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:48: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: ...
io.c: io.c:352:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
io.c: 352 | if((buf[i] == -1)){
io.c: | ~~~~~~~^~~~~
io.c: io.c:352:14: note: remove extraneous parentheses around the comparison to silence this warning
io.c: 352 | if((buf[i] == -1)){
io.c: | ~ ^ ~
io.c: io.c:352:14: note: use '=' to turn this equality comparison into an assignment
io.c: 352 | if((buf[i] == -1)){
io.c: | ^~
io.c: | =
io.c: io.c:379:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
io.c: 379 | if((buf[i] == -1)){
io.c: | ~~~~~~~^~~~~
io.c: io.c:379:14: note: remove extraneous parentheses around the comparison to silence this warning
io.c: 379 | if((buf[i] == -1)){
io.c: | ~ ^ ~
io.c: io.c:379:14: note: use '=' to turn this equality comparison into an assignment
io.c: 379 | if((buf[i] == -1)){
io.c: | ^~
io.c: | =
io.c: 2 warnings generated.
try_ec_fp_256e.c: try_ec_fp_256e.c:29:2: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c: 29 | EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~
try_ec_fp_256e.c: ./ec_fp_256e.h:1031:4: note: expanded from macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c: 1031 | }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c: | ^~~
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: In file included from ./finite256.h:24:
try_ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
try_ec_fp_256e.c: 13 | static INLINE unsigned int fp_is0_256(uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
try_ec_fp_256e.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
try_ec_fp_256e.c: 96 | static INLINE void fp_ml2_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
try_ec_fp_256e.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
try_ec_fp_256e.c: 175 | static INLINE void fp_cpy_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
try_ec_fp_256e.c: 195 | static INLINE void fp_set_1_256(uni zn, uni_t a){
try_ec_fp_256e.c: ...
Number of similar (implementation,compiler) pairs: 5, namely:
| Implementation | Compiler |
| T:v01/w8s2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
Compiler output
array_lo.c: In file included from array_lo.c:24:
array_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
array_lo.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
array_lo.c: | ^
array_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
array_lo.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
array_lo.c: | ^
ec_fp_256e.c: In file included from crympix.h:30,
ec_fp_256e.c: from ec_fp_256e.c:15:
ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256e.c: | ^
ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256e.c: | ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: 'ec_fp_madd_256Ex' defined but not used [-Wunused-function]
ec_fp_256e.c: 100 | static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c: | ^~~~~~~~~~~~~~~~
ec_fp_256e.c: In file included from finite256.h:24,
ec_fp_256e.c: from ec_fp_256e.c:16:
ec_fp_256e.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:142:20: warning: 'fp_dv2_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:17:20: warning: 'fp_mld_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ...
fp_256x8664.c: In file included from crympix.h:30,
fp_256x8664.c: from fp_256x8664.c:2:
fp_256x8664.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
fp_256x8664.c: | ^
fp_256x8664.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
fp_256x8664.c: | ^
fp_256x8664.c: In file included from finite256.h:24,
fp_256x8664.c: from fp_256x8664.c:4:
fp_256x8664.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
fp_256x8664.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:437:20: warning: 'fp_mul_256' defined but not used [-Wunused-function]
fp_256x8664.c: 437 | static INLINE void fp_mul_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
fp_256x8664.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
fp_256x8664.c: 347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:302:20: warning: 'fp_sub_2_256' defined but not used [-Wunused-function]
fp_256x8664.c: 302 | static INLINE void fp_sub_2_256(uni zn, uni_t a, uni bn){
fp_256x8664.c: | ^~~~~~~~~~~~
fp_256x8664.c: ...
integer_hi_stack.c: In file included from integer_hi_stack.c:24:
integer_hi_stack.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_hi_stack.c: | ^
integer_hi_stack.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_hi_stack.c: | ^
integer_hi_stack.c: integer_hi_stack.c: In function 'min_gcdx_lehmer_stack':
integer_hi_stack.c: integer_hi_stack.c:68:30: warning: unused variable 'vaL' [-Wunused-variable]
integer_hi_stack.c: 68 | uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:68:20: warning: unused variable 'uaL' [-Wunused-variable]
integer_hi_stack.c: 68 | uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:60: warning: unused variable 'tq1' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:55: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:50: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:45: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ...
integer_lo.c: In file included from integer_lo.c:24:
integer_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_lo.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_lo.c: | ^
integer_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_lo.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_lo.c: | ^
try_ec_fp_256e.c: In file included from crympix.h:30,
try_ec_fp_256e.c: from try_ec_fp_256e.c:2:
try_ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256e.c: | ^
try_ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256e.c: | ^
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:4:
try_ec_fp_256e.c: try_ec_fp_256e.c: In function 'crypto_dh_ecfp256e_v01_w8s2_timingleaks_keypair':
try_ec_fp_256e.c: ec_fp_256e.h:1031:4: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c: 1031 | }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c: | ^~~
try_ec_fp_256e.c: try_ec_fp_256e.c:29:9: note: in expansion of macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c: 29 | EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~
try_ec_fp_256e.c: In file included from finite256.h:24,
try_ec_fp_256e.c: from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: fp_256x8664.h: At top level:
try_ec_fp_256e.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
| Implementation | Compiler |
| T:v01/w8s2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
Compiler output
ec_fp_256e.c: In file included from ec_fp_256e.c:16:
ec_fp_256e.c: In file included from ./finite256.h:24:
ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
ec_fp_256e.c: 13 | static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
ec_fp_256e.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
ec_fp_256e.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
ec_fp_256e.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
ec_fp_256e.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: unused function 'ec_fp_madd_256Ex' [-Wunused-function]
ec_fp_256e.c: 100 | static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c: | ^~~~~~~~~~~~~~~~
ec_fp_256e.c: 6 warnings generated.
fp_256x8664.c: In file included from fp_256x8664.c:4:
fp_256x8664.c: In file included from ./finite256.h:24:
fp_256x8664.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
fp_256x8664.c: 13 | static INLINE unsigned int fp_is0_256(uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
fp_256x8664.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
fp_256x8664.c: 96 | static INLINE void fp_ml2_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
fp_256x8664.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
fp_256x8664.c: 175 | static INLINE void fp_cpy_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
fp_256x8664.c: 195 | static INLINE void fp_set_1_256(uni zn, uni_t a){
fp_256x8664.c: | ^~~~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
fp_256x8664.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: | ^~~~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
fp_256x8664.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: ...
integer_hi_stack.c: integer_hi_stack.c:65:8: warning: unused variable 'tAH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:13: warning: unused variable 'tAL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:18: warning: unused variable 'tBH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:23: warning: unused variable 'tBL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:28: warning: unused variable 'tCH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:33: warning: unused variable 'tCL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:38: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:43: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:48: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: ...
io.c: io.c:352:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
io.c: 352 | if((buf[i] == -1)){
io.c: | ~~~~~~~^~~~~
io.c: io.c:352:14: note: remove extraneous parentheses around the comparison to silence this warning
io.c: 352 | if((buf[i] == -1)){
io.c: | ~ ^ ~
io.c: io.c:352:14: note: use '=' to turn this equality comparison into an assignment
io.c: 352 | if((buf[i] == -1)){
io.c: | ^~
io.c: | =
io.c: io.c:379:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
io.c: 379 | if((buf[i] == -1)){
io.c: | ~~~~~~~^~~~~
io.c: io.c:379:14: note: remove extraneous parentheses around the comparison to silence this warning
io.c: 379 | if((buf[i] == -1)){
io.c: | ~ ^ ~
io.c: io.c:379:14: note: use '=' to turn this equality comparison into an assignment
io.c: 379 | if((buf[i] == -1)){
io.c: | ^~
io.c: | =
io.c: 2 warnings generated.
try_ec_fp_256e.c: try_ec_fp_256e.c:29:2: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c: 29 | EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~
try_ec_fp_256e.c: ./ec_fp_256e.h:2055:4: note: expanded from macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c: 2055 | }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c: | ^~~
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: In file included from ./finite256.h:24:
try_ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
try_ec_fp_256e.c: 13 | static INLINE unsigned int fp_is0_256(uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
try_ec_fp_256e.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
try_ec_fp_256e.c: 96 | static INLINE void fp_ml2_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
try_ec_fp_256e.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
try_ec_fp_256e.c: 175 | static INLINE void fp_cpy_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
try_ec_fp_256e.c: 195 | static INLINE void fp_set_1_256(uni zn, uni_t a){
try_ec_fp_256e.c: ...
Number of similar (implementation,compiler) pairs: 5, namely:
| Implementation | Compiler |
| T:v01/w8s4 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s4 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s4 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s4 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s4 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
Compiler output
array_lo.c: In file included from array_lo.c:24:
array_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
array_lo.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
array_lo.c: | ^
array_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
array_lo.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
array_lo.c: | ^
ec_fp_256e.c: In file included from crympix.h:30,
ec_fp_256e.c: from ec_fp_256e.c:15:
ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256e.c: | ^
ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256e.c: | ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: 'ec_fp_madd_256Ex' defined but not used [-Wunused-function]
ec_fp_256e.c: 100 | static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c: | ^~~~~~~~~~~~~~~~
ec_fp_256e.c: In file included from finite256.h:24,
ec_fp_256e.c: from ec_fp_256e.c:16:
ec_fp_256e.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:142:20: warning: 'fp_dv2_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:17:20: warning: 'fp_mld_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ...
fp_256x8664.c: In file included from crympix.h:30,
fp_256x8664.c: from fp_256x8664.c:2:
fp_256x8664.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
fp_256x8664.c: | ^
fp_256x8664.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
fp_256x8664.c: | ^
fp_256x8664.c: In file included from finite256.h:24,
fp_256x8664.c: from fp_256x8664.c:4:
fp_256x8664.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
fp_256x8664.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:437:20: warning: 'fp_mul_256' defined but not used [-Wunused-function]
fp_256x8664.c: 437 | static INLINE void fp_mul_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
fp_256x8664.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
fp_256x8664.c: 347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:302:20: warning: 'fp_sub_2_256' defined but not used [-Wunused-function]
fp_256x8664.c: 302 | static INLINE void fp_sub_2_256(uni zn, uni_t a, uni bn){
fp_256x8664.c: | ^~~~~~~~~~~~
fp_256x8664.c: ...
integer_hi_stack.c: In file included from integer_hi_stack.c:24:
integer_hi_stack.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_hi_stack.c: | ^
integer_hi_stack.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_hi_stack.c: | ^
integer_hi_stack.c: integer_hi_stack.c: In function 'min_gcdx_lehmer_stack':
integer_hi_stack.c: integer_hi_stack.c:68:30: warning: unused variable 'vaL' [-Wunused-variable]
integer_hi_stack.c: 68 | uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:68:20: warning: unused variable 'uaL' [-Wunused-variable]
integer_hi_stack.c: 68 | uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:60: warning: unused variable 'tq1' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:55: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:50: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:45: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ...
integer_lo.c: In file included from integer_lo.c:24:
integer_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_lo.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_lo.c: | ^
integer_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_lo.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_lo.c: | ^
try_ec_fp_256e.c: In file included from crympix.h:30,
try_ec_fp_256e.c: from try_ec_fp_256e.c:2:
try_ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256e.c: | ^
try_ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256e.c: | ^
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:4:
try_ec_fp_256e.c: try_ec_fp_256e.c: In function 'crypto_dh_ecfp256e_v01_w8s4_timingleaks_keypair':
try_ec_fp_256e.c: ec_fp_256e.h:2055:4: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c: 2055 | }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c: | ^~~
try_ec_fp_256e.c: try_ec_fp_256e.c:29:9: note: in expansion of macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c: 29 | EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~
try_ec_fp_256e.c: In file included from finite256.h:24,
try_ec_fp_256e.c: from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: fp_256x8664.h: At top level:
try_ec_fp_256e.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
| Implementation | Compiler |
| T:v01/w8s4 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s4 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s4 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s4 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
Compiler output
ec_fp_256e.c: In file included from ec_fp_256e.c:16:
ec_fp_256e.c: In file included from ./finite256.h:24:
ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
ec_fp_256e.c: 13 | static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
ec_fp_256e.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
ec_fp_256e.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
ec_fp_256e.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
ec_fp_256e.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: unused function 'ec_fp_madd_256Ex' [-Wunused-function]
ec_fp_256e.c: 100 | static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c: | ^~~~~~~~~~~~~~~~
ec_fp_256e.c: 6 warnings generated.
fp_256x8664.c: In file included from fp_256x8664.c:4:
fp_256x8664.c: In file included from ./finite256.h:24:
fp_256x8664.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
fp_256x8664.c: 13 | static INLINE unsigned int fp_is0_256(uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
fp_256x8664.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
fp_256x8664.c: 96 | static INLINE void fp_ml2_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
fp_256x8664.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
fp_256x8664.c: 175 | static INLINE void fp_cpy_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
fp_256x8664.c: 195 | static INLINE void fp_set_1_256(uni zn, uni_t a){
fp_256x8664.c: | ^~~~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
fp_256x8664.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: | ^~~~~~~~~~~~
fp_256x8664.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
fp_256x8664.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: ...
integer_hi_stack.c: integer_hi_stack.c:65:8: warning: unused variable 'tAH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:13: warning: unused variable 'tAL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:18: warning: unused variable 'tBH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:23: warning: unused variable 'tBL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:28: warning: unused variable 'tCH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:33: warning: unused variable 'tCL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:38: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:43: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:48: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: ...
io.c: io.c:352:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
io.c: 352 | if((buf[i] == -1)){
io.c: | ~~~~~~~^~~~~
io.c: io.c:352:14: note: remove extraneous parentheses around the comparison to silence this warning
io.c: 352 | if((buf[i] == -1)){
io.c: | ~ ^ ~
io.c: io.c:352:14: note: use '=' to turn this equality comparison into an assignment
io.c: 352 | if((buf[i] == -1)){
io.c: | ^~
io.c: | =
io.c: io.c:379:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
io.c: 379 | if((buf[i] == -1)){
io.c: | ~~~~~~~^~~~~
io.c: io.c:379:14: note: remove extraneous parentheses around the comparison to silence this warning
io.c: 379 | if((buf[i] == -1)){
io.c: | ~ ^ ~
io.c: io.c:379:14: note: use '=' to turn this equality comparison into an assignment
io.c: 379 | if((buf[i] == -1)){
io.c: | ^~
io.c: | =
io.c: 2 warnings generated.
try_ec_fp_256e.c: try_ec_fp_256e.c:29:2: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c: 29 | EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~
try_ec_fp_256e.c: ./ec_fp_256e.h:4103:4: note: expanded from macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c: 4103 | }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c: | ^~~
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: In file included from ./finite256.h:24:
try_ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
try_ec_fp_256e.c: 13 | static INLINE unsigned int fp_is0_256(uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
try_ec_fp_256e.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
try_ec_fp_256e.c: 96 | static INLINE void fp_ml2_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
try_ec_fp_256e.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
try_ec_fp_256e.c: 175 | static INLINE void fp_cpy_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
try_ec_fp_256e.c: 195 | static INLINE void fp_set_1_256(uni zn, uni_t a){
try_ec_fp_256e.c: ...
Number of similar (implementation,compiler) pairs: 5, namely:
| Implementation | Compiler |
| T:v01/w8s8 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s8 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s8 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s8 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s8 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
Compiler output
array_lo.c: In file included from array_lo.c:24:
array_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
array_lo.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
array_lo.c: | ^
array_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
array_lo.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
array_lo.c: | ^
ec_fp_256e.c: In file included from crympix.h:30,
ec_fp_256e.c: from ec_fp_256e.c:15:
ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256e.c: | ^
ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256e.c: | ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: 'ec_fp_madd_256Ex' defined but not used [-Wunused-function]
ec_fp_256e.c: 100 | static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c: | ^~~~~~~~~~~~~~~~
ec_fp_256e.c: In file included from finite256.h:24,
ec_fp_256e.c: from ec_fp_256e.c:16:
ec_fp_256e.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:142:20: warning: 'fp_dv2_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:17:20: warning: 'fp_mld_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ...
fp_256x8664.c: In file included from crympix.h:30,
fp_256x8664.c: from fp_256x8664.c:2:
fp_256x8664.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
fp_256x8664.c: | ^
fp_256x8664.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
fp_256x8664.c: | ^
fp_256x8664.c: In file included from finite256.h:24,
fp_256x8664.c: from fp_256x8664.c:4:
fp_256x8664.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
fp_256x8664.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:437:20: warning: 'fp_mul_256' defined but not used [-Wunused-function]
fp_256x8664.c: 437 | static INLINE void fp_mul_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
fp_256x8664.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
fp_256x8664.c: 347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:302:20: warning: 'fp_sub_2_256' defined but not used [-Wunused-function]
fp_256x8664.c: 302 | static INLINE void fp_sub_2_256(uni zn, uni_t a, uni bn){
fp_256x8664.c: | ^~~~~~~~~~~~
fp_256x8664.c: ...
integer_hi_stack.c: In file included from integer_hi_stack.c:24:
integer_hi_stack.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_hi_stack.c: | ^
integer_hi_stack.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_hi_stack.c: | ^
integer_hi_stack.c: integer_hi_stack.c: In function 'min_gcdx_lehmer_stack':
integer_hi_stack.c: integer_hi_stack.c:68:30: warning: unused variable 'vaL' [-Wunused-variable]
integer_hi_stack.c: 68 | uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:68:20: warning: unused variable 'uaL' [-Wunused-variable]
integer_hi_stack.c: 68 | uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:60: warning: unused variable 'tq1' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:55: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:50: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:45: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ...
integer_lo.c: In file included from integer_lo.c:24:
integer_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_lo.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_lo.c: | ^
integer_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_lo.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_lo.c: | ^
try_ec_fp_256e.c: In file included from crympix.h:30,
try_ec_fp_256e.c: from try_ec_fp_256e.c:2:
try_ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256e.c: | ^
try_ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256e.c: | ^
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:4:
try_ec_fp_256e.c: try_ec_fp_256e.c: In function 'crypto_dh_ecfp256e_v01_w8s8_timingleaks_keypair':
try_ec_fp_256e.c: ec_fp_256e.h:4103:4: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c: 4103 | }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c: | ^~~
try_ec_fp_256e.c: try_ec_fp_256e.c:29:9: note: in expansion of macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c: 29 | EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~
try_ec_fp_256e.c: In file included from finite256.h:24,
try_ec_fp_256e.c: from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: fp_256x8664.h: At top level:
try_ec_fp_256e.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
| Implementation | Compiler |
| T:v01/w8s8 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s8 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s8 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s8 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
Namespace violations
alloc.o crympix B
alloc.o crympix_init T
alloc.o crympix_kill T
alloc.o kn_alloc T
alloc.o kn_flush T
alloc.o kn_flush_fast T
alloc.o kn_free T
alloc.o kn_free_fast T
alloc.o kn_init T
alloc.o kn_init_fast T
alloc.o kn_kill T
alloc.o kn_kill_fast T
alloc.o kn_release T
array_lo.o man_compare T
array_lo.o man_compare_1 T
array_lo.o man_convert_base T
array_lo.o man_convert_word T
array_lo.o man_normalize_right T
array_lo.o man_shift_left T
array_lo.o man_shift_left_experimental T
array_lo.o man_shift_right T
ec_fp_256e.o ec_fp_smul_256e T
error.o kn_exit T
error.o kn_memcheck T
error.o kn_warn T
fp_256x8664.o fp_inv_256 T
integer_hi_stack.o mi_add_stack T
integer_hi_stack.o mi_add_stack_1_stack T
integer_hi_stack.o mi_clone_stack T
integer_hi_stack.o mi_compare_abs_1_stack T
integer_hi_stack.o mi_compare_abs_stack T
integer_hi_stack.o mi_compare_stack T
integer_hi_stack.o mi_div_1_stack T
integer_hi_stack.o mi_div_q_r_stack T
integer_hi_stack.o mi_div_q_stack T
integer_hi_stack.o mi_div_stack T
integer_hi_stack.o mi_exp_stack T
integer_hi_stack.o mi_gcd_stack T
integer_hi_stack.o mi_gcdx_stack T
integer_hi_stack.o mi_init_stack T
integer_hi_stack.o mi_lcm_stack T
integer_hi_stack.o mi_mod_stack T
integer_hi_stack.o mi_modadd_stack T
integer_hi_stack.o mi_moddiv_stack T
integer_hi_stack.o mi_modexp_stack T
integer_hi_stack.o mi_modinv_stack T
integer_hi_stack.o mi_modmul_stack T
integer_hi_stack.o mi_modsub_stack T
integer_hi_stack.o mi_mul_1_stack T
integer_hi_stack.o mi_mul_stack T
integer_hi_stack.o mi_negate_stack T
integer_hi_stack.o mi_set_1_stack T
integer_hi_stack.o mi_sub_1_stack T
integer_hi_stack.o mi_sub_stack T
integer_lo.o min_compare T
integer_lo.o min_div_qr T
integer_lo.o min_find_nd T
integer_lo.o min_find_window T
integer_lo.o min_gcdx_lehmer T
integer_lo.o min_mul_basecase T
integer_lo.o min_mul_karatsuba T
integer_lo.o min_nres_prepare T
integer_lo.o min_nres_prepare2 T
integer_lo.o min_nres_redc T
integer_lo.o min_sqr_basecase T
integer_lo.o min_sqr_karatsuba T
io.o kn_io_fprint T
io.o kn_io_fscan T
io.o kn_io_sprint T
io.o kn_io_sscan T
rand.o kn_rand T
rand.o kn_srand T
try_ec_fp_256e.o copyrightclaims T
try_ec_fp_256e.o patentclaims T
try_ec_fp_256e.o timingattacks T
Number of similar (implementation,compiler) pairs: 9, namely:
| Implementation | Compiler |
| T:v01/var | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/var | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/var | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/var | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/var | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/var | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/var | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/var | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/var | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
Namespace violations
alloc.o crympix B
alloc.o crympix_init T
alloc.o crympix_kill T
alloc.o kn_alloc T
alloc.o kn_flush T
alloc.o kn_flush_fast T
alloc.o kn_free T
alloc.o kn_free_fast T
alloc.o kn_init T
alloc.o kn_init_fast T
alloc.o kn_kill T
alloc.o kn_kill_fast T
alloc.o kn_release T
array_lo.o man_compare T
array_lo.o man_compare_1 T
array_lo.o man_convert_base T
array_lo.o man_convert_word T
array_lo.o man_normalize_right T
array_lo.o man_shift_left T
array_lo.o man_shift_left_experimental T
array_lo.o man_shift_right T
ec_fp_256e.o ec_fp_smul_256e T
ec_fp_256e.o ec_fp_smulbase_256e T
error.o kn_exit T
error.o kn_memcheck T
error.o kn_warn T
fp_256x8664.o fp_inv_256 T
integer_hi_stack.o mi_add_stack T
integer_hi_stack.o mi_add_stack_1_stack T
integer_hi_stack.o mi_clone_stack T
integer_hi_stack.o mi_compare_abs_1_stack T
integer_hi_stack.o mi_compare_abs_stack T
integer_hi_stack.o mi_compare_stack T
integer_hi_stack.o mi_div_1_stack T
integer_hi_stack.o mi_div_q_r_stack T
integer_hi_stack.o mi_div_q_stack T
integer_hi_stack.o mi_div_stack T
integer_hi_stack.o mi_exp_stack T
integer_hi_stack.o mi_gcd_stack T
integer_hi_stack.o mi_gcdx_stack T
integer_hi_stack.o mi_init_stack T
integer_hi_stack.o mi_lcm_stack T
integer_hi_stack.o mi_mod_stack T
integer_hi_stack.o mi_modadd_stack T
integer_hi_stack.o mi_moddiv_stack T
integer_hi_stack.o mi_modexp_stack T
integer_hi_stack.o mi_modinv_stack T
integer_hi_stack.o mi_modmul_stack T
integer_hi_stack.o mi_modsub_stack T
integer_hi_stack.o mi_mul_1_stack T
integer_hi_stack.o mi_mul_stack T
integer_hi_stack.o mi_negate_stack T
integer_hi_stack.o mi_set_1_stack T
integer_hi_stack.o mi_sub_1_stack T
integer_hi_stack.o mi_sub_stack T
integer_lo.o min_compare T
integer_lo.o min_div_qr T
integer_lo.o min_find_nd T
integer_lo.o min_find_window T
integer_lo.o min_gcdx_lehmer T
integer_lo.o min_mul_basecase T
integer_lo.o min_mul_karatsuba T
integer_lo.o min_nres_prepare T
integer_lo.o min_nres_prepare2 T
integer_lo.o min_nres_redc T
integer_lo.o min_sqr_basecase T
integer_lo.o min_sqr_karatsuba T
io.o kn_io_fprint T
io.o kn_io_fscan T
io.o kn_io_sprint T
io.o kn_io_sscan T
rand.o kn_rand T
rand.o kn_srand T
try_ec_fp_256e.o copyrightclaims T
try_ec_fp_256e.o patentclaims T
try_ec_fp_256e.o timingattacks T
Number of similar (implementation,compiler) pairs: 36, namely:
| Implementation | Compiler |
| T:v01/w8s1 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s1 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s1 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s1 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s1 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s1 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s1 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s1 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s1 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s4 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s4 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s4 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s4 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s4 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s4 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s4 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s4 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s4 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s8 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s8 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s8 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s8 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s8 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| T:v01/w8s8 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s8 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s8 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| T:v01/w8s8 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |