Implementation notes: amd64, beelink, crypto_encrypt/ntruees1087ep1

Computer: beelink
Microarchitecture: amd64; Zen3 (a50f00)
Architecture: amd64
CPU ID: AuthenticAMD-00a50f00-178bfbff
SUPERCOP version: 20221122
Operation: crypto_encrypt
Primitive: ntruees1087ep1

Test failure

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
error 111
crypto_encrypt returns nonzero

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
ntru_crypto_ntru_mult_coeffs_simd.c: ntru_crypto_ntru_mult_coeffs_simd.c:40:17: error: argument value 65535 is outside the valid range [0, 255] [-Wargument-outside-range]
ntru_crypto_ntru_mult_coeffs_simd.c: abroad[0] = _mm_shuffle_epi32(ai8h, 0xFFFF);
ntru_crypto_ntru_mult_coeffs_simd.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:4437:13: note: expanded from macro '_mm_shuffle_epi32'
ntru_crypto_ntru_mult_coeffs_simd.c: ((__m128i)__builtin_ia32_pshufd((__v4si)(__m128i)(a), (int)(imm)))
ntru_crypto_ntru_mult_coeffs_simd.c: ^ ~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: ntru_crypto_ntru_mult_coeffs_simd.c:41:17: error: argument value 43690 is outside the valid range [0, 255] [-Wargument-outside-range]
ntru_crypto_ntru_mult_coeffs_simd.c: abroad[1] = _mm_shuffle_epi32(ai8h, 0xAAAA);
ntru_crypto_ntru_mult_coeffs_simd.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:4437:13: note: expanded from macro '_mm_shuffle_epi32'
ntru_crypto_ntru_mult_coeffs_simd.c: ((__m128i)__builtin_ia32_pshufd((__v4si)(__m128i)(a), (int)(imm)))
ntru_crypto_ntru_mult_coeffs_simd.c: ^ ~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: ntru_crypto_ntru_mult_coeffs_simd.c:42:17: error: argument value 21845 is outside the valid range [0, 255] [-Wargument-outside-range]
ntru_crypto_ntru_mult_coeffs_simd.c: abroad[2] = _mm_shuffle_epi32(ai8h, 0x5555);
ntru_crypto_ntru_mult_coeffs_simd.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:4437:13: note: expanded from macro '_mm_shuffle_epi32'
ntru_crypto_ntru_mult_coeffs_simd.c: ((__m128i)__builtin_ia32_pshufd((__v4si)(__m128i)(a), (int)(imm)))
ntru_crypto_ntru_mult_coeffs_simd.c: ^ ~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: ntru_crypto_ntru_mult_coeffs_simd.c:45:17: error: argument value 65535 is outside the valid range [0, 255] [-Wargument-outside-range]
ntru_crypto_ntru_mult_coeffs_simd.c: abroad[4] = _mm_shuffle_epi32(ai8l, 0xFFFF);
ntru_crypto_ntru_mult_coeffs_simd.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:4437:13: note: expanded from macro '_mm_shuffle_epi32'
ntru_crypto_ntru_mult_coeffs_simd.c: ((__m128i)__builtin_ia32_pshufd((__v4si)(__m128i)(a), (int)(imm)))
ntru_crypto_ntru_mult_coeffs_simd.c: ^ ~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: ntru_crypto_ntru_mult_coeffs_simd.c:46:17: error: argument value 43690 is outside the valid range [0, 255] [-Wargument-outside-range]
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 T:ref
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref