Implementation notes: amd64, rumba7, crypto_encrypt/ntruees401ep2

Computer: rumba7
Microarchitecture: amd64; Zen (800f11)
Architecture: amd64
CPU ID: AuthenticAMD-00800f11-178bfbff
SUPERCOP version: 20240107
Operation: crypto_encrypt
Primitive: ntruees401ep2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
11850543250 864 6470042 1748 1856T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
12258245925 864 6473314 1748 1856T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
12945757324 864 6486322 1764 1824T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
15974838603 864 6464362 1740 1856T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
ntru_crypto_ntru_poly.c: ntru_crypto_ntru_poly.c:1002:17: error: argument value 65535 is outside the valid range [0, 255] [-Wargument-outside-range]
ntru_crypto_ntru_poly.c: abroad[0] = _mm_shuffle_epi32(ai8h, 0xFFFF);
ntru_crypto_ntru_poly.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_poly.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_poly.c: ((__m128i)__builtin_ia32_pshufd((__v4si)(__m128i)(a), (int)(imm)))
ntru_crypto_ntru_poly.c: ^ ~~~~~~~~~~
ntru_crypto_ntru_poly.c: ntru_crypto_ntru_poly.c:1003:17: error: argument value 43690 is outside the valid range [0, 255] [-Wargument-outside-range]
ntru_crypto_ntru_poly.c: abroad[1] = _mm_shuffle_epi32(ai8h, 0xAAAA);
ntru_crypto_ntru_poly.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_poly.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_poly.c: ((__m128i)__builtin_ia32_pshufd((__v4si)(__m128i)(a), (int)(imm)))
ntru_crypto_ntru_poly.c: ^ ~~~~~~~~~~
ntru_crypto_ntru_poly.c: ntru_crypto_ntru_poly.c:1004:17: error: argument value 21845 is outside the valid range [0, 255] [-Wargument-outside-range]
ntru_crypto_ntru_poly.c: abroad[2] = _mm_shuffle_epi32(ai8h, 0x5555);
ntru_crypto_ntru_poly.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_poly.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_poly.c: ((__m128i)__builtin_ia32_pshufd((__v4si)(__m128i)(a), (int)(imm)))
ntru_crypto_ntru_poly.c: ^ ~~~~~~~~~~
ntru_crypto_ntru_poly.c: ntru_crypto_ntru_poly.c:1007:17: error: argument value 65535 is outside the valid range [0, 255] [-Wargument-outside-range]
ntru_crypto_ntru_poly.c: abroad[4] = _mm_shuffle_epi32(ai8l, 0xFFFF);
ntru_crypto_ntru_poly.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntru_crypto_ntru_poly.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_poly.c: ((__m128i)__builtin_ia32_pshufd((__v4si)(__m128i)(a), (int)(imm)))
ntru_crypto_ntru_poly.c: ^ ~~~~~~~~~~
ntru_crypto_ntru_poly.c: ntru_crypto_ntru_poly.c:1008:17: error: argument value 43690 is outside the valid range [0, 255] [-Wargument-outside-range]
ntru_crypto_ntru_poly.c: ...

Number of similar (compiler,implementation) pairs: 4, 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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: can not read symbols: file truncated
try.c: /usr/bin/ld: .eh_frame/.stab edit: file truncated
try.c: /usr/bin/ld: try: warning: allocated section `.interp' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.note.gnu.property' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.note.gnu.build-id' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.note.ABI-tag' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.gnu.hash' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.dynsym' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.dynstr' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.gnu.version' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.gnu.version_r' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.rela.dyn' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.rela.plt' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.init' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.plt' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.plt.got' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.text' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.fini' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.rodata' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.eh_frame' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.init_array' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.fini_array' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.data.rel.ro' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.dynamic' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.got' not in segment
try.c: ...

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