Test results for amd64, h9ivy, crypto_kem/mceliece6688128pcf

[Page version: 20261024 11:59:03]

Measurements for amd64, h9ivy, crypto_kem Test results for amd64, h9ivy, crypto_kem Test results for crypto_kem/mceliece6688128pcf
Computer: h9ivy
Microarchitecture: amd64; Ivy Bridge+AES (306a9)
Architecture: amd64
CPU ID: GenuineIntel-000306a9-bfebfbff
SUPERCOP version: 20261018
Operation: crypto_kem
Primitive: mceliece6688128pcf
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
789355148916 0 0230546 1304 2392ssegcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
790760120260 0 0200544 1328 2328sseclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
806083138933 0 0218760 1328 2328sseclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
84004296748 0 0176666 1304 2392ssegcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
85587189130 0 0166786 1320 2328sseclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
87260495314 0 0172824 1328 2328sseclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
196785897266 0 0180856 1328 2328vecclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
2080057104083 0 0187128 1328 2328vecclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
223763988268 0 0172592 1328 2328vecclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
2506156102407 0 0186106 1304 2392vecgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
288839761890 0 0143256 1336 2328vecclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
319496366177 0 0148362 1304 2392vecgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
425570263241 0 0145194 1304 2392vecgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
446430751909 0 0132198 1296 2360vecgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
464556861647 0 0142106 1328 2328vecclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
4790426689862 0 0169370 1304 2392ssegcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
4794569883756 0 0161462 1296 2360ssegcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
34449443036012 0 0118100 1312 2392refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
35831343835391 0 0117800 1328 2328refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
35922188563060 0 0144888 1328 2328refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
35994727547353 0 0129394 1336 2328refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
46540279017361 0 096188 1328 2328refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
50691212416348 0 095712 1328 2328refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
52998764811967 0 090192 1304 2360refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
53124649717442 0 097884 1312 2392refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101620261004
56067801315936 0 095882 1304 2392refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101620261004

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


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
9c82cb00253931f827464c20e6ff69302a51c3614dbf4c575c6e134730a93e47 317359508 92105910408 3100000000 crypto_kem/mceliece6688128pcf/sse +0
Use of uninitialised value of size 1
   at 0x...: gen_e (encrypt.c:93)
   by 0x...: crypto_kem_mceliece6688128pcf_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6688128pcf_sse_constbranchindex_operation_enc (kem_enc.c:30)
   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_mceliece6688128pcf_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6688128pcf_sse_constbranchindex_operation_enc (kem_enc.c:30)
   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_mceliece6688128pcf_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6688128pcf_sse_constbranchindex_operation_enc (kem_enc.c:30)
   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
9c82cb00253931f827464c20e6ff69302a51c3614dbf4c575c6e134730a93e47 309935983 110083359984 3100000000 crypto_kem/mceliece6688128pcf/sse +0
Use of uninitialised value of size 1
   at 0x...: gen_e (encrypt.c:93)
   by 0x...: crypto_kem_mceliece6688128pcf_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6688128pcf_sse_constbranchindex_operation_enc (kem_enc.c:30)
   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_mceliece6688128pcf_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6688128pcf_sse_constbranchindex_operation_enc (kem_enc.c:30)
   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_mceliece6688128pcf_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6688128pcf_sse_constbranchindex_operation_enc (kem_enc.c:30)
   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
9c82cb00253931f827464c20e6ff69302a51c3614dbf4c575c6e134730a93e47 305169000 114276970225 3100000000 crypto_kem/mceliece6688128pcf/sse +0
Use of uninitialised value of size 1
   at 0x...: gen_e (encrypt.c:93)
   by 0x...: crypto_kem_mceliece6688128pcf_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6688128pcf_sse_constbranchindex_operation_enc (kem_enc.c:30)
   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_mceliece6688128pcf_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6688128pcf_sse_constbranchindex_operation_enc (kem_enc.c:30)
   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_mceliece6688128pcf_sse_constbranchindex_pke_encrypt (encrypt.c:114)
   by 0x...: crypto_kem_mceliece6688128pcf_sse_constbranchindex_operation_enc (kem_enc.c:30)
   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)