Implementation notes: amd64, genji262, crypto_encrypt/ntruees1499ep1

Computer: genji262
Architecture: amd64
CPU ID: AuthenticAMD-00800f12-178bfbff
SUPERCOP version: 20191017
Operation: crypto_encrypt
Primitive: ntruees1499ep1

Compiler output

Implementation: ref
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.c: encrypt.c:33:9: warning: implicit declaration of function 'ntru_crypto_external_drbg_instantiate' is invalid in C99 [-Wimplicit-function-declaration]
encrypt.c: if (ntru_crypto_external_drbg_instantiate((RANDOM_BYTES_FN)&randombytesfn, &drbg) != DRBG_OK)
encrypt.c: ^
encrypt.c: encrypt.c:100:9: warning: implicit declaration of function 'ntru_crypto_external_drbg_instantiate' is invalid in C99 [-Wimplicit-function-declaration]
encrypt.c: if (ntru_crypto_external_drbg_instantiate((RANDOM_BYTES_FN)&randombytesfn, &drbg) != DRBG_OK)
encrypt.c: ^
encrypt.c: 2 warnings generated.
ntru_crypto_ntru_mult_coeffs_simd.c: In file included from ntru_crypto_ntru_mult_coeffs_simd.c:3:
ntru_crypto_ntru_mult_coeffs_simd.c: In file included from /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/immintrin.h:27:
ntru_crypto_ntru_mult_coeffs_simd.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:55:72: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
ntru_crypto_ntru_mult_coeffs_simd.c: extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
ntru_crypto_ntru_mult_coeffs_simd.c: ^
ntru_crypto_ntru_mult_coeffs_simd.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:61:72: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
ntru_crypto_ntru_mult_coeffs_simd.c: extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
ntru_crypto_ntru_mult_coeffs_simd.c: ^
ntru_crypto_ntru_mult_coeffs_simd.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:68:74: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
ntru_crypto_ntru_mult_coeffs_simd.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
ntru_crypto_ntru_mult_coeffs_simd.c: ^
ntru_crypto_ntru_mult_coeffs_simd.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:74:74: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
ntru_crypto_ntru_mult_coeffs_simd.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
ntru_crypto_ntru_mult_coeffs_simd.c: ^
ntru_crypto_ntru_mult_coeffs_simd.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:84:74: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
ntru_crypto_ntru_mult_coeffs_simd.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
ntru_crypto_ntru_mult_coeffs_simd.c: ^
ntru_crypto_ntru_mult_coeffs_simd.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:90:74: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
ntru_crypto_ntru_mult_coeffs_simd.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
ntru_crypto_ntru_mult_coeffs_simd.c: ^
ntru_crypto_ntru_mult_coeffs_simd.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:97:74: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
ntru_crypto_ntru_mult_coeffs_simd.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
ntru_crypto_ntru_mult_coeffs_simd.c: ^
ntru_crypto_ntru_mult_coeffs_simd.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:103:74: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
ntru_crypto_ntru_mult_coeffs_simd.c: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
ntru_crypto_ntru_mult_coeffs_simd.c: ...

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref

Compiler output

Implementation: ref
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.c: encrypt.c: In function 'crypto_encrypt_ntruees1499ep1_ref':
encrypt.c: encrypt.c:33:9: warning: implicit declaration of function 'ntru_crypto_external_drbg_instantiate'; did you mean 'ntru_crypto_drbg_instantiate'? [-Wimplicit-function-declaration]
encrypt.c: 33 | if (ntru_crypto_external_drbg_instantiate((RANDOM_BYTES_FN)&randombytesfn, &drbg) != DRBG_OK)
encrypt.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: | ntru_crypto_drbg_instantiate
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: crypto_encrypt_ntruees1499ep1.a(encrypt.o): in function `crypto_encrypt_ntruees1499ep1_ref':
try.c: encrypt.c:(.text+0x...): undefined reference to `ntru_crypto_external_drbg_instantiate'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: crypto_encrypt_ntruees1499ep1.a(encrypt.o): in function `crypto_encrypt_ntruees1499ep1_ref_keypair':
try.c: encrypt.c:(.text+0x...): undefined reference to `ntru_crypto_external_drbg_instantiate'
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ref

Compiler output

Implementation: ref
Security model: unknown
Compiler: icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer
encrypt.c: encrypt.c(33): warning #266: function "ntru_crypto_external_drbg_instantiate" declared implicitly
encrypt.c: if (ntru_crypto_external_drbg_instantiate((RANDOM_BYTES_FN)&randombytesfn, &drbg) != DRBG_OK)
encrypt.c: ^
encrypt.c:
encrypt.c: encrypt.c(100): warning #266: function "ntru_crypto_external_drbg_instantiate" declared implicitly
encrypt.c: if (ntru_crypto_external_drbg_instantiate((RANDOM_BYTES_FN)&randombytesfn, &drbg) != DRBG_OK)
encrypt.c: ^
encrypt.c:
ntru_crypto_ntru_mult_coeffs_simd.c: ntru_crypto_ntru_mult_coeffs_simd.c(131): (col. 5) warning #13211: Immediate parameter to intrinsic call too large
ntru_crypto_ntru_mult_coeffs_simd.c: ntru_crypto_ntru_mult_coeffs_simd.c(131): (col. 5) warning #13211: Immediate parameter to intrinsic call too large
ntru_crypto_ntru_mult_coeffs_simd.c: ntru_crypto_ntru_mult_coeffs_simd.c(131): (col. 5) warning #13211: Immediate parameter to intrinsic call too large
ntru_crypto_ntru_mult_coeffs_simd.c: ntru_crypto_ntru_mult_coeffs_simd.c(131): (col. 5) warning #13211: Immediate parameter to intrinsic call too large
ntru_crypto_ntru_mult_coeffs_simd.c: ntru_crypto_ntru_mult_coeffs_simd.c(131): (col. 5) warning #13211: Immediate parameter to intrinsic call too large
ntru_crypto_ntru_mult_coeffs_simd.c: ntru_crypto_ntru_mult_coeffs_simd.c(131): (col. 5) warning #13211: Immediate parameter to intrinsic call too large
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: crypto_encrypt_ntruees1499ep1.a(encrypt.o): in function `crypto_encrypt_ntruees1499ep1_ref':
try.c: encrypt.c:(.text+0x...): undefined reference to `ntru_crypto_external_drbg_instantiate'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: crypto_encrypt_ntruees1499ep1.a(encrypt.o): in function `crypto_encrypt_ntruees1499ep1_ref_keypair':
try.c: encrypt.c:(.text+0x...): undefined reference to `ntru_crypto_external_drbg_instantiate'

Number of similar (compiler,implementation) pairs: 24, namely:
CompilerImplementations
icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer ref
icc -march=broadwell -mtune=broadwell -O3 -fomit-frame-pointer ref
icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer ref
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer ref
icc -march=core-avx-i -mtune=core-avx-i -O2 -fomit-frame-pointer ref
icc -march=core-avx-i -mtune=core-avx-i -O3 -fomit-frame-pointer ref
icc -march=core-avx2 -mtune=core-avx2 -O2 -fomit-frame-pointer ref
icc -march=core-avx2 -mtune=core-avx2 -O3 -fomit-frame-pointer ref
icc -march=corei7-avx -mtune=corei7-avx -O2 -fomit-frame-pointer ref
icc -march=corei7-avx -mtune=corei7-avx -O3 -fomit-frame-pointer ref
icc -march=corei7 -mtune=corei7 -O2 -fomit-frame-pointer ref
icc -march=corei7 -mtune=corei7 -O3 -fomit-frame-pointer ref
icc -march=haswell -mtune=haswell -O2 -fomit-frame-pointer ref
icc -march=haswell -mtune=haswell -O3 -fomit-frame-pointer ref
icc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer ref
icc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer ref
icc -march=ivybridge -mtune=ivybridge -O2 -fomit-frame-pointer ref
icc -march=ivybridge -mtune=ivybridge -O3 -fomit-frame-pointer ref
icc -march=sandybridge -mtune=sandybridge -O2 -fomit-frame-pointer ref
icc -march=sandybridge -mtune=sandybridge -O3 -fomit-frame-pointer ref
icc -march=skylake-avx512 -mtune=skylake-avx512 -O2 -fomit-frame-pointer ref
icc -march=skylake-avx512 -mtune=skylake-avx512 -O3 -fomit-frame-pointer ref
icc -march=skylake -mtune=skylake -O2 -fomit-frame-pointer ref
icc -march=skylake -mtune=skylake -O3 -fomit-frame-pointer ref