Test results for amd64, h9ivy, crypto_kem/mceliece6960119f

[Page version: 20261023 01:58:36]

Measurements for amd64, h9ivy, crypto_kem Test results for amd64, h9ivy, crypto_kem Test results for crypto_kem/mceliece6960119f
Computer: h9ivy
Microarchitecture: amd64; Ivy Bridge+AES (306a9)
Architecture: amd64
CPU ID: GenuineIntel-000306a9-bfebfbff
SUPERCOP version: 20261004
Operation: crypto_kem
Primitive: mceliece6960119f
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
746950130559 0 0210560 1328 2328sseclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
753327112824 0 0193400 1328 2328sseclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
768030139562 0 0221202 1304 2392ssegcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
79699984456 0 0164394 1304 2392ssegcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
81219177859 0 0155586 1320 2328sseclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
83567285091 0 0162808 1328 2328sseclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
189504085167 0 0168768 1328 2328vecclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
202697193131 0 0176384 1328 2328vecclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
217044376277 0 0160840 1328 2328vecclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
241873289284 0 0173050 1304 2392vecgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
278584948233 0 0129920 1336 2328vecclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
306313452557 0 0134698 1304 2392vecgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
399878047082 0 0127642 1328 2328vecclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
415449549898 0 0131938 1304 2392vecgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
425229538437 0 0118702 1296 2360vecgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
4651671079088 0 0158514 1304 2392ssegcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
4655205173041 0 0150718 1296 2360ssegcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
33574498737701 0 0119764 1312 2392refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
34720956736525 0 0119218 1336 2328refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
34838081366517 0 0148610 1336 2328refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
34881947949001 0 0130986 1336 2328refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
45379253017430 0 096284 1328 2328refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
49336218415819 0 095562 1336 2328refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
51726140112229 0 090464 1304 2360refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
51838570317662 0 098196 1312 2392refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101720261004
54527184216222 0 096146 1304 2392refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101720261004

Compiler output


bm.c: bm.c:62:2: error: always_inline function '_mm256_slli_epi64' requires target feature 'avx2', but would be inlined into function 'interleave' that is compiled without support for 'avx2'
bm.c:    62 |         vec256_sll_4x(vec256_and(in[idx1], mask[0]), s));
bm.c:       |         ^
bm.c: ./vec256.h:87:39: note: expanded from macro 'vec256_sll_4x'
bm.c:    87 | #define vec256_sll_4x(a, s) ((vec256) _mm256_slli_epi64((vec256) (a), (s)))
bm.c:       |                                       ^
bm.c: bm.c:64:16: error: always_inline function '_mm256_srli_epi64' requires target feature 'avx2', but would be inlined into function 'interleave' that is compiled without support for 'avx2'
bm.c:    64 |         y = vec256_or(vec256_srl_4x(vec256_and(in[idx0], mask[1]), s),
bm.c:       |                       ^
bm.c: ./vec256.h:88:39: note: expanded from macro 'vec256_srl_4x'
bm.c:    88 | #define vec256_srl_4x(a, s) ((vec256) _mm256_srli_epi64((vec256) (a), (s)))
bm.c:       |                                       ^
bm.c: ./vec256.h:84:9: error: always_inline function '_mm256_or_si256' requires target feature 'avx2', but would be inlined into function 'vec256_or' that is compiled without support for 'avx2'
bm.c:    84 |         return _mm256_or_si256(a, b);
bm.c:       |                ^
bm.c: ./vec256.h:74:9: error: always_inline function '_mm256_and_si256' requires target feature 'avx2', but would be inlined into function 'vec256_and' that is compiled without support for 'avx2'
bm.c:    74 |         return _mm256_and_si256(a, b);
bm.c:       |                ^
bm.c: 4 errors generated.

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

Compiler output


bm.c: bm.c:81:37: warning: AVX vector return of type 'vec256' (aka '__m256i') without 'avx' enabled changes the ABI [-Wpsabi]
bm.c:    81 |         for (i = 13; i < 16; i++) buf[i] = vec256_setzero();
bm.c:       |                                            ^
bm.c: bm.c:83:15: warning: AVX vector return of type 'vec256' (aka '__m256i') without 'avx' enabled changes the ABI [-Wpsabi]
bm.c:    83 |         mask[0][0] = vec256_set1_16b(0x5555);
bm.c:       |                      ^
bm.c: bm.c:84:15: warning: AVX vector return of type 'vec256' (aka '__m256i') without 'avx' enabled changes the ABI [-Wpsabi]
bm.c:    84 |         mask[0][1] = vec256_set1_16b(0xAAAA);
bm.c:       |                      ^
bm.c: bm.c:85:15: warning: AVX vector return of type 'vec256' (aka '__m256i') without 'avx' enabled changes the ABI [-Wpsabi]
bm.c:    85 |         mask[1][0] = vec256_set1_16b(0x3333);
bm.c:       |                      ^
bm.c: bm.c:86:15: warning: AVX vector return of type 'vec256' (aka '__m256i') without 'avx' enabled changes the ABI [-Wpsabi]
bm.c:    86 |         mask[1][1] = vec256_set1_16b(0xCCCC);
bm.c:       |                      ^
bm.c: bm.c:87:15: warning: AVX vector return of type 'vec256' (aka '__m256i') without 'avx' enabled changes the ABI [-Wpsabi]
bm.c:    87 |         mask[2][0] = vec256_set1_16b(0x0F0F);
bm.c:       |                      ^
bm.c: bm.c:88:15: warning: AVX vector return of type 'vec256' (aka '__m256i') without 'avx' enabled changes the ABI [-Wpsabi]
bm.c:    88 |         mask[2][1] = vec256_set1_16b(0xF0F0);
bm.c:       |                      ^
bm.c: bm.c:89:15: warning: AVX vector return of type 'vec256' (aka '__m256i') without 'avx' enabled changes the ABI [-Wpsabi]
bm.c:    89 |         mask[3][0] = vec256_set1_16b(0x00FF);
bm.c:       |                      ^
bm.c: bm.c:90:15: warning: AVX vector return of type 'vec256' (aka '__m256i') without 'avx' enabled changes the ABI [-Wpsabi]
bm.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+b1))

Compiler output


bm.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/14/include/immintrin.h:53,
bm.c:                  from vec256.h:9,
bm.c:                  from bm.h:12,
bm.c:                  from bm.c:24:
bm.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/avx2intrin.h: In function 'vec256_and':
bm.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/avx2intrin.h:179:1: error: inlining failed in call to 'always_inline' '_mm256_and_si256': target specific option mismatch
bm.c:   179 | _mm256_and_si256 (__m256i __A, __m256i __B)
bm.c:       | ^~~~~~~~~~~~~~~~
bm.c: vec256.h:74:16: note: called from here
bm.c:    74 |         return _mm256_and_si256(a, b);
bm.c:       |                ^~~~~~~~~~~~~~~~~~~~~~

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
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 (14.2.0)
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)

Compiler output


decrypt.c: In file included from decrypt.c:10:
decrypt.c: In file included from ./vec128_gf.h:11:
decrypt.c: ./vec128.h:33:9: error: always_inline function '_mm_testz_si128' requires target feature 'sse4.1', but would be inlined into function 'vec128_testz' that is compiled without support for 'sse4.1'
decrypt.c:    33 |         return _mm_testz_si128(a, a);
decrypt.c:       |                ^
decrypt.c: 1 error generated.

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

TIMECOP error (can be valgrind bug)


error 99
984c5f07cb7330aff337531b04e92c3b925de6e5f2a965b0349c27ba2036d4b4 342108067 87732468525 3100000000 crypto_kem/mceliece6960119f/sse +0
Use of uninitialised value of size 1
   at 0x...: gen_e (encrypt.c:93)
   by 0x...: crypto_kem_mceliece6960119f_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6960119f_sse_constbranchindex_operation_enc (kem_enc.c:49)
   by 0x...: test (try.c:141)
   by 0x...: main (try-anything.c:344)

Use of uninitialised value of size 1
   at 0x...: gen_e (encrypt.c:93)
   by 0x...: crypto_kem_mceliece6960119f_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6960119f_sse_constbranchindex_operation_enc (kem_enc.c:49)
   by 0x...: doit (try.c:112)
   by 0x...: main (try-anything.c:356)

Use of uninitialised value of size 1
   at 0x...: gen_e (encrypt.c:93)
   by 0x...: crypto_kem_mceliece6960119f_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6960119f_sse_constbranchindex_operation_enc (kem_enc.c:49)
   by 0x...: doit (try.c:112)
   by 0x...: main (try-anything.c:356)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
sseclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))

TIMECOP error (can be valgrind bug)


error 99
984c5f07cb7330aff337531b04e92c3b925de6e5f2a965b0349c27ba2036d4b4 344640358 101786162817 3100000000 crypto_kem/mceliece6960119f/sse +0
Use of uninitialised value of size 1
   at 0x...: gen_e (encrypt.c:93)
   by 0x...: crypto_kem_mceliece6960119f_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6960119f_sse_constbranchindex_operation_enc (kem_enc.c:49)
   by 0x...: test (try.c:141)
   by 0x...: main (try-anything.c:344)

Use of uninitialised value of size 1
   at 0x...: gen_e (encrypt.c:93)
   by 0x...: crypto_kem_mceliece6960119f_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6960119f_sse_constbranchindex_operation_enc (kem_enc.c:49)
   by 0x...: doit (try.c:112)
   by 0x...: main (try-anything.c:356)

Use of uninitialised value of size 1
   at 0x...: gen_e (encrypt.c:93)
   by 0x...: crypto_kem_mceliece6960119f_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6960119f_sse_constbranchindex_operation_enc (kem_enc.c:49)
   by 0x...: doit (try.c:112)
   by 0x...: main (try-anything.c:356)

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

Passed TIMECOP


TIMECOP iterations: 1

Number of similar (implementation,compiler) pairs: 24, namely:
ImplementationCompiler
refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
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 (14.2.0)
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)
sseclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
sseclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
ssegcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
ssegcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
ssegcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
ssegcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
vecclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
vecclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
vecclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
vecclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
vecclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
vecgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
vecgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
vecgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
vecgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)