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
| Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
| 287877 | 59934 0 0 | 90932 1288 2328 | opt | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260902 | 20260831 |
| 302762 | 57586 0 0 | 88308 1288 2328 | opt | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260902 | 20260831 |
| 306456 | 51844 0 0 | 81516 1288 2328 | opt | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260902 | 20260831 |
| 322509 | 36096 0 0 | 66892 1296 2328 | ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260902 | 20260831 |
| 333345 | 65614 0 0 | 97644 1256 2392 | opt | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260902 | 20260831 |
| 342322 | 20258 0 0 | 48732 1288 2328 | opt | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260902 | 20260831 |
| 342490 | 21888 0 0 | 49846 1280 2328 | opt | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260902 | 20260831 |
| 342875 | 33780 0 0 | 64268 1296 2328 | ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260902 | 20260831 |
| 362048 | 28887 0 0 | 58940 1256 2392 | opt | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260902 | 20260831 |
| 362320 | 20358 0 0 | 50132 1296 2328 | ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260902 | 20260831 |
| 387413 | 20543 0 0 | 49499 1248 2392 | opt | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260902 | 20260831 |
| 399282 | 31628 0 0 | 63612 1256 2392 | ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260902 | 20260831 |
| 416394 | 13564 0 0 | 42060 1296 2328 | ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260902 | 20260831 |
| 426734 | 14555 0 0 | 42486 1288 2328 | ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260902 | 20260831 |
| 439175 | 15709 0 0 | 43358 1240 2360 | opt | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260902 | 20260831 |
| 447605 | 16693 0 0 | 46684 1256 2392 | ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260902 | 20260831 |
| 529351 | 13595 0 0 | 42507 1248 2392 | ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260902 | 20260831 |
| 536344 | 12022 0 0 | 39598 1240 2360 | ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260902 | 20260831 |
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:
| Implementation | Compiler |
| avx2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| avx2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| avx2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| avx2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| avx2 | clang -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:
| Implementation | Compiler |
| avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| avx2 | gcc -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:
| Implementation | Compiler |
| opt | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| opt | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| opt | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| opt | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| opt | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| opt | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| opt | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| opt | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| opt | gcc -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:
| Implementation | Compiler |
| ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ref | gcc -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:
| Implementation | Compiler |
| opt | clang -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:
| Implementation | Compiler |
| opt | clang -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:
| Implementation | Compiler |
| ref | clang -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:
| Implementation | Compiler |
| ref | clang -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:
| Implementation | Compiler |
| opt | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| opt | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| opt | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| opt | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| opt | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| opt | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| opt | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
| ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
| ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |