Test results for amd64, like, crypto_core/invsntrup761

[Page version: 20250420 15:13:24]

Measurements for amd64, like, crypto_core Test results for amd64, like, crypto_core Test results for crypto_core/invsntrup761
Computer: like
Microarchitecture: amd64; Coffee Lake (806ea)
Architecture: amd64
CPU ID: GenuineIntel-000806ea-bfebfbff
SUPERCOP version: 20250415
Operation: crypto_core
Primitive: invsntrup761
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
579532236573 0 0246597 820 1032jumpdivstepsclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
590095211487 0 0224046 812 1032jumpdivstepsclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
591216249999 0 0259973 820 1032jumpdivstepsclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
595998241028 0 0246293 820 936jumpdivstepsclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
605735251608 0 0265708 780 1000jumpdivstepsgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
615888262703 0 0274884 780 1000jumpdivstepsgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
6921313411 0 019573 820 1032avxclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
6964384411 0 020493 820 1032avxclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
717744265364 0 0277732 780 1000jumpdivstepsgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
7396041666 0 013484 780 1000avxgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
7432391703 0 013157 820 936avxclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
7542271369 0 011931 764 968avxgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
7611581737 0 013499 772 1000avxgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
7754061580 0 013942 812 1032avxclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
787113203677 0 0214707 764 968jumpdivstepsgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
8111984155 0 017940 780 1000avxgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
11572147325 0 021140 780 1000portablegcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
34837106297 0 022445 820 1032portableclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
34930927305 0 023405 820 1032portableclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
77730425055 0 021215 828 1032refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
81120364015 0 020255 828 1032refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
81225473954 0 017774 788 1000refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
87448736051 0 023965 820 936portableclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
151968821742 0 014110 812 1032portableclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
153136081811 0 013237 820 936portableclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
160434491766 0 013612 780 1000portablegcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
175783151720 0 013515 772 1000portablegcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
201032953801 0 021791 828 936refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
300659221000 0 012870 788 1000refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
323498731179 0 012679 828 936refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
323828561049 0 013488 820 1032refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
353034271080 0 012819 772 1000refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
37239327857 0 011461 772 968refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025041720250415
382262061400 0 011963 764 968portablegcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025041720250415

Compiler output


recip.c: recip.c:73:19: error: always_inline function '_mm256_set1_epi16' requires target feature 'avx', but would be inlined into function 'vectormodq_swapeliminate' that is compiled without support for 'avx'
recip.c:    73 |   __m256i f0vec = _mm256_set1_epi16(f0);
recip.c:       |                   ^
recip.c: recip.c:73:19: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
recip.c: recip.c:74:19: error: always_inline function '_mm256_set1_epi16' requires target feature 'avx', but would be inlined into function 'vectormodq_swapeliminate' that is compiled without support for 'avx'
recip.c:    74 |   __m256i g0vec = _mm256_set1_epi16(g0);
recip.c:       |                   ^
recip.c: recip.c:74:19: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
recip.c: recip.c:75:48: error: always_inline function '_mm256_set1_epi16' requires target feature 'avx', but would be inlined into function 'vectormodq_swapeliminate' that is compiled without support for 'avx'
recip.c:    75 |   __m256i f0vecqinv = _mm256_mullo_epi16(f0vec,qinvvec);
recip.c:       |                                                ^
recip.c: recip.c:59:17: note: expanded from macro 'qinvvec'
recip.c:    59 | #define qinvvec _mm256_set1_epi16(qinv)
recip.c:       |                 ^
recip.c: recip.c:75:48: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
recip.c: recip.c:59:17: note: expanded from macro 'qinvvec'
recip.c:    59 | #define qinvvec _mm256_set1_epi16(qinv)
recip.c:       |                 ^
recip.c: recip.c:75:23: error: always_inline function '_mm256_mullo_epi16' requires target feature 'avx2', but would be inlined into function 'vectormodq_swapeliminate' that is compiled without support for 'avx2'
recip.c:    75 |   __m256i f0vecqinv = _mm256_mullo_epi16(f0vec,qinvvec);
recip.c:       |                       ^
recip.c: recip.c:75:23: error: AVX vector argument of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
recip.c: recip.c:76:48: error: always_inline function '_mm256_set1_epi16' requires target feature 'avx', but would be inlined into function 'vectormodq_swapeliminate' that is compiled without support for 'avx'
recip.c:    76 |   __m256i g0vecqinv = _mm256_mullo_epi16(g0vec,qinvvec);
recip.c:       |                                                ^
recip.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
avxclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3))

Compiler output


avx-768.c: avx-768.c:586:35: warning: unused variable 'h0' [-Wunused-variable]
avx-768.c:   586 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx-768.c:       |                                   ^~
avx-768.c: avx-768.c:586:41: warning: unused variable 'h2' [-Wunused-variable]
avx-768.c:   586 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx-768.c:       |                                         ^~
avx-768.c: avx-768.c:586:44: warning: unused variable 'h3' [-Wunused-variable]
avx-768.c:   586 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx-768.c:       |                                            ^~
avx-768.c: avx-768.c:716:35: warning: unused variable 'h0' [-Wunused-variable]
avx-768.c:   716 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx-768.c:       |                                   ^~
avx-768.c: avx-768.c:716:38: warning: unused variable 'h1' [-Wunused-variable]
avx-768.c:   716 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx-768.c:       |                                      ^~
avx-768.c: avx-768.c:716:41: warning: unused variable 'h2' [-Wunused-variable]
avx-768.c:   716 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx-768.c:       |                                         ^~
avx-768.c: avx-768.c:716:44: warning: unused variable 'h3' [-Wunused-variable]
avx-768.c:   716 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx-768.c:       |                                            ^~
avx-768.c: avx-768.c:847:35: warning: unused variable 'h0' [-Wunused-variable]
avx-768.c:   847 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx-768.c:       |                                   ^~
avx-768.c: avx-768.c:847:38: warning: unused variable 'h1' [-Wunused-variable]
avx-768.c: ...
avx.c: avx.c:23:21: warning: unused function 'mullo' [-Wunused-function]
avx.c:    23 | static inline int16 mullo(int16 x,int16 y)
avx.c:       |                     ^~~~~
avx.c: avx.c:28:21: warning: unused function 'mulhi' [-Wunused-function]
avx.c:    28 | static inline int16 mulhi(int16 x,int16 y)
avx.c:       |                     ^~~~~
avx.c: avx.c:33:21: warning: unused function 'mulhrs' [-Wunused-function]
avx.c:    33 | static inline int16 mulhrs(int16 x,int16 y)
avx.c:       |                     ^~~~~~
avx.c: 3 warnings generated.
avx3-512.c: avx3-512.c:935:35: warning: unused variable 'h0' [-Wunused-variable]
avx3-512.c:   935 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx3-512.c:       |                                   ^~
avx3-512.c: avx3-512.c:935:38: warning: unused variable 'h1' [-Wunused-variable]
avx3-512.c:   935 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx3-512.c:       |                                      ^~
avx3-512.c: avx3-512.c:935:41: warning: unused variable 'h2' [-Wunused-variable]
avx3-512.c:   935 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx3-512.c:       |                                         ^~
avx3-512.c: avx3-512.c:935:44: warning: unused variable 'h3' [-Wunused-variable]
avx3-512.c:   935 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx3-512.c:       |                                            ^~
avx3-512.c: avx3-512.c:978:35: warning: unused variable 'h0' [-Wunused-variable]
avx3-512.c:   978 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx3-512.c:       |                                   ^~
avx3-512.c: avx3-512.c:978:38: warning: unused variable 'h1' [-Wunused-variable]
avx3-512.c:   978 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx3-512.c:       |                                      ^~
avx3-512.c: avx3-512.c:978:41: warning: unused variable 'h2' [-Wunused-variable]
avx3-512.c:   978 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx3-512.c:       |                                         ^~
avx3-512.c: avx3-512.c:978:44: warning: unused variable 'h3' [-Wunused-variable]
avx3-512.c:   978 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx3-512.c:       |                                            ^~
avx3-512.c: avx3-512.c:1055:35: warning: unused variable 'h0' [-Wunused-variable]
avx3-512.c: ...
jump32divsteps.c: jump32divsteps.c:14:8: warning: unused variable 'f0' [-Wunused-variable]
jump32divsteps.c:    14 |   modq f0, g0;
jump32divsteps.c:       |        ^~
jump32divsteps.c: jump32divsteps.c:14:12: warning: unused variable 'g0' [-Wunused-variable]
jump32divsteps.c:    14 |   modq f0, g0;
jump32divsteps.c:       |            ^~
jump32divsteps.c: jump32divsteps.c:18:25: warning: unused variable 'mask' [-Wunused-variable]
jump32divsteps.c:    18 |   __m256i minusdelta_v, mask, temp, gx, ux, uy, vx, vy, qx, rx;
jump32divsteps.c:       |                         ^~~~
jump32divsteps.c: jump32divsteps.c:18:37: warning: unused variable 'gx' [-Wunused-variable]
jump32divsteps.c:    18 |   __m256i minusdelta_v, mask, temp, gx, ux, uy, vx, vy, qx, rx;
jump32divsteps.c:       |                                     ^~
jump32divsteps.c: jump32divsteps.c:18:45: warning: unused variable 'uy' [-Wunused-variable]
jump32divsteps.c:    18 |   __m256i minusdelta_v, mask, temp, gx, ux, uy, vx, vy, qx, rx;
jump32divsteps.c:       |                                             ^~
jump32divsteps.c: jump32divsteps.c:18:53: warning: unused variable 'vy' [-Wunused-variable]
jump32divsteps.c:    18 |   __m256i minusdelta_v, mask, temp, gx, ux, uy, vx, vy, qx, rx;
jump32divsteps.c:       |                                                     ^~
jump32divsteps.c: jump32divsteps.c:21:11: warning: unused variable 'delta_v' [-Wunused-variable]
jump32divsteps.c:    21 |   __m256i delta_v = _mm256_set1_epi16((int16_t)delta);
jump32divsteps.c:       |           ^~~~~~~
jump32divsteps.c: jump32divsteps.c:115:25: warning: unused variable 'mask' [-Wunused-variable]
jump32divsteps.c:   115 |   __m256i minusdelta_v, mask, temp, gx, ux, uy, vx, vy, qx, rx;
jump32divsteps.c:       |                         ^~~~
jump32divsteps.c: jump32divsteps.c:115:37: warning: unused variable 'gx' [-Wunused-variable]
jump32divsteps.c: ...
jumpNdivsteps.c: jumpNdivsteps.c:23:11: warning: unused variable 'mask' [-Wunused-variable]
jumpNdivsteps.c:    23 |   __m256i mask, mask1, temp;
jumpNdivsteps.c:       |           ^~~~
jumpNdivsteps.c: jumpNdivsteps.c:23:17: warning: unused variable 'mask1' [-Wunused-variable]
jumpNdivsteps.c:    23 |   __m256i mask, mask1, temp;
jumpNdivsteps.c:       |                 ^~~~~
jumpNdivsteps.c: jumpNdivsteps.c:23:24: warning: unused variable 'temp' [-Wunused-variable]
jumpNdivsteps.c:    23 |   __m256i mask, mask1, temp;
jumpNdivsteps.c:       |                        ^~~~
jumpNdivsteps.c: jumpNdivsteps.c:61:11: warning: unused variable 'mask' [-Wunused-variable]
jumpNdivsteps.c:    61 |   __m256i mask,mask1,temp;
jumpNdivsteps.c:       |           ^~~~
jumpNdivsteps.c: jumpNdivsteps.c:61:16: warning: unused variable 'mask1' [-Wunused-variable]
jumpNdivsteps.c:    61 |   __m256i mask,mask1,temp;
jumpNdivsteps.c:       |                ^~~~~
jumpNdivsteps.c: jumpNdivsteps.c:61:22: warning: unused variable 'temp' [-Wunused-variable]
jumpNdivsteps.c:    61 |   __m256i mask,mask1,temp;
jumpNdivsteps.c:       |                      ^~~~
jumpNdivsteps.c: jumpNdivsteps.c:62:7: warning: unused variable 'i' [-Wunused-variable]
jumpNdivsteps.c:    62 |   int i;
jumpNdivsteps.c:       |       ^
jumpNdivsteps.c: jumpNdivsteps.c:133:11: warning: unused variable 'mask' [-Wunused-variable]
jumpNdivsteps.c:   133 |   __m256i mask, mask1, temp;
jumpNdivsteps.c:       |           ^~~~
jumpNdivsteps.c: jumpNdivsteps.c:133:17: warning: unused variable 'mask1' [-Wunused-variable]
jumpNdivsteps.c: ...
polymul_ntt.c: In file included from polymul_ntt.c:12:
polymul_ntt.c: ./crt3modq.h:158:12: warning: unused function 'crt3__inside' [-Wunused-function]
polymul_ntt.c:   158 | static int crt3__inside(short u1, short u2, short u3) {
polymul_ntt.c:       |            ^~~~~~~~~~~~
polymul_ntt.c: polymul_ntt.c:166:13: warning: unused function 'polymulntt512_256x256_test' [-Wunused-function]
polymul_ntt.c:   166 | static void polymulntt512_256x256_test(__m256i *h, __m256i *f, __m256i *g)
polymul_ntt.c:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
polymul_ntt.c: polymul_ntt.c:324:13: warning: unused function 'polymulntt768_256x256_test' [-Wunused-function]
polymul_ntt.c:   324 | static void polymulntt768_256x256_test(__m256i *h, __m256i *f, __m256i *g)
polymul_ntt.c:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
polymul_ntt.c: 3 warnings generated.

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
jumpdivstepsclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
jumpdivstepsclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3))
jumpdivstepsclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3))
jumpdivstepsclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


avx-768.c: avx-768.c:544:36: error: invalid output size for constraint '+x'
avx-768.c:   544 |   __asm__("vpsubw %1,%0,%0" : "+x"(a),"+x"(b));
avx-768.c:       |                                    ^
avx-768.c: avx-768.c:550:36: error: invalid output size for constraint '+x'
avx-768.c:   550 |   __asm__("vpaddw %1,%0,%0" : "+x"(a),"+x"(b));
avx-768.c:       |                                    ^
avx-768.c: avx-768.c:586:35: warning: unused variable 'h0' [-Wunused-variable]
avx-768.c:   586 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx-768.c:       |                                   ^~
avx-768.c: avx-768.c:586:41: warning: unused variable 'h2' [-Wunused-variable]
avx-768.c:   586 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx-768.c:       |                                         ^~
avx-768.c: avx-768.c:586:44: warning: unused variable 'h3' [-Wunused-variable]
avx-768.c:   586 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx-768.c:       |                                            ^~
avx-768.c: avx-768.c:716:35: warning: unused variable 'h0' [-Wunused-variable]
avx-768.c:   716 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx-768.c:       |                                   ^~
avx-768.c: avx-768.c:716:38: warning: unused variable 'h1' [-Wunused-variable]
avx-768.c:   716 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx-768.c:       |                                      ^~
avx-768.c: avx-768.c:716:41: warning: unused variable 'h2' [-Wunused-variable]
avx-768.c:   716 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx-768.c:       |                                         ^~
avx-768.c: avx-768.c:716:44: warning: unused variable 'h3' [-Wunused-variable]
avx-768.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
jumpdivstepsclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3))

Compiler output


avx-768.c: avx-768.c: In function 'ntt64':
avx-768.c: avx-768.c:586:44: warning: unused variable 'h3' [-Wunused-variable]
avx-768.c:   586 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx-768.c:       |                                            ^~
avx-768.c: avx-768.c:586:41: warning: unused variable 'h2' [-Wunused-variable]
avx-768.c:   586 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx-768.c:       |                                         ^~
avx-768.c: avx-768.c:586:35: warning: unused variable 'h0' [-Wunused-variable]
avx-768.c:   586 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx-768.c:       |                                   ^~
avx-768.c: avx-768.c: In function 'invntt64':
avx-768.c: avx-768.c:716:44: warning: unused variable 'h3' [-Wunused-variable]
avx-768.c:   716 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx-768.c:       |                                            ^~
avx-768.c: avx-768.c:716:41: warning: unused variable 'h2' [-Wunused-variable]
avx-768.c:   716 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx-768.c:       |                                         ^~
avx-768.c: avx-768.c:716:38: warning: unused variable 'h1' [-Wunused-variable]
avx-768.c:   716 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx-768.c:       |                                      ^~
avx-768.c: avx-768.c:716:35: warning: unused variable 'h0' [-Wunused-variable]
avx-768.c:   716 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx-768.c:       |                                   ^~
avx-768.c: avx-768.c: In function 'ntt256':
avx-768.c: avx-768.c:847:44: warning: unused variable 'h3' [-Wunused-variable]
avx-768.c: ...
avx.c: avx.c:106:42: warning: argument 1 of type 'int16x16[1]' {aka '__m256i[1]'} with mismatched bound [-Warray-parameter=]
avx.c:   106 | inline void mult1_over65536_x16(int16x16 h[1],const int16x16 f[1],const int16x16 g[1])
avx.c:       |                                 ~~~~~~~~~^~~~
avx.c: In file included from avx.c:5:
avx.c: avx.h:43:33: note: previously declared as 'int16x16 *' {aka '__m256i *'}
avx.c:    43 | extern void mult1_over65536_x16(int16x16 *,const int16x16 *,const int16x16 *);
avx.c:       |                                 ^~~~~~~~~~
avx.c: avx.c:106:62: warning: argument 2 of type 'const int16x16[1]' {aka 'const __m256i[1]'} with mismatched bound [-Warray-parameter=]
avx.c:   106 | inline void mult1_over65536_x16(int16x16 h[1],const int16x16 f[1],const int16x16 g[1])
avx.c:       |                                               ~~~~~~~~~~~~~~~^~~~
avx.c: avx.h:43:44: note: previously declared as 'const int16x16 *' {aka 'const __m256i *'}
avx.c:    43 | extern void mult1_over65536_x16(int16x16 *,const int16x16 *,const int16x16 *);
avx.c:       |                                            ^~~~~~~~~~~~~~~~
avx.c: avx.c:106:82: warning: argument 3 of type 'const int16x16[1]' {aka 'const __m256i[1]'} with mismatched bound [-Warray-parameter=]
avx.c:   106 | inline void mult1_over65536_x16(int16x16 h[1],const int16x16 f[1],const int16x16 g[1])
avx.c:       |                                                                   ~~~~~~~~~~~~~~~^~~~
avx.c: avx.h:43:61: note: previously declared as 'const int16x16 *' {aka 'const __m256i *'}
avx.c:    43 | extern void mult1_over65536_x16(int16x16 *,const int16x16 *,const int16x16 *);
avx.c:       |                                                             ^~~~~~~~~~~~~~~~
avx.c: avx.c:128:42: warning: argument 1 of type 'int16x16[3]' {aka '__m256i[3]'} with mismatched bound [-Warray-parameter=]
avx.c:   128 | inline void mult2_over65536_x16(int16x16 h[3],const int16x16 f[2],const int16x16 g[2])
avx.c:       |                                 ~~~~~~~~~^~~~
avx.c: avx.h:44:33: note: previously declared as 'int16x16 *' {aka '__m256i *'}
avx.c:    44 | extern void mult2_over65536_x16(int16x16 *,const int16x16 *,const int16x16 *);
avx.c:       |                                 ^~~~~~~~~~
avx.c: ...
avx3-512.c: avx3-512.c: In function 'ntt512':
avx3-512.c: avx3-512.c:935:44: warning: unused variable 'h3' [-Wunused-variable]
avx3-512.c:   935 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx3-512.c:       |                                            ^~
avx3-512.c: avx3-512.c:935:41: warning: unused variable 'h2' [-Wunused-variable]
avx3-512.c:   935 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx3-512.c:       |                                         ^~
avx3-512.c: avx3-512.c:935:38: warning: unused variable 'h1' [-Wunused-variable]
avx3-512.c:   935 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx3-512.c:       |                                      ^~
avx3-512.c: avx3-512.c:935:35: warning: unused variable 'h0' [-Wunused-variable]
avx3-512.c:   935 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx3-512.c:       |                                   ^~
avx3-512.c: avx3-512.c: In function 'ntt512_256':
avx3-512.c: avx3-512.c:978:44: warning: unused variable 'h3' [-Wunused-variable]
avx3-512.c:   978 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx3-512.c:       |                                            ^~
avx3-512.c: avx3-512.c:978:41: warning: unused variable 'h2' [-Wunused-variable]
avx3-512.c:   978 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx3-512.c:       |                                         ^~
avx3-512.c: avx3-512.c:978:38: warning: unused variable 'h1' [-Wunused-variable]
avx3-512.c:   978 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx3-512.c:       |                                      ^~
avx3-512.c: avx3-512.c:978:35: warning: unused variable 'h0' [-Wunused-variable]
avx3-512.c:   978 |   __m256i f0,f1,f2,f3,g0,g1,g2,g3,h0,h1,h2,h3;
avx3-512.c: ...
jump32divsteps.c: jump32divsteps.c: In function 'crypto_core_invsntrup761_jumpdivsteps_constbranchindex_jump32divsteps':
jump32divsteps.c: jump32divsteps.c:21:11: warning: unused variable 'delta_v' [-Wunused-variable]
jump32divsteps.c:    21 |   __m256i delta_v = _mm256_set1_epi16((int16_t)delta);
jump32divsteps.c:       |           ^~~~~~~
jump32divsteps.c: jump32divsteps.c:18:53: warning: unused variable 'vy' [-Wunused-variable]
jump32divsteps.c:    18 |   __m256i minusdelta_v, mask, temp, gx, ux, uy, vx, vy, qx, rx;
jump32divsteps.c:       |                                                     ^~
jump32divsteps.c: jump32divsteps.c:18:45: warning: unused variable 'uy' [-Wunused-variable]
jump32divsteps.c:    18 |   __m256i minusdelta_v, mask, temp, gx, ux, uy, vx, vy, qx, rx;
jump32divsteps.c:       |                                             ^~
jump32divsteps.c: jump32divsteps.c:18:37: warning: unused variable 'gx' [-Wunused-variable]
jump32divsteps.c:    18 |   __m256i minusdelta_v, mask, temp, gx, ux, uy, vx, vy, qx, rx;
jump32divsteps.c:       |                                     ^~
jump32divsteps.c: jump32divsteps.c:18:25: warning: unused variable 'mask' [-Wunused-variable]
jump32divsteps.c:    18 |   __m256i minusdelta_v, mask, temp, gx, ux, uy, vx, vy, qx, rx;
jump32divsteps.c:       |                         ^~~~
jump32divsteps.c: jump32divsteps.c:14:12: warning: unused variable 'g0' [-Wunused-variable]
jump32divsteps.c:    14 |   modq f0, g0;
jump32divsteps.c:       |            ^~
jump32divsteps.c: jump32divsteps.c:14:8: warning: unused variable 'f0' [-Wunused-variable]
jump32divsteps.c:    14 |   modq f0, g0;
jump32divsteps.c:       |        ^~
jump32divsteps.c: jump32divsteps.c: In function 'crypto_core_invsntrup761_jumpdivsteps_constbranchindex_jump32xdivsteps':
jump32divsteps.c: jump32divsteps.c:115:53: warning: unused variable 'vy' [-Wunused-variable]
jump32divsteps.c:   115 |   __m256i minusdelta_v, mask, temp, gx, ux, uy, vx, vy, qx, rx;
jump32divsteps.c: ...
jumpNdivsteps.c: jumpNdivsteps.c: In function 'crypto_core_invsntrup761_jumpdivsteps_constbranchindex_jump64divsteps':
jumpNdivsteps.c: jumpNdivsteps.c:23:24: warning: unused variable 'temp' [-Wunused-variable]
jumpNdivsteps.c:    23 |   __m256i mask, mask1, temp;
jumpNdivsteps.c:       |                        ^~~~
jumpNdivsteps.c: jumpNdivsteps.c:23:17: warning: unused variable 'mask1' [-Wunused-variable]
jumpNdivsteps.c:    23 |   __m256i mask, mask1, temp;
jumpNdivsteps.c:       |                 ^~~~~
jumpNdivsteps.c: jumpNdivsteps.c:23:11: warning: unused variable 'mask' [-Wunused-variable]
jumpNdivsteps.c:    23 |   __m256i mask, mask1, temp;
jumpNdivsteps.c:       |           ^~~~
jumpNdivsteps.c: jumpNdivsteps.c: In function 'crypto_core_invsntrup761_jumpdivsteps_constbranchindex_jump64xdivsteps':
jumpNdivsteps.c: jumpNdivsteps.c:62:7: warning: unused variable 'i' [-Wunused-variable]
jumpNdivsteps.c:    62 |   int i;
jumpNdivsteps.c:       |       ^
jumpNdivsteps.c: jumpNdivsteps.c:61:22: warning: unused variable 'temp' [-Wunused-variable]
jumpNdivsteps.c:    61 |   __m256i mask,mask1,temp;
jumpNdivsteps.c:       |                      ^~~~
jumpNdivsteps.c: jumpNdivsteps.c:61:16: warning: unused variable 'mask1' [-Wunused-variable]
jumpNdivsteps.c:    61 |   __m256i mask,mask1,temp;
jumpNdivsteps.c:       |                ^~~~~
jumpNdivsteps.c: jumpNdivsteps.c:61:11: warning: unused variable 'mask' [-Wunused-variable]
jumpNdivsteps.c:    61 |   __m256i mask,mask1,temp;
jumpNdivsteps.c:       |           ^~~~
jumpNdivsteps.c: jumpNdivsteps.c: In function 'crypto_core_invsntrup761_jumpdivsteps_constbranchindex_jump128divsteps':
jumpNdivsteps.c: jumpNdivsteps.c:133:24: warning: unused variable 'temp' [-Wunused-variable]
jumpNdivsteps.c: ...
polymul_ntt.c: polymul_ntt.c:324:13: warning: 'polymulntt768_256x256_test' defined but not used [-Wunused-function]
polymul_ntt.c:   324 | static void polymulntt768_256x256_test(__m256i *h, __m256i *f, __m256i *g)
polymul_ntt.c:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
polymul_ntt.c: polymul_ntt.c:166:13: warning: 'polymulntt512_256x256_test' defined but not used [-Wunused-function]
polymul_ntt.c:   166 | static void polymulntt512_256x256_test(__m256i *h, __m256i *f, __m256i *g)
polymul_ntt.c:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
polymul_ntt.c: In file included from polymul_ntt.c:12:
polymul_ntt.c: crt3modq.h:158:12: warning: 'crt3__inside' defined but not used [-Wunused-function]
polymul_ntt.c:   158 | static int crt3__inside(short u1, short u2, short u3) {
polymul_ntt.c:       |            ^~~~~~~~~~~~

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
jumpdivstepsgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
jumpdivstepsgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
jumpdivstepsgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
jumpdivstepsgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

TIMECOP error (can be valgrind bug)


error 1
VEX temporary storage exhausted.
Pool = TEMP,  start 0x597da688 curr 0x59c81310 end 0x59c9f1c7 (size 5000000)
vex: the `impossible' happened:
VEX temporary storage exhausted.
Increase N_{TEMPORARY,PERMANENT}_BYTES and recompile.
vex storage: T total 469262840 bytes allocated
vex storage: P total 512 bytes allocated
valgrind: the 'impossible' happened:
LibVEX called failure_exit().
host stacktrace:
   at 0x...: ??? (in /usr/libexec/valgrind/memcheck-amd64-linux)
   by 0x...: ??? (in /usr/libexec/valgrind/memcheck-amd64-linux)
   by 0x...: ??? (in /usr/libexec/valgrind/memcheck-amd64-linux)
   by 0x...: ??? (in /usr/libexec/valgrind/memcheck-amd64-linux)
   by 0x...: ??? (in /usr/libexec/valgrind/memcheck-amd64-linux)
   by 0x...: ??? (in /usr/libexec/valgrind/memcheck-amd64-linux)
   by 0x...: ??? (in /usr/libexec/valgrind/memcheck-amd64-linux)
   by 0x...: ??? (in /usr/libexec/valgrind/memcheck-amd64-linux)
   by 0x...: ??? (in /usr/libexec/valgrind/memcheck-amd64-linux)
   by 0x...: ??? (in /usr/libexec/valgrind/memcheck-amd64-linux)
   by 0x...: ??? (in /usr/libexec/valgrind/memcheck-amd64-linux)
   by 0x...: ??? (in /usr/libexec/valgrind/memcheck-amd64-linux)
   by 0x...: ??? (in /usr/libexec/valgrind/memcheck-amd64-linux)
   by 0x...: ??? (in /usr/libexec/valgrind/memcheck-amd64-linux)
sched status:
running_tid=1
Thread 1: status = VgTs_Runnable (lwpid 2442301)
   at 0x...: _mm256_mullo_epi16 (avx2intrin.h:555)
   by 0x...: barrett_fake (gf4591_avx2.h:58)
   by 0x...: crypto_core_invsntrup761_jumpdivsteps_constbranchindex_gf_polymul_128x128_avx2_divR (polymul_NxN.c:431)
   by 0x...: crypto_core_invsntrup761_jumpdivsteps_constbranchindex_gf_polymul_128x128_avx2_uvqr_fg (polymul_NxN.c:537)
   by 0x...: crypto_core_invsntrup761_jumpdivsteps_constbranchindex_jump256divsteps (jumpNdivsteps.c:278)
   by 0x...: crypto_core_invsntrup761_jumpdivsteps_constbranchindex_rq_recip3 (rq_recip3_new.c:200)
   by 0x...: crypto_core_invsntrup761_jumpdivsteps_constbranchindex (wrapper.c:10)
   by 0x...: test (try.c:106)
   by 0x...: main (try-anything.c:345)
client stack range: [0x1FFEFEE000 0x1FFF000FFF] client SP: 0x1FFEFEEC60
valgrind stack range: [0x10091CF000 0x10092CEFFF] top usage: 18424 of 1048576
Note: see also the FAQ in the source distribution.
It contains workarounds to several common problems.
In particular, if Valgrind aborted or crashed after
identifying problems in your program, there's a good chance
that fixing those problems will prevent Valgrind aborting or
crashing, especially if it happened in m_mallocfree.c.
If that doesn't help, please report this bug to: www.valgrind.org
In the bug report, send all the above text, the valgrind
version, and what OS and version you are using.  Thanks.

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
jumpdivstepsgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

Passed TIMECOP


TIMECOP iterations: 1

Number of similar (implementation,compiler) pairs: 33, namely:
ImplementationCompiler
avxclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
avxclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3))
avxclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3))
avxclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
avxgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
avxgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
avxgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
avxgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
jumpdivstepsclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
jumpdivstepsclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3))
jumpdivstepsclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3))
jumpdivstepsclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
jumpdivstepsgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
jumpdivstepsgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
jumpdivstepsgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
portableclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
portableclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3))
portableclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3))
portableclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
portableclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3))
portablegcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
portablegcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
portablegcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
portablegcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3))
refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3))
refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3))
refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)