Implementation notes: amd64, cel02, crypto_encrypt/ntruees593ep1

Computer: cel02
Architecture: amd64
CPU ID: GenuineIntel-00050657-bfebfbff
SUPERCOP version: 20201130
Operation: crypto_encrypt
Primitive: ntruees593ep1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
21624842964 864 8081558 1744 1728T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
35371853163 864 8094870 1744 1760T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
37596043307 864 8081406 1744 1728T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
42301037143 864 8074174 1736 1696T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130

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: fatal error: error in backend: Cannot select: 0x563bac0e94a0: v32i16 = X86ISD::VBROADCAST 0x563bac0e4c30
ntru_crypto_ntru_poly.c: 0x563bac0e4c30: i16,ch = CopyFromReg 0x563bac019600, Register:i16 %vreg0
ntru_crypto_ntru_poly.c: 0x563bac0fbf40: i16 = Register %vreg0
ntru_crypto_ntru_poly.c: In function: ntru_ring_mult_product_indices
ntru_crypto_ntru_poly.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
ntru_crypto_ntru_poly.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
ntru_crypto_ntru_poly.c: Target: x86_64-pc-linux-gnu
ntru_crypto_ntru_poly.c: Thread model: posix
ntru_crypto_ntru_poly.c: InstalledDir: /usr/bin
ntru_crypto_ntru_poly.c: clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
ntru_crypto_ntru_poly.c: clang: note: diagnostic msg:
ntru_crypto_ntru_poly.c: ********************
ntru_crypto_ntru_poly.c:
ntru_crypto_ntru_poly.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
ntru_crypto_ntru_poly.c: Preprocessed source(s) and associated run script(s) are located at:
ntru_crypto_ntru_poly.c: clang: note: diagnostic msg: /tmp/ntru_crypto_ntru_poly-6fac5e.c
ntru_crypto_ntru_poly.c: clang: note: diagnostic msg: /tmp/ntru_crypto_ntru_poly-6fac5e.sh
ntru_crypto_ntru_poly.c: clang: note: diagnostic msg:
ntru_crypto_ntru_poly.c:
ntru_crypto_ntru_poly.c: ********************

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
ntru_crypto_ntru_poly.c: fatal error: error in backend: Cannot select: 0x55da798ab3e0: v32i16 = X86ISD::VBROADCAST 0x55da7990b8e0
ntru_crypto_ntru_poly.c: 0x55da7990b8e0: i16,ch = CopyFromReg 0x55da798276e0, Register:i16 %vreg0
ntru_crypto_ntru_poly.c: 0x55da79911950: i16 = Register %vreg0
ntru_crypto_ntru_poly.c: In function: ntru_ring_mult_product_indices
ntru_crypto_ntru_poly.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
ntru_crypto_ntru_poly.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
ntru_crypto_ntru_poly.c: Target: x86_64-pc-linux-gnu
ntru_crypto_ntru_poly.c: Thread model: posix
ntru_crypto_ntru_poly.c: InstalledDir: /usr/bin
ntru_crypto_ntru_poly.c: clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
ntru_crypto_ntru_poly.c: clang: note: diagnostic msg:
ntru_crypto_ntru_poly.c: ********************
ntru_crypto_ntru_poly.c:
ntru_crypto_ntru_poly.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
ntru_crypto_ntru_poly.c: Preprocessed source(s) and associated run script(s) are located at:
ntru_crypto_ntru_poly.c: clang: note: diagnostic msg: /tmp/ntru_crypto_ntru_poly-21b29b.c
ntru_crypto_ntru_poly.c: clang: note: diagnostic msg: /tmp/ntru_crypto_ntru_poly-21b29b.sh
ntru_crypto_ntru_poly.c: clang: note: diagnostic msg:
ntru_crypto_ntru_poly.c:
ntru_crypto_ntru_poly.c: ********************

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
ntru_crypto_ntru_poly.c: fatal error: error in backend: Cannot select: 0x55721b808110: v32i16 = X86ISD::VBROADCAST 0x55721b834280
ntru_crypto_ntru_poly.c: 0x55721b834280: i16,ch = CopyFromReg 0x55721b762610, Register:i16 %vreg0
ntru_crypto_ntru_poly.c: 0x55721b894ad0: i16 = Register %vreg0
ntru_crypto_ntru_poly.c: In function: ntru_ring_mult_product_indices
ntru_crypto_ntru_poly.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
ntru_crypto_ntru_poly.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
ntru_crypto_ntru_poly.c: Target: x86_64-pc-linux-gnu
ntru_crypto_ntru_poly.c: Thread model: posix
ntru_crypto_ntru_poly.c: InstalledDir: /usr/bin
ntru_crypto_ntru_poly.c: clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
ntru_crypto_ntru_poly.c: clang: note: diagnostic msg:
ntru_crypto_ntru_poly.c: ********************
ntru_crypto_ntru_poly.c:
ntru_crypto_ntru_poly.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
ntru_crypto_ntru_poly.c: Preprocessed source(s) and associated run script(s) are located at:
ntru_crypto_ntru_poly.c: clang: note: diagnostic msg: /tmp/ntru_crypto_ntru_poly-79b5c4.c
ntru_crypto_ntru_poly.c: clang: note: diagnostic msg: /tmp/ntru_crypto_ntru_poly-79b5c4.sh
ntru_crypto_ntru_poly.c: clang: note: diagnostic msg:
ntru_crypto_ntru_poly.c:
ntru_crypto_ntru_poly.c: ********************

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
ntru_crypto_sha1.c: ntru_crypto_sha1.c:85:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
ntru_crypto_sha1.c: E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 0]; B = RL(B, 30);
ntru_crypto_sha1.c: ~~^~~~~~~~~ ~
ntru_crypto_sha1.c: ntru_crypto_sha1.c:85:33: note: place parentheses around the '&' expression to silence this warning
ntru_crypto_sha1.c: E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 0]; B = RL(B, 30);
ntru_crypto_sha1.c: ^
ntru_crypto_sha1.c: ( )
ntru_crypto_sha1.c: ntru_crypto_sha1.c:86:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
ntru_crypto_sha1.c: D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 1]; A = RL(A, 30);
ntru_crypto_sha1.c: ~~^~~~~~~~~ ~
ntru_crypto_sha1.c: ntru_crypto_sha1.c:86:33: note: place parentheses around the '&' expression to silence this warning
ntru_crypto_sha1.c: D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 1]; A = RL(A, 30);
ntru_crypto_sha1.c: ^
ntru_crypto_sha1.c: ( )
ntru_crypto_sha1.c: ntru_crypto_sha1.c:87:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
ntru_crypto_sha1.c: C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 2]; E = RL(E, 30);
ntru_crypto_sha1.c: ~~^~~~~~~~~ ~
ntru_crypto_sha1.c: ntru_crypto_sha1.c:87:33: note: place parentheses around the '&' expression to silence this warning
ntru_crypto_sha1.c: C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 2]; E = RL(E, 30);
ntru_crypto_sha1.c: ^
ntru_crypto_sha1.c: ( )
ntru_crypto_sha1.c: ntru_crypto_sha1.c:88:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
ntru_crypto_sha1.c: B += RL(C, 5) + K00_19 + (D & (E ^ A) ^ A) + data[ 3]; D = RL(D, 30);
ntru_crypto_sha1.c: ~~^~~~~~~~~ ~
ntru_crypto_sha1.c: ntru_crypto_sha1.c:88:33: note: place parentheses around the '&' expression to silence this warning
ntru_crypto_sha1.c: ...

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