Test results for amd64, phoenix, crypto_dh/surf2113
[Page version: 20250816 20:11:49]
Measurements for amd64, phoenix, crypto_dh
Test results for amd64, phoenix, crypto_dh
Test results for crypto_dh/surf2113
Computer: phoenix
Microarchitecture: amd64; Zen 4 (a70f41)
Architecture: amd64
CPU ID: AuthenticAMD-00a70f41-178bfbff
SUPERCOP version: 20250415
Operation: crypto_dh
Primitive: surf2113
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
1300852 | 20970 0 0 | 182613 1412 1928 | T:mpfq | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250815 | 20250415 |
1382078 | 20469 0 0 | 179837 1412 1832 | T:mpfq | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250815 | 20250415 |
1392451 | 19533 0 0 | 179429 1412 1928 | T:mpfq | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250815 | 20250415 |
1393498 | 11688 0 0 | 169930 1404 1832 | T:mpfq | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250815 | 20250415 |
Compiler output
Surf2_113.c: In file included from Surf2_113.c:11:
Surf2_113.c: In file included from ./field.h:1:
Surf2_113.c: In file included from ./mpfq_2_113.h:5:
Surf2_113.c: ./x86_64/mpfq_2_113.h:714:14: error: use of unknown builtin '__builtin_ia32_pslldqi128' [-Wimplicit-function-declaration]
Surf2_113.c: 714 | r.s = t0 ^ SHLD(t1, 64);
Surf2_113.c: | ^
Surf2_113.c: ./x86_64/mpfq_2_113.h:571:25: note: expanded from macro 'SHLD'
Surf2_113.c: 571 | #define SHLD(x,r) (v2di)__builtin_ia32_pslldqi128 ((gcc43bugfix) (x),(r))
Surf2_113.c: | ^
Surf2_113.c: ./x86_64/mpfq_2_113.h:714:14: error: invalid conversion between vector type 'v2di' (vector of 2 'uint64_t' values) and integer type 'int' of different size
Surf2_113.c: 714 | r.s = t0 ^ SHLD(t1, 64);
Surf2_113.c: | ^~~~~~~~~~~~
Surf2_113.c: ./x86_64/mpfq_2_113.h:571:19: note: expanded from macro 'SHLD'
Surf2_113.c: 571 | #define SHLD(x,r) (v2di)__builtin_ia32_pslldqi128 ((gcc43bugfix) (x),(r))
Surf2_113.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Surf2_113.c: ./x86_64/mpfq_2_113.h:721:14: error: use of unknown builtin '__builtin_ia32_psrldqi128' [-Wimplicit-function-declaration]
Surf2_113.c: 721 | r.s = t2 ^ SHRD(t1, 64);
Surf2_113.c: | ^
Surf2_113.c: ./x86_64/mpfq_2_113.h:572:25: note: expanded from macro 'SHRD'
Surf2_113.c: 572 | #define SHRD(x,r) (v2di)__builtin_ia32_psrldqi128 ((gcc43bugfix) (x),(r))
Surf2_113.c: | ^
Surf2_113.c: ./x86_64/mpfq_2_113.h:721:14: error: invalid conversion between vector type 'v2di' (vector of 2 'uint64_t' values) and integer type 'int' of different size
Surf2_113.c: 721 | r.s = t2 ^ SHRD(t1, 64);
Surf2_113.c: | ^~~~~~~~~~~~
Surf2_113.c: ./x86_64/mpfq_2_113.h:572:19: note: expanded from macro 'SHRD'
Surf2_113.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 (Debian_Clang_19.1.7_(3+b1)) |
T:mpfq | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
T:mpfq | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
T:mpfq | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
T:mpfq | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
Compiler output
keysharing.c: keysharing.c: In function 'crypto_dh_surf2113_mpfq_timingleaks_keypair':
keysharing.c: keysharing.c:107:3: warning: 'K' is used uninitialized [-Wuninitialized]
keysharing.c: 107 | KSinit(K, base_point);
keysharing.c: | ^~~~~~~~~~~~~~~~~~~~~
keysharing.c: keysharing.c:97:10: note: 'K' was declared here
keysharing.c: 97 | Kfield K;
keysharing.c: | ^
keysharing.c: keysharing.c: In function 'crypto_dh_surf2113_mpfq_timingleaks':
keysharing.c: keysharing.c:161:3: warning: 'K' is used uninitialized [-Wuninitialized]
keysharing.c: 161 | KSinit(K, base_point);
keysharing.c: | ^~~~~~~~~~~~~~~~~~~~~
keysharing.c: keysharing.c:155:10: note: 'K' was declared here
keysharing.c: 155 | Kfield K;
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 (14.2.0) |
T:mpfq | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:mpfq | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:mpfq | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Namespace violations
Surf2_113.o KSclear T
Surf2_113.o KSinit T
Surf2_113.o KSmul T
Surf2_113.o KSprint T
keysharing.o StandardKS T
mpfq_2_113.o mpfq_2_113_print T
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:mpfq | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:mpfq | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:mpfq | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:mpfq | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |