Test results for amd64, h3neo, crypto_dh/ecfp256e
[Page version: 20251031 23:16:25]
Measurements for amd64, h3neo, crypto_dh
Test results for amd64, h3neo, crypto_dh
Test results for crypto_dh/ecfp256e
Computer: h3neo
Microarchitecture: amd64; K10 45nm (100f63)
Architecture: amd64
CPU ID: AuthenticAMD-00100f63-078bfbff
SUPERCOP version: 20250922
Operation: crypto_dh
Primitive: ecfp256e
| Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
| 668847 | 252965 0 8 | 269032 876 1736 | T:v01/w8s8 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 670780 | 237180 0 8 | 250680 876 1736 | T:v01/w8s8 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 671272 | 246557 0 8 | 261592 876 1736 | T:v01/w8s8 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 673032 | 264021 0 8 | 280096 876 1736 | T:v01/w8s8 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 675461 | 187480 0 8 | 203560 876 1736 | T:v01/w8s4 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 675860 | 171644 0 8 | 185144 876 1736 | T:v01/w8s4 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 676548 | 183413 0 8 | 198448 876 1736 | T:v01/w8s4 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 677658 | 230212 0 8 | 243266 868 1736 | T:v01/w8s8 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 679212 | 164676 0 8 | 177730 868 1736 | T:v01/w8s4 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 681583 | 198528 0 8 | 214560 876 1736 | T:v01/w8s4 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 689053 | 149052 0 8 | 164088 876 1736 | T:v01/w8s2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 689503 | 161339 0 8 | 177384 876 1736 | T:v01/w8s2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 689635 | 138878 0 8 | 152376 876 1736 | T:v01/w8s2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 690990 | 131925 0 8 | 144962 868 1736 | T:v01/w8s2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 694682 | 172362 0 8 | 188384 876 1736 | T:v01/w8s2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 700512 | 238430 0 8 | 254082 852 1832 | T:v01/w8s8 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 706166 | 172372 0 8 | 188050 852 1832 | T:v01/w8s4 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 713296 | 131804 0 8 | 146840 876 1736 | T:v01/w8s1 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 714251 | 138202 0 8 | 154280 876 1736 | T:v01/w8s1 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 716745 | 122362 0 8 | 135864 876 1736 | T:v01/w8s1 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 718194 | 115411 0 8 | 128450 868 1736 | T:v01/w8s1 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 719253 | 139486 0 8 | 155162 852 1832 | T:v01/w8s2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 719848 | 149225 0 8 | 165280 876 1736 | T:v01/w8s1 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 721641 | 184267 0 8 | 198906 852 1832 | T:v01/w8s8 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 724515 | 181230 0 8 | 194817 844 1832 | T:v01/w8s8 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 729537 | 118699 0 8 | 133370 852 1832 | T:v01/w8s4 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 732100 | 115660 0 8 | 129281 844 1832 | T:v01/w8s4 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 742807 | 85949 0 8 | 100602 852 1832 | T:v01/w8s2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 744002 | 172550 0 8 | 185049 836 1800 | T:v01/w8s8 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 746024 | 82874 0 8 | 96513 844 1832 | T:v01/w8s2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 746764 | 122807 0 8 | 138498 852 1832 | T:v01/w8s1 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 747523 | 107008 0 8 | 119513 836 1800 | T:v01/w8s4 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 761378 | 74232 0 8 | 86745 836 1800 | T:v01/w8s2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 770284 | 69478 0 8 | 84154 852 1832 | T:v01/w8s1 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 773455 | 66431 0 8 | 80065 844 1832 | T:v01/w8s1 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 787044 | 57798 0 8 | 70297 836 1800 | T:v01/w8s1 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 1050328 | 92898 0 8 | 105890 868 1736 | T:v01/var | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 1054867 | 99811 0 8 | 113304 876 1736 | T:v01/var | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 1055113 | 109692 0 8 | 125728 876 1736 | T:v01/var | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 1056830 | 108899 0 8 | 123960 876 1736 | T:v01/var | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 1065530 | 120747 0 8 | 136792 876 1736 | T:v01/var | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 1107898 | 104757 0 8 | 120394 852 1832 | T:v01/var | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 1141049 | 52434 0 8 | 67082 852 1832 | T:v01/var | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 1146508 | 49554 0 8 | 63185 844 1832 | T:v01/var | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
| 1163369 | 40911 0 8 | 53425 836 1800 | T:v01/var | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250924 | 20250922 |
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) |