Test results for amd64, kizomba, crypto_dh/ecfp256e
[Page version: 20260113 15:48:17]
Measurements for amd64, kizomba, crypto_dh
Test results for amd64, kizomba, crypto_dh
Test results for crypto_dh/ecfp256e
Computer: kizomba
Microarchitecture: amd64; Kaby Lake (906e9)
Architecture: amd64
CPU ID: GenuineIntel-000906e9-bfebfbff
SUPERCOP version: 20251222
Operation: crypto_dh
Primitive: ecfp256e
| Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
| 417107 | 264021 0 8 | 282720 876 1768 | T:v01/w8s8 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 417711 | 236907 0 8 | 252824 876 1768 | T:v01/w8s8 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 420414 | 231559 0 8 | 247833 868 1832 | T:v01/w8s8 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 422845 | 268231 0 8 | 287127 876 1832 | T:v01/w8s8 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 423066 | 171371 0 8 | 187288 876 1768 | T:v01/w8s4 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 424273 | 198528 0 8 | 217232 876 1768 | T:v01/w8s4 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 425745 | 204981 0 8 | 223887 876 1832 | T:v01/w8s4 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 426974 | 210117 0 8 | 229151 876 1832 | T:v01/w8s4 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 428690 | 166023 0 8 | 182297 868 1832 | T:v01/w8s4 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 430177 | 276606 0 8 | 295631 876 1832 | T:v01/w8s8 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 431174 | 133285 0 8 | 149561 868 1832 | T:v01/w8s2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 433020 | 172362 0 8 | 191056 876 1768 | T:v01/w8s2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 433354 | 183006 0 8 | 202023 876 1832 | T:v01/w8s2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 434474 | 138603 0 8 | 154520 876 1768 | T:v01/w8s2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 435072 | 169633 0 8 | 188511 876 1832 | T:v01/w8s2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 442453 | 159878 0 8 | 178887 876 1832 | T:v01/w8s1 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 446716 | 122098 0 8 | 138008 876 1768 | T:v01/w8s1 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 447773 | 149225 0 8 | 167920 876 1768 | T:v01/w8s1 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 449429 | 217480 0 8 | 232610 852 1864 | T:v01/w8s8 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 452282 | 152308 0 8 | 171199 876 1832 | T:v01/w8s1 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 455657 | 116737 0 8 | 133017 868 1832 | T:v01/w8s1 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 457301 | 151395 0 8 | 166530 852 1864 | T:v01/w8s4 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 468305 | 181129 0 8 | 197186 852 1864 | T:v01/w8s8 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 468824 | 118535 0 8 | 133674 852 1864 | T:v01/w8s2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 470412 | 183053 0 8 | 199370 852 1864 | T:v01/w8s8 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 471706 | 117499 0 8 | 133818 852 1864 | T:v01/w8s4 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 473307 | 115560 0 8 | 131618 852 1864 | T:v01/w8s4 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 476836 | 84733 0 8 | 101050 852 1864 | T:v01/w8s2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 477516 | 172440 0 8 | 187650 844 1832 | T:v01/w8s8 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 481662 | 82774 0 8 | 98834 852 1864 | T:v01/w8s2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 482813 | 101854 0 8 | 116994 852 1864 | T:v01/w8s1 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 484234 | 106898 0 8 | 122114 844 1832 | T:v01/w8s4 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 488058 | 74122 0 8 | 89330 844 1832 | T:v01/w8s2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 492677 | 68257 0 8 | 84570 852 1864 | T:v01/w8s1 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 497313 | 66317 0 8 | 82370 852 1864 | T:v01/w8s1 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 508168 | 57691 0 8 | 72898 844 1832 | T:v01/w8s1 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 661925 | 129512 0 8 | 148383 876 1832 | T:v01/var | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 664383 | 93891 0 8 | 110153 868 1832 | T:v01/var | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 666427 | 131418 0 8 | 150415 876 1832 | T:v01/var | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 668288 | 99595 0 8 | 115496 876 1768 | T:v01/var | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 672193 | 120747 0 8 | 139432 876 1768 | T:v01/var | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 726057 | 83835 0 8 | 98954 852 1864 | T:v01/var | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 744873 | 51203 0 8 | 67514 852 1864 | T:v01/var | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 759571 | 49478 0 8 | 65522 852 1864 | T:v01/var | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
| 770657 | 40793 0 8 | 55986 844 1832 | T:v01/var | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260106 | 20251222 |
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) |