Test results for amd64, h9ivy, crypto_kem/mceliece6688128

[Page version: 20260919 18:56:10]

Measurements for amd64, h9ivy, crypto_kem Test results for amd64, h9ivy, crypto_kem Test results for crypto_kem/mceliece6688128
Computer: h9ivy
Microarchitecture: amd64; Ivy Bridge+AES (306a9)
Architecture: amd64
CPU ID: GenuineIntel-000306a9-bfebfbff
SUPERCOP version: 20260831
Operation: crypto_kem
Primitive: mceliece6688128
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
754229137025 0 0216575 1312 2328sseclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
754544119248 0 0199287 1312 2328sseclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
760948147805 0 0228962 1288 2392ssegcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
80988295626 0 0175026 1288 2392ssegcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
82449787841 0 0165025 1304 2328sseclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
84011794668 0 0171959 1312 2328sseclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
1931367100126 0 0183255 1312 2328vecclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
2054842102110 0 0184919 1312 2328vecclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
219821787079 0 0171151 1312 2328vecclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
2486736104018 0 0187250 1288 2392vecgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
286477661919 0 0143103 1320 2328vecclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
316817565701 0 0147362 1288 2392vecgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
366706661290 0 0141241 1312 2328vecclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
423199362962 0 0144386 1288 2392vecgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
435875651547 0 0131357 1280 2360vecgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
4787419888690 0 0167602 1288 2392ssegcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
4791146982906 0 0160109 1280 2360ssegcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
34472469634612 0 0116204 1296 2392refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
35805676945562 0 0127121 1320 2328refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
35822880534490 0 0116647 1312 2328refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
35913023761527 0 0143127 1312 2328refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
46599235616158 0 094475 1312 2328refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
50580747715752 0 094919 1312 2328refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
52998992911225 0 088967 1288 2360refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
53160172416141 0 096052 1296 2392refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026091120260831
56091574314880 0 094306 1288 2392refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026091120260831

Compiler output


bm.c: bm.c:63: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:    63 |         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:65: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:    65 |         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:82:37: warning: AVX vector return of type 'vec256' (aka '__m256i') without 'avx' enabled changes the ABI [-Wpsabi]
bm.c:    82 |         for (i = 13; i < 16; i++) buf[i] = vec256_setzero();
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][0] = vec256_set1_16b(0x5555);
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[0][1] = vec256_set1_16b(0xAAAA);
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][0] = vec256_set1_16b(0x3333);
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[1][1] = vec256_set1_16b(0xCCCC);
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][0] = vec256_set1_16b(0x0F0F);
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[2][1] = vec256_set1_16b(0xF0F0);
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:    90 |         mask[3][0] = vec256_set1_16b(0x00FF);
bm.c:       |                      ^
bm.c: bm.c:91: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:25:
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


pk_gen.c: pk_gen.c:211:12: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]
pk_gen.c:   211 |                 uint64_t w[ PK_NROWS ][ nBlocks_I*2 ];
pk_gen.c:       |                          ^
pk_gen.c: pk_gen.c:212:12: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]
pk_gen.c:   212 |                 vec128   v[ PK_NROWS ][ nBlocks_I ];
pk_gen.c:       |                          ^
pk_gen.c: 2 warnings generated.

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

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
333d7380b28ef85c72b4ea76dc73d335afff32a6b2b1b24d6d9e7884f9fa8b7a 254901142 92512940009 3100000000 crypto_kem/mceliece6688128/sse +0
Use of uninitialised value of size 1
   at 0x...: gen_e (encrypt.c:93)
   by 0x...: crypto_kem_mceliece6688128_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6688128_sse_constbranchindex_operation_enc (kem_enc.c:29)
   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_mceliece6688128_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6688128_sse_constbranchindex_operation_enc (kem_enc.c:29)
   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_mceliece6688128_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6688128_sse_constbranchindex_operation_enc (kem_enc.c:29)
   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
333d7380b28ef85c72b4ea76dc73d335afff32a6b2b1b24d6d9e7884f9fa8b7a 246559167 105568508008 3100000000 crypto_kem/mceliece6688128/sse +0
Use of uninitialised value of size 1
   at 0x...: gen_e (encrypt.c:93)
   by 0x...: crypto_kem_mceliece6688128_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6688128_sse_constbranchindex_operation_enc (kem_enc.c:29)
   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_mceliece6688128_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6688128_sse_constbranchindex_operation_enc (kem_enc.c:29)
   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_mceliece6688128_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6688128_sse_constbranchindex_operation_enc (kem_enc.c:29)
   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))

TIMECOP error (can be valgrind bug)


error 99
333d7380b28ef85c72b4ea76dc73d335afff32a6b2b1b24d6d9e7884f9fa8b7a 239499566 108824637592 3100000000 crypto_kem/mceliece6688128/sse +0
Use of uninitialised value of size 1
   at 0x...: gen_e (encrypt.c:93)
   by 0x...: crypto_kem_mceliece6688128_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6688128_sse_constbranchindex_operation_enc (kem_enc.c:29)
   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_mceliece6688128_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6688128_sse_constbranchindex_operation_enc (kem_enc.c:29)
   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_mceliece6688128_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6688128_sse_constbranchindex_operation_enc (kem_enc.c:29)
   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 -Os -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: 23, 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))
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)