Test results for amd64, h3neo, crypto_kem/ntruplus864

[Page version: 20260902 14:39:11]

Measurements for amd64, h3neo, crypto_kem Test results for amd64, h3neo, crypto_kem Test results for crypto_kem/ntruplus864
Computer: h3neo
Microarchitecture: amd64; K10 45nm (100f63)
Architecture: amd64
CPU ID: AuthenticAMD-00100f63-078bfbff
SUPERCOP version: 20260831
Operation: crypto_kem
Primitive: ntruplus864
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
33170842299 0 073356 1288 2328optclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
34660340181 0 070924 1288 2328optclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
35205336312 0 066004 1288 2328optclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
37777144184 0 076228 1256 2392optgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
40012820257 0 048238 1280 2328optclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
40602124633 0 054716 1256 2392optgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
40716820315 0 048788 1288 2328optclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
45467919654 0 048627 1248 2392optgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
46393935635 0 066588 1296 2328refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
48803333309 0 063964 1296 2328refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
49358815899 0 043550 1240 2360optgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
49879422528 0 052308 1296 2328refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
54613534135 0 066180 1256 2392refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
56953713275 0 041820 1296 2328refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
59830512712 0 040742 1288 2328refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
60389716144 0 046180 1256 2392refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
72098911829 0 039414 1240 2360refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090220260831
72784513304 0 042251 1248 2392refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026090220260831

Compiler output


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 mask55 = _mm256_set1_epi8((char)0x55);
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 maskff = _mm256_set1_epi8((char)0xff);
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: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:   376 |     const __m256i mask01 = _mm256_set1_epi8((char)0x01);
poly.c:       |                            ^
poly.c: poly.c:376:28: 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_lo = _mm256_set1_epi16((int16_t)0x00ff);
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: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:   378 |     const __m256i mask_hi = _mm256_set1_epi16((int16_t)0xff00);
poly.c:       |                             ^
poly.c: poly.c:378:29: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
poly.c: poly.c:379: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:   379 |           __m256i fail_mask = _mm256_set1_epi8((char)0xff);
poly.c:       |                               ^
poly.c: poly.c:379:31: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
poly.c: poly.c:388: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:41:1: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
poly.c:    41 | {
poly.c:       | ^
poly.c: poly.c: In function 'fqinv':
poly.c: poly.c:68:23: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
poly.c:    68 | 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:45:12: note: called from here
poly.c:    45 |     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:44:10: note: called from here
poly.c:    44 |     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 0x110720
   at 0x...: baseinv_1 (poly.c:785)
   by 0x...: poly_baseinv (poly.c:1076)
   by 0x...: genf_derand (kem.c:74)
   by 0x...: crypto_kem_ntruplus864_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 0x1111D0
   at 0x...: baseinv_1 (poly.c:785)
   by 0x...: poly_baseinv (poly.c:1076)
   by 0x...: genf_derand (kem.c:74)
   by 0x...: crypto_kem_ntruplus864_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 0x10CB53
   at 0x...: poly_frombytes (poly.c:79)
   by 0x...: crypto_kem_enc_derand (kem.c:212)
   by 0x...: crypto_kem_ntruplus864_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 0x10D523
   at 0x...: poly_frombytes (poly.c:79)
   by 0x...: crypto_kem_enc_derand (kem.c:212)
   by 0x...: crypto_kem_ntruplus864_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 -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)