Test results for amd64, h3neo, crypto_kem/ntruplus768

[Page version: 20260902 14:39:11]

Measurements for amd64, h3neo, crypto_kem Test results for amd64, h3neo, crypto_kem Test results for crypto_kem/ntruplus768
Computer: h3neo
Microarchitecture: amd64; K10 45nm (100f63)
Architecture: amd64
CPU ID: AuthenticAMD-00100f63-078bfbff
SUPERCOP version: 20260831
Operation: crypto_kem
Primitive: ntruplus768
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
28787759934 0 090932 1288 2328optclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
30276257586 0 088308 1288 2328optclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
30645651844 0 081516 1288 2328optclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
32250936096 0 066892 1296 2328refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
33334565614 0 097644 1256 2392optgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
34232220258 0 048732 1288 2328optclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
34249021888 0 049846 1280 2328optclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
34287533780 0 064268 1296 2328refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
36204828887 0 058940 1256 2392optgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
36232020358 0 050132 1296 2328refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
38741320543 0 049499 1248 2392optgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
39928231628 0 063612 1256 2392refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
41639413564 0 042060 1296 2328refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
42673414555 0 042486 1288 2328refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
43917515709 0 043358 1240 2360optgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
44760516693 0 046684 1256 2392refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
52935113595 0 042507 1248 2392refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
53634412022 0 039598 1240 2360refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090220260831

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 0x110403
   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 0x1115C3
   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 0x10CAD3
   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 0x1106E4
   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)