Implementation notes: amd64, rumba7, crypto_dh/curve2251
Computer: rumba7
Microarchitecture: amd64; Zen (800f11)
Architecture: amd64
CPU ID: AuthenticAMD-00800f11-178bfbff
SUPERCOP version: 20240625
Operation: crypto_dh
Primitive: curve2251
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
401581 | 42085 385024 1104 | 64554 385908 2912 | T:relic/amd64-avx | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
402265 | 54285 385024 1104 | 78018 385908 2912 | T:relic/amd64-avx | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
405006 | 33743 385024 1104 | 55504 385900 2912 | T:relic/amd64-avx | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
405837 | 42061 385024 1104 | 64506 385908 2912 | T:relic/amd64-clmul | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
408369 | 54261 385024 1104 | 77970 385908 2912 | T:relic/amd64-clmul | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
413369 | 30598 385024 1104 | 51506 385900 2912 | T:relic/amd64-avx | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
413496 | 33719 385024 1104 | 55456 385900 2912 | T:relic/amd64-clmul | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
422026 | 30574 385024 1104 | 51458 385900 2912 | T:relic/amd64-clmul | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
1168637 | 50357 385024 1104 | 72658 385908 2912 | T:relic/amd64-ssse3 | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
1214605 | 62557 385024 1104 | 86122 385908 2912 | T:relic/amd64-ssse3 | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
1236259 | 42015 385024 1104 | 63608 385900 2912 | T:relic/amd64-ssse3 | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
1244085 | 38870 385024 1104 | 59610 385900 2912 | T:relic/amd64-ssse3 | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
2754190 | 28627 0 8 | 64611 884 1824 | T:mpfq | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
2818042 | 17589 0 8 | 52339 884 1824 | T:mpfq | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
2844249 | 16122 0 8 | 50315 884 1824 | T:mpfq | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
2896506 | 12140 0 8 | 45441 884 1824 | T:mpfq | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
Compiler output
curve2_251.c: In file included from curve2_251.c:8:
curve2_251.c: In file included from ./field.h:1:
curve2_251.c: In file included from ./mpfq_2_251.h:5:
curve2_251.c: ./x86_64/mpfq_2_251.h:900:14: error: use of unknown builtin '__builtin_ia32_pslldqi128' [-Wimplicit-function-declaration]
curve2_251.c: r.s = t0 ^ SHLD(t1, 64);
curve2_251.c: ^
curve2_251.c: ./x86_64/mpfq_2_251.h:748:25: note: expanded from macro 'SHLD'
curve2_251.c: #define SHLD(x,r) (v2di)__builtin_ia32_pslldqi128 ((gcc43bugfix) (x),(r))
curve2_251.c: ^
curve2_251.c: ./x86_64/mpfq_2_251.h:900:14: error: invalid conversion between vector type 'v2di' (vector of 2 'uint64_t' values) and integer type 'int' of different size
curve2_251.c: r.s = t0 ^ SHLD(t1, 64);
curve2_251.c: ^~~~~~~~~~~~
curve2_251.c: ./x86_64/mpfq_2_251.h:748:19: note: expanded from macro 'SHLD'
curve2_251.c: #define SHLD(x,r) (v2di)__builtin_ia32_pslldqi128 ((gcc43bugfix) (x),(r))
curve2_251.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
curve2_251.c: ./x86_64/mpfq_2_251.h:907:14: error: use of unknown builtin '__builtin_ia32_psrldqi128' [-Wimplicit-function-declaration]
curve2_251.c: r.s = t2 ^ SHRD(t1, 64);
curve2_251.c: ^
curve2_251.c: ./x86_64/mpfq_2_251.h:749:25: note: expanded from macro 'SHRD'
curve2_251.c: #define SHRD(x,r) (v2di)__builtin_ia32_psrldqi128 ((gcc43bugfix) (x),(r))
curve2_251.c: ^
curve2_251.c: ./x86_64/mpfq_2_251.h:907:14: error: invalid conversion between vector type 'v2di' (vector of 2 'uint64_t' values) and integer type 'int' of different size
curve2_251.c: r.s = t2 ^ SHRD(t1, 64);
curve2_251.c: ^~~~~~~~~~~~
curve2_251.c: ./x86_64/mpfq_2_251.h:749:19: note: expanded from macro 'SHRD'
curve2_251.c: ...
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:mpfq | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:mpfq | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:mpfq | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:mpfq | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:mpfq | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
curve2_251.c: curve2_251.c:36:13: warning: 'ECcopy' defined but not used [-Wunused-function]
curve2_251.c: 36 | static void ECcopy(Kfield K, dst_ECpoint Q, src_ECpoint P) {
curve2_251.c: | ^~~~~~
keysharing.c: In file included from mpfq_2_251.h:5,
keysharing.c: from field.h:1,
keysharing.c: from keysharing.c:3:
keysharing.c: keysharing.c: In function 'crypto_dh_curve2251_mpfq_timingleaks_keypair':
keysharing.c: x86_64/mpfq_2_251.h:16:25: warning: 'K' is used uninitialized [-Wuninitialized]
keysharing.c: 16 | #define MPFQ_(X) mpfq_2_251_ ## X
keysharing.c: | ^~~~~~~~~~~
keysharing.c: keysharing.c:58:10: note: 'K' was declared here
keysharing.c: 58 | Kfield K;
keysharing.c: | ^
keysharing.c: keysharing.c: In function 'crypto_dh_curve2251_mpfq_timingleaks':
keysharing.c: keysharing.c:121:3: warning: 'K' is used uninitialized [-Wuninitialized]
keysharing.c: 121 | ECmul(K, res, base_point, key);
keysharing.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:mpfq | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:mpfq | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:mpfq | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:mpfq | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Compiler output
curve2251.c: curve2251.c:21:6: warning: unused variable 'l' [-Wunused-variable]
curve2251.c: int l;
curve2251.c: ^
curve2251.c: 1 warning generated.
relic.c: In file included from relic.c:4:
relic.c: ./src/relic_rand.c:117:8: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration]
relic.c: srand(time(NULL));
relic.c: ^
relic.c: In file included from relic.c:3:
relic.c: ./src/relic_bench.c:124:13: warning: unused function 'empty' [-Wunused-function]
relic.c: static void empty(int *a) {
relic.c: ^
relic.c: 2 warnings generated.
relic_eb.c: In file included from relic_eb.c:2:
relic_eb.c: ./src/eb/relic_eb_curve.c:238:6: warning: unused variable 'i' [-Wunused-variable]
relic_eb.c: int i;
relic_eb.c: ^
relic_eb.c: ./src/eb/relic_eb_curve.c:266:6: warning: unused variable 'i' [-Wunused-variable]
relic_eb.c: int i;
relic_eb.c: ^
relic_eb.c: 2 warnings generated.
relic_fb.c: In file included from relic_fb.c:11:
relic_fb.c: ./src/low/relic_fb_inv_low.c:40:6: warning: unused variable 'i' [-Wunused-variable]
relic_fb.c: int i, j, x, y, u[11];
relic_fb.c: ^
relic_fb.c: ./src/low/relic_fb_inv_low.c:40:12: warning: unused variable 'x' [-Wunused-variable]
relic_fb.c: int i, j, x, y, u[11];
relic_fb.c: ^
relic_fb.c: ./src/low/relic_fb_inv_low.c:40:15: warning: unused variable 'y' [-Wunused-variable]
relic_fb.c: int i, j, x, y, u[11];
relic_fb.c: ^
relic_fb.c: ./src/low/relic_fb_inv_low.c:43:12: warning: unused variable 'chain' [-Wunused-variable]
relic_fb.c: int len, *chain = fb_poly_get_chain(&len);
relic_fb.c: ^
relic_fb.c: 4 warnings generated.
relic_low.S: relic_low.S:5:1: error: changed section type for .note.GNU-stack, expected: 0x7
relic_low.S: .section .note.GNU-stack,"",@progbits
relic_low.S: ^
Number of similar (implementation,compiler) pairs: 10, namely:
Implementation | Compiler |
T:relic/amd64-avx | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:relic/amd64-avx | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:relic/amd64-avx | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:relic/amd64-avx | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:relic/amd64-avx | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:relic/amd64-clmul | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:relic/amd64-clmul | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:relic/amd64-clmul | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:relic/amd64-clmul | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:relic/amd64-clmul | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
curve2251.c: curve2251.c: In function 'crypto_dh_curve2251_relic_amd64_avx_timingleaks_keypair':
curve2251.c: curve2251.c:21:13: warning: unused variable 'l' [-Wunused-variable]
curve2251.c: 21 | int l;
curve2251.c: | ^
relic.c: In file included from relic.c:4:
relic.c: src/relic_rand.c: In function 'rand_init':
relic.c: src/relic_rand.c:117:15: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration]
relic.c: 117 | srand(time(NULL));
relic.c: | ^~~~
relic.c: In file included from relic.c:3:
relic.c: At top level:
relic.c: src/relic_bench.c:124:13: warning: 'empty' defined but not used [-Wunused-function]
relic.c: 124 | static void empty(int *a) {
relic.c: | ^~~~~
relic_eb.c: In file included from relic_eb.c:2:
relic_eb.c: src/eb/relic_eb_curve.c: In function 'eb_curve_init':
relic_eb.c: src/eb/relic_eb_curve.c:238:13: warning: unused variable 'i' [-Wunused-variable]
relic_eb.c: 238 | int i;
relic_eb.c: | ^
relic_eb.c: src/eb/relic_eb_curve.c: In function 'eb_curve_clean':
relic_eb.c: src/eb/relic_eb_curve.c:266:13: warning: unused variable 'i' [-Wunused-variable]
relic_eb.c: 266 | int i;
relic_eb.c: | ^
relic_fb.c: In file included from relic_fb.c:11:
relic_fb.c: src/low/relic_fb_inv_low.c: In function 'fb_invn_low':
relic_fb.c: src/low/relic_fb_inv_low.c:43:19: warning: unused variable 'chain' [-Wunused-variable]
relic_fb.c: 43 | int len, *chain = fb_poly_get_chain(&len);
relic_fb.c: | ^~~~~
relic_fb.c: src/low/relic_fb_inv_low.c:40:22: warning: unused variable 'y' [-Wunused-variable]
relic_fb.c: 40 | int i, j, x, y, u[11];
relic_fb.c: | ^
relic_fb.c: src/low/relic_fb_inv_low.c:40:19: warning: unused variable 'x' [-Wunused-variable]
relic_fb.c: 40 | int i, j, x, y, u[11];
relic_fb.c: | ^
relic_fb.c: src/low/relic_fb_inv_low.c:40:13: warning: unused variable 'i' [-Wunused-variable]
relic_fb.c: 40 | int i, j, x, y, u[11];
relic_fb.c: | ^
try.c: /usr/bin/ld: libcrypto_dh_curve2251.a(relic_low.o): warning: relocation in read-only section `.eh_frame'
try.c: /usr/bin/ld: warning: creating DT_TEXTREL in a PIE
try.c: /usr/bin/ld: libcrypto_dh_curve2251.a(relic_low.o): warning: relocation in read-only section `.eh_frame'
try.c: /usr/bin/ld: warning: creating DT_TEXTREL in a PIE
measure.c: /usr/bin/ld: libcrypto_dh_curve2251.a(relic_low.o): warning: relocation in read-only section `.eh_frame'
measure.c: /usr/bin/ld: warning: creating DT_TEXTREL in a PIE
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:relic/amd64-avx | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:relic/amd64-avx | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:relic/amd64-avx | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:relic/amd64-avx | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Compiler output
curve2251.c: curve2251.c: In function 'crypto_dh_curve2251_relic_amd64_clmul_timingleaks_keypair':
curve2251.c: curve2251.c:21:13: warning: unused variable 'l' [-Wunused-variable]
curve2251.c: 21 | int l;
curve2251.c: | ^
relic.c: In file included from relic.c:4:
relic.c: src/relic_rand.c: In function 'rand_init':
relic.c: src/relic_rand.c:117:15: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration]
relic.c: 117 | srand(time(NULL));
relic.c: | ^~~~
relic.c: In file included from relic.c:3:
relic.c: At top level:
relic.c: src/relic_bench.c:124:13: warning: 'empty' defined but not used [-Wunused-function]
relic.c: 124 | static void empty(int *a) {
relic.c: | ^~~~~
relic_eb.c: In file included from relic_eb.c:2:
relic_eb.c: src/eb/relic_eb_curve.c: In function 'eb_curve_init':
relic_eb.c: src/eb/relic_eb_curve.c:238:13: warning: unused variable 'i' [-Wunused-variable]
relic_eb.c: 238 | int i;
relic_eb.c: | ^
relic_eb.c: src/eb/relic_eb_curve.c: In function 'eb_curve_clean':
relic_eb.c: src/eb/relic_eb_curve.c:266:13: warning: unused variable 'i' [-Wunused-variable]
relic_eb.c: 266 | int i;
relic_eb.c: | ^
relic_fb.c: In file included from relic_fb.c:11:
relic_fb.c: src/low/relic_fb_inv_low.c: In function 'fb_invn_low':
relic_fb.c: src/low/relic_fb_inv_low.c:43:19: warning: unused variable 'chain' [-Wunused-variable]
relic_fb.c: 43 | int len, *chain = fb_poly_get_chain(&len);
relic_fb.c: | ^~~~~
relic_fb.c: src/low/relic_fb_inv_low.c:40:22: warning: unused variable 'y' [-Wunused-variable]
relic_fb.c: 40 | int i, j, x, y, u[11];
relic_fb.c: | ^
relic_fb.c: src/low/relic_fb_inv_low.c:40:19: warning: unused variable 'x' [-Wunused-variable]
relic_fb.c: 40 | int i, j, x, y, u[11];
relic_fb.c: | ^
relic_fb.c: src/low/relic_fb_inv_low.c:40:13: warning: unused variable 'i' [-Wunused-variable]
relic_fb.c: 40 | int i, j, x, y, u[11];
relic_fb.c: | ^
try.c: /usr/bin/ld: libcrypto_dh_curve2251.a(relic_low.o): warning: relocation in read-only section `.eh_frame'
try.c: /usr/bin/ld: warning: creating DT_TEXTREL in a PIE
try.c: /usr/bin/ld: libcrypto_dh_curve2251.a(relic_low.o): warning: relocation in read-only section `.eh_frame'
try.c: /usr/bin/ld: warning: creating DT_TEXTREL in a PIE
measure.c: /usr/bin/ld: libcrypto_dh_curve2251.a(relic_low.o): warning: relocation in read-only section `.eh_frame'
measure.c: /usr/bin/ld: warning: creating DT_TEXTREL in a PIE
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:relic/amd64-clmul | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:relic/amd64-clmul | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:relic/amd64-clmul | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:relic/amd64-clmul | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Compiler output
curve2251.c: curve2251.c:21:6: warning: unused variable 'l' [-Wunused-variable]
curve2251.c: int l;
curve2251.c: ^
curve2251.c: 1 warning generated.
relic.c: In file included from relic.c:4:
relic.c: ./src/relic_rand.c:117:8: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration]
relic.c: srand(time(NULL));
relic.c: ^
relic.c: In file included from relic.c:3:
relic.c: ./src/relic_bench.c:124:13: warning: unused function 'empty' [-Wunused-function]
relic.c: static void empty(int *a) {
relic.c: ^
relic.c: 2 warnings generated.
relic_eb.c: In file included from relic_eb.c:2:
relic_eb.c: ./src/eb/relic_eb_curve.c:238:6: warning: unused variable 'i' [-Wunused-variable]
relic_eb.c: int i;
relic_eb.c: ^
relic_eb.c: ./src/eb/relic_eb_curve.c:266:6: warning: unused variable 'i' [-Wunused-variable]
relic_eb.c: int i;
relic_eb.c: ^
relic_eb.c: 2 warnings generated.
relic_fb.c: In file included from relic_fb.c:11:
relic_fb.c: ./src/low/relic_fb_inv_low.c:40:6: warning: unused variable 'i' [-Wunused-variable]
relic_fb.c: int i, j, x, y, u[11];
relic_fb.c: ^
relic_fb.c: ./src/low/relic_fb_inv_low.c:40:12: warning: unused variable 'x' [-Wunused-variable]
relic_fb.c: int i, j, x, y, u[11];
relic_fb.c: ^
relic_fb.c: ./src/low/relic_fb_inv_low.c:40:15: warning: unused variable 'y' [-Wunused-variable]
relic_fb.c: int i, j, x, y, u[11];
relic_fb.c: ^
relic_fb.c: ./src/low/relic_fb_inv_low.c:43:12: warning: unused variable 'chain' [-Wunused-variable]
relic_fb.c: int len, *chain = fb_poly_get_chain(&len);
relic_fb.c: ^
relic_fb.c: 4 warnings generated.
relic_low.S: ./src/low/relic_fb_mul_low.s:2339:2: error: changed section type for .note.GNU-stack, expected: 0x7
relic_low.S: .section .note.GNU-stack,"",@progbits
relic_low.S: ^
relic_low.S: relic_low.S:5:1: error: changed section type for .note.GNU-stack, expected: 0x7
relic_low.S: .section .note.GNU-stack,"",@progbits
relic_low.S: ^
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:relic/amd64-ssse3 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:relic/amd64-ssse3 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:relic/amd64-ssse3 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:relic/amd64-ssse3 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:relic/amd64-ssse3 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
curve2251.c: curve2251.c: In function 'crypto_dh_curve2251_relic_amd64_ssse3_timingleaks_keypair':
curve2251.c: curve2251.c:21:13: warning: unused variable 'l' [-Wunused-variable]
curve2251.c: 21 | int l;
curve2251.c: | ^
relic.c: In file included from relic.c:4:
relic.c: src/relic_rand.c: In function 'rand_init':
relic.c: src/relic_rand.c:117:15: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration]
relic.c: 117 | srand(time(NULL));
relic.c: | ^~~~
relic.c: In file included from relic.c:3:
relic.c: At top level:
relic.c: src/relic_bench.c:124:13: warning: 'empty' defined but not used [-Wunused-function]
relic.c: 124 | static void empty(int *a) {
relic.c: | ^~~~~
relic_eb.c: In file included from relic_eb.c:2:
relic_eb.c: src/eb/relic_eb_curve.c: In function 'eb_curve_init':
relic_eb.c: src/eb/relic_eb_curve.c:238:13: warning: unused variable 'i' [-Wunused-variable]
relic_eb.c: 238 | int i;
relic_eb.c: | ^
relic_eb.c: src/eb/relic_eb_curve.c: In function 'eb_curve_clean':
relic_eb.c: src/eb/relic_eb_curve.c:266:13: warning: unused variable 'i' [-Wunused-variable]
relic_eb.c: 266 | int i;
relic_eb.c: | ^
relic_fb.c: In file included from relic_fb.c:11:
relic_fb.c: src/low/relic_fb_inv_low.c: In function 'fb_invn_low':
relic_fb.c: src/low/relic_fb_inv_low.c:43:19: warning: unused variable 'chain' [-Wunused-variable]
relic_fb.c: 43 | int len, *chain = fb_poly_get_chain(&len);
relic_fb.c: | ^~~~~
relic_fb.c: src/low/relic_fb_inv_low.c:40:22: warning: unused variable 'y' [-Wunused-variable]
relic_fb.c: 40 | int i, j, x, y, u[11];
relic_fb.c: | ^
relic_fb.c: src/low/relic_fb_inv_low.c:40:19: warning: unused variable 'x' [-Wunused-variable]
relic_fb.c: 40 | int i, j, x, y, u[11];
relic_fb.c: | ^
relic_fb.c: src/low/relic_fb_inv_low.c:40:13: warning: unused variable 'i' [-Wunused-variable]
relic_fb.c: 40 | int i, j, x, y, u[11];
relic_fb.c: | ^
try.c: /usr/bin/ld: libcrypto_dh_curve2251.a(relic_low.o): warning: relocation in read-only section `.eh_frame'
try.c: /usr/bin/ld: warning: creating DT_TEXTREL in a PIE
try.c: /usr/bin/ld: libcrypto_dh_curve2251.a(relic_low.o): warning: relocation in read-only section `.eh_frame'
try.c: /usr/bin/ld: warning: creating DT_TEXTREL in a PIE
measure.c: /usr/bin/ld: libcrypto_dh_curve2251.a(relic_low.o): warning: relocation in read-only section `.eh_frame'
measure.c: /usr/bin/ld: warning: creating DT_TEXTREL in a PIE
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:relic/amd64-ssse3 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:relic/amd64-ssse3 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:relic/amd64-ssse3 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:relic/amd64-ssse3 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |