Test results for amd64, hydra5, crypto_kem/ntruplus768

[Page version: 20260902 09:48:17]

Measurements for amd64, hydra5, crypto_kem Test results for amd64, hydra5, crypto_kem Test results for crypto_kem/ntruplus768
Computer: hydra5
Microarchitecture: amd64; K10 32nm (300f10)
Architecture: amd64
CPU ID: AuthenticAMD-00300f10-178bfbff
SUPERCOP version: 20260831
Operation: crypto_kem
Primitive: ntruplus768
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
22312760030 0 090945 1304 2328optclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090120260831
22325959934 0 090817 1304 2328optclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090120260831
22529154381 0 084345 1304 2328optclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090120260831
25671965614 0 097516 1256 2392optgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090120260831
26056436064 0 066713 1312 2328refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090120260831
26070936096 0 066777 1312 2328refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090120260831
27876423055 0 053089 1312 2328refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090120260831
30183821818 0 049595 1296 2328optclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090120260831
31880128887 0 058812 1256 2392optgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090120260831
34530320209 0 048609 1304 2328optclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090120260831
35168931628 0 063484 1256 2392refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090120260831
36811620543 0 049371 1248 2392optgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090120260831
39633514644 0 042435 1304 2328refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090120260831
42158313667 0 042073 1312 2328refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090120260831
42453416693 0 046556 1256 2392refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090120260831
42747915709 0 043230 1240 2360optgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090120260831
49365313595 0 042379 1248 2392refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090120260831
51675412022 0 039470 1240 2360refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090120260831

Compiler output


poly.c: poly.c:373:28: error: always_inline function '_mm256_set1_epi8' requires target feature 'avx', but would be inlined into function 'poly_sotp_decode' that is compiled without support for 'avx'
poly.c:   373 |     const __m256i mask55 = _mm256_set1_epi8((char)0x55);
poly.c:       |                            ^
poly.c: poly.c:373:28: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
poly.c: poly.c:374:28: error: always_inline function '_mm256_set1_epi8' requires target feature 'avx', but would be inlined into function 'poly_sotp_decode' that is compiled without support for 'avx'
poly.c:   374 |     const __m256i maskff = _mm256_set1_epi8((char)0xff);
poly.c:       |                            ^
poly.c: poly.c:374:28: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
poly.c: poly.c:375:28: error: always_inline function '_mm256_set1_epi8' requires target feature 'avx', but would be inlined into function 'poly_sotp_decode' that is compiled without support for 'avx'
poly.c:   375 |     const __m256i mask01 = _mm256_set1_epi8((char)0x01);
poly.c:       |                            ^
poly.c: poly.c:375:28: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
poly.c: poly.c:376:29: error: always_inline function '_mm256_set1_epi16' requires target feature 'avx', but would be inlined into function 'poly_sotp_decode' that is compiled without support for 'avx'
poly.c:   376 |     const __m256i mask_lo = _mm256_set1_epi16((int16_t)0x00ff);
poly.c:       |                             ^
poly.c: poly.c:376:29: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
poly.c: poly.c:377:29: error: always_inline function '_mm256_set1_epi16' requires target feature 'avx', but would be inlined into function 'poly_sotp_decode' that is compiled without support for 'avx'
poly.c:   377 |     const __m256i mask_hi = _mm256_set1_epi16((int16_t)0xff00);
poly.c:       |                             ^
poly.c: poly.c:377:29: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
poly.c: poly.c:378:31: error: always_inline function '_mm256_set1_epi8' requires target feature 'avx', but would be inlined into function 'poly_sotp_decode' that is compiled without support for 'avx'
poly.c:   378 |           __m256i fail_mask = _mm256_set1_epi8((char)0xff);
poly.c:       |                               ^
poly.c: poly.c:378:31: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
poly.c: poly.c:387:22: error: always_inline function '_mm256_load_si256' requires target feature 'avx', but would be inlined into function 'poly_sotp_decode' that is compiled without support for 'avx'
poly.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
avx2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
avx2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
avx2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
avx2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
avx2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))

Compiler output


poly.c: poly.c: In function 'fqmul':
poly.c: poly.c:17:1: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
poly.c:    17 | {
poly.c:       | ^
poly.c: poly.c: In function 'fqinv':
poly.c: poly.c:52:23: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
poly.c:    52 | static inline __m256i fqinv(__m256i a)
poly.c:       |                       ^~~~~
poly.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/13/include/immintrin.h:51,
poly.c:                  from poly.h:4,
poly.c:                  from poly.c:8:
poly.c: /usr/lib/gcc/x86_64-linux-gnu/13/include/avx2intrin.h: In function 'fqmul':
poly.c: /usr/lib/gcc/x86_64-linux-gnu/13/include/avx2intrin.h:808:1: error: inlining failed in call to 'always_inline' '_mm256_sub_epi16': target specific option mismatch
poly.c:   808 | _mm256_sub_epi16 (__m256i __A, __m256i __B)
poly.c:       | ^~~~~~~~~~~~~~~~
poly.c: poly.c:21:12: note: called from here
poly.c:    21 |     return _mm256_sub_epi16(hi, lo);
poly.c:       |            ^~~~~~~~~~~~~~~~~~~~~~~~
poly.c: /usr/lib/gcc/x86_64-linux-gnu/13/include/avx2intrin.h:546:1: error: inlining failed in call to 'always_inline' '_mm256_mulhi_epi16': target specific option mismatch
poly.c:   546 | _mm256_mulhi_epi16 (__m256i __A, __m256i __B)
poly.c:       | ^~~~~~~~~~~~~~~~~~
poly.c: poly.c:20:10: note: called from here
poly.c:    20 |     lo = _mm256_mulhi_epi16(lo, q);
poly.c:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~
poly.c: /usr/lib/gcc/x86_64-linux-gnu/13/include/avx2intrin.h:546:1: error: inlining failed in call to 'always_inline' '_mm256_mulhi_epi16': target specific option mismatch
poly.c: ...

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

Namespace violations


fips202.o shake256 T
fips202.o shake256_absorb T
fips202.o shake256_ctx_clone T
fips202.o shake256_ctx_release T
fips202.o shake256_inc_absorb T
fips202.o shake256_inc_ctx_clone T
fips202.o shake256_inc_ctx_release T
fips202.o shake256_inc_finalize T
fips202.o shake256_inc_init T
fips202.o shake256_inc_squeeze T
fips202.o shake256_squeezeblocks T
poly.o poly_baseinv T
poly.o poly_basemul T
poly.o poly_basemul_add T
poly.o poly_basemul_scaled T
poly.o poly_cbd1 T
poly.o poly_crepmod3 T
poly.o poly_frombytes T
poly.o poly_invntt_scaled T
poly.o poly_ntt T
poly.o poly_sotp_decode T
poly.o poly_sotp_encode T
poly.o poly_sub T
poly.o poly_tobytes T
poly.o poly_triple T
symmetric.o hash_f T
symmetric.o hash_g T
symmetric.o hash_h T

Number of similar (implementation,compiler) pairs: 9, namely:
ImplementationCompiler
optclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
optclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
optclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
optclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
optclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
optgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
optgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
optgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
optgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)

Namespace violations


fips202.o shake256 T
fips202.o shake256_absorb T
fips202.o shake256_ctx_clone T
fips202.o shake256_ctx_release T
fips202.o shake256_inc_absorb T
fips202.o shake256_inc_ctx_clone T
fips202.o shake256_inc_ctx_release T
fips202.o shake256_inc_finalize T
fips202.o shake256_inc_init T
fips202.o shake256_inc_squeeze T
fips202.o shake256_squeezeblocks T
ntt.o baseinv T
ntt.o basemul T
ntt.o basemul_add T
ntt.o invntt T
ntt.o ntt T
ntt.o zetas R
poly.o poly_baseinv T
poly.o poly_basemul T
poly.o poly_basemul_add T
poly.o poly_cbd1 T
poly.o poly_crepmod3 T
poly.o poly_frombytes T
poly.o poly_invntt T
poly.o poly_ntt T
poly.o poly_sotp_decode T
poly.o poly_sotp_encode T
poly.o poly_sub T
poly.o poly_tobytes T
poly.o poly_triple T
symmetric.o hash_f T
symmetric.o hash_g T
symmetric.o hash_h T

Number of similar (implementation,compiler) pairs: 9, namely:
ImplementationCompiler
refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x110A0E
   at 0x...: baseinv_1 (poly.c:804)
   by 0x...: poly_baseinv (poly.c:1076)
   by 0x...: genf_derand (kem.c:74)
   by 0x...: crypto_kem_ntruplus768_opt_constbranchindex_keypair (kem.c:164)
   by 0x...: test (try.c:126)
   by 0x...: main (try-anything.c:344)
timeout: the monitored command dumped core
Illegal instruction

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
optclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x111B0E
   at 0x...: baseinv_1 (poly.c:804)
   by 0x...: poly_baseinv (poly.c:1076)
   by 0x...: genf_derand (kem.c:74)
   by 0x...: crypto_kem_ntruplus768_opt_constbranchindex_keypair (kem.c:164)
   by 0x...: test (try.c:126)
   by 0x...: main (try-anything.c:344)
timeout: the monitored command dumped core
Illegal instruction

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
optclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x10D213
   at 0x...: poly_frombytes (poly.c:80)
   by 0x...: crypto_kem_enc_derand (kem.c:212)
   by 0x...: crypto_kem_ntruplus768_ref_constbranchindex_enc (kem.c:274)
   by 0x...: test (try.c:141)
   by 0x...: main (try-anything.c:344)
timeout: the monitored command dumped core
Illegal instruction

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x11104B
   at 0x...: ntt (ntt.c:198)
   by 0x...: genf_derand (kem.c:72)
   by 0x...: crypto_kem_ntruplus768_ref_constbranchindex_keypair (kem.c:165)
   by 0x...: test (try.c:126)
   by 0x...: main (try-anything.c:344)
timeout: the monitored command dumped core
Illegal instruction

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))

Passed TIMECOP


TIMECOP iterations: 1

Number of similar (implementation,compiler) pairs: 14, namely:
ImplementationCompiler
optclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
optclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
optclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
optgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
optgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
optgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
optgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)