Implementation notes: aarch64, jetsontx1, crypto_encrypt/ntruees1499ep1

Computer: jetsontx1
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20191017
Operation: crypto_encrypt
Primitive: ntruees1499ep1

Compiler output

Implementation: ref
Security model: unknown
Compiler: armclang -march=armv8a+crypto -mcpu=cortex-a57 -mtune=cortex-a57 -O2 -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 /opt/arm/arm-hpc-compiler-19.3_Generic-AArch64_Ubuntu-16.04_aarch64-linux/lib/clang/7.1.0/include/immintrin.h:28:
ntru_crypto_ntru_mult_coeffs_simd.c: /opt/arm/arm-hpc-compiler-19.3_Generic-AArch64_Ubuntu-16.04_aarch64-linux/lib/clang/7.1.0/include/mmintrin.h:64:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
ntru_crypto_ntru_mult_coeffs_simd.c: return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
ntru_crypto_ntru_mult_coeffs_simd.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: /opt/arm/arm-hpc-compiler-19.3_Generic-AArch64_Ubuntu-16.04_aarch64-linux/lib/clang/7.1.0/include/mmintrin.h:143:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
ntru_crypto_ntru_mult_coeffs_simd.c: return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
ntru_crypto_ntru_mult_coeffs_simd.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: /opt/arm/arm-hpc-compiler-19.3_Generic-AArch64_Ubuntu-16.04_aarch64-linux/lib/clang/7.1.0/include/mmintrin.h:173:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
ntru_crypto_ntru_mult_coeffs_simd.c: return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
ntru_crypto_ntru_mult_coeffs_simd.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: /opt/arm/arm-hpc-compiler-19.3_Generic-AArch64_Ubuntu-16.04_aarch64-linux/lib/clang/7.1.0/include/mmintrin.h:203:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
ntru_crypto_ntru_mult_coeffs_simd.c: return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
ntru_crypto_ntru_mult_coeffs_simd.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: /opt/arm/arm-hpc-compiler-19.3_Generic-AArch64_Ubuntu-16.04_aarch64-linux/lib/clang/7.1.0/include/mmintrin.h:230:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
ntru_crypto_ntru_mult_coeffs_simd.c: return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
ntru_crypto_ntru_mult_coeffs_simd.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: /opt/arm/arm-hpc-compiler-19.3_Generic-AArch64_Ubuntu-16.04_aarch64-linux/lib/clang/7.1.0/include/mmintrin.h:253:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
ntru_crypto_ntru_mult_coeffs_simd.c: return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
ntru_crypto_ntru_mult_coeffs_simd.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: /opt/arm/arm-hpc-compiler-19.3_Generic-AArch64_Ubuntu-16.04_aarch64-linux/lib/clang/7.1.0/include/mmintrin.h:274:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
ntru_crypto_ntru_mult_coeffs_simd.c: return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
ntru_crypto_ntru_mult_coeffs_simd.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: /opt/arm/arm-hpc-compiler-19.3_Generic-AArch64_Ubuntu-16.04_aarch64-linux/lib/clang/7.1.0/include/mmintrin.h:301:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
ntru_crypto_ntru_mult_coeffs_simd.c: return (__m64)__builtin_ia32_punpcklbw((__v8qi)__m1, (__v8qi)__m2);
ntru_crypto_ntru_mult_coeffs_simd.c: ...

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
armclang -march=armv8a+crypto -mcpu=cortex-a57 -mtune=cortex-a57 -O2 -fPIC -fPIE ref
armclang -march=armv8a+crypto -mcpu=cortex-a57 -mtune=cortex-a57 -O3 -fPIC -fPIE ref

Compiler output

Implementation: ref
Security model: unknown
Compiler: clang -mcpu=native -march=armv8a+crypto -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 /usr/local/llvm-8.0.1/lib/clang/8.0.1/include/immintrin.h:28:
ntru_crypto_ntru_mult_coeffs_simd.c: /usr/local/llvm-8.0.1/lib/clang/8.0.1/include/mmintrin.h:64:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
ntru_crypto_ntru_mult_coeffs_simd.c: return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
ntru_crypto_ntru_mult_coeffs_simd.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: /usr/local/llvm-8.0.1/lib/clang/8.0.1/include/mmintrin.h:143:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
ntru_crypto_ntru_mult_coeffs_simd.c: return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
ntru_crypto_ntru_mult_coeffs_simd.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: /usr/local/llvm-8.0.1/lib/clang/8.0.1/include/mmintrin.h:173:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
ntru_crypto_ntru_mult_coeffs_simd.c: return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
ntru_crypto_ntru_mult_coeffs_simd.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: /usr/local/llvm-8.0.1/lib/clang/8.0.1/include/mmintrin.h:203:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
ntru_crypto_ntru_mult_coeffs_simd.c: return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
ntru_crypto_ntru_mult_coeffs_simd.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: /usr/local/llvm-8.0.1/lib/clang/8.0.1/include/mmintrin.h:230:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
ntru_crypto_ntru_mult_coeffs_simd.c: return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
ntru_crypto_ntru_mult_coeffs_simd.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: /usr/local/llvm-8.0.1/lib/clang/8.0.1/include/mmintrin.h:253:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
ntru_crypto_ntru_mult_coeffs_simd.c: return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
ntru_crypto_ntru_mult_coeffs_simd.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: /usr/local/llvm-8.0.1/lib/clang/8.0.1/include/mmintrin.h:274:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
ntru_crypto_ntru_mult_coeffs_simd.c: return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
ntru_crypto_ntru_mult_coeffs_simd.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: /usr/local/llvm-8.0.1/lib/clang/8.0.1/include/mmintrin.h:301:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
ntru_crypto_ntru_mult_coeffs_simd.c: return (__m64)__builtin_ia32_punpcklbw((__v8qi)__m1, (__v8qi)__m2);
ntru_crypto_ntru_mult_coeffs_simd.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
clang -mcpu=native -march=armv8a+crypto -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -march=armv8a+crypto -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -march=armv8a+crypto -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -march=armv8a+crypto -Os -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: if (ntru_crypto_external_drbg_instantiate((RANDOM_BYTES_FN)&randombytesfn, &drbg) != DRBG_OK)
encrypt.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: ntru_crypto_drbg_instantiate
ntru_crypto_ntru_mult_coeffs_simd.c: ntru_crypto_ntru_mult_coeffs_simd.c:3:10: fatal error: immintrin.h: No such file or directory
ntru_crypto_ntru_mult_coeffs_simd.c: #include <immintrin.h>
ntru_crypto_ntru_mult_coeffs_simd.c: ^~~~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: compilation terminated.

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