Implementation notes: amd64, hertz, crypto_encrypt/ntruees1499ep1

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240107
Operation: crypto_encrypt
Primitive: ntruees1499ep1

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: 3, 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 -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang-17 -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: 40 | abroad[0] = _mm_shuffle_epi32(ai8h, 0xFFFF);
ntru_crypto_ntru_mult_coeffs_simd.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: /usr/lib/llvm-17/lib/clang/17/include/emmintrin.h:4240:13: note: expanded from macro '_mm_shuffle_epi32'
ntru_crypto_ntru_mult_coeffs_simd.c: 4240 | ((__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: 41 | abroad[1] = _mm_shuffle_epi32(ai8h, 0xAAAA);
ntru_crypto_ntru_mult_coeffs_simd.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: /usr/lib/llvm-17/lib/clang/17/include/emmintrin.h:4240:13: note: expanded from macro '_mm_shuffle_epi32'
ntru_crypto_ntru_mult_coeffs_simd.c: 4240 | ((__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: 42 | abroad[2] = _mm_shuffle_epi32(ai8h, 0x5555);
ntru_crypto_ntru_mult_coeffs_simd.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: /usr/lib/llvm-17/lib/clang/17/include/emmintrin.h:4240:13: note: expanded from macro '_mm_shuffle_epi32'
ntru_crypto_ntru_mult_coeffs_simd.c: 4240 | ((__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: 45 | abroad[4] = _mm_shuffle_epi32(ai8l, 0xFFFF);
ntru_crypto_ntru_mult_coeffs_simd.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_mult_coeffs_simd.c: /usr/lib/llvm-17/lib/clang/17/include/emmintrin.h:4240:13: note: expanded from macro '_mm_shuffle_epi32'
ntru_crypto_ntru_mult_coeffs_simd.c: 4240 | ((__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: 3, namely:
CompilerImplementations
clang-17 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang-17 -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang-17 -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref