Implementation notes: amd64, cel02, crypto_kem/ntruhrss701

Computer: cel02
Architecture: amd64
CPU ID: GenuineIntel-00050657-bfebfbff
SUPERCOP version: 20201130
Operation: crypto_kem
Primitive: ntruhrss701
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
111698133736 67296 0197578 68112 1576avx2clang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121120201130
125388138805 67296 0205493 68136 1640avx2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
151368130158 67296 0193221 68136 1608avx2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
154406129447 67296 0191420 68104 1576avx2clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121120201130
154904130260 67296 0193805 68136 1608avx2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
158322129909 67296 0191717 68128 1576avx2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
87080306265 0 058052 800 1576refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121120201130
96389067158 0 060581 832 1608refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
973602424449 0 081103 840 1640refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
97582966815 0 059733 832 1608refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
982863416643 0 070282 808 1576refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121120201130
123197946287 0 057965 824 1576refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130

Compiler output

Implementation: avx2
Security model: constbranchindex
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
cmov.c: fatal error: error in backend: Cannot select: 0x55b6dd303ff0: v64i8 = X86ISD::VBROADCAST 0x55b6dd305350
cmov.c: 0x55b6dd305350: i8,ch = CopyFromReg 0x55b6dd270e10, Register:i8 %vreg0
cmov.c: 0x55b6dd305480: i8 = Register %vreg0
cmov.c: In function: crypto_kem_ntruhrss701_avx2_constbranchindex_cmov
cmov.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
cmov.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
cmov.c: Target: x86_64-pc-linux-gnu
cmov.c: Thread model: posix
cmov.c: InstalledDir: /usr/bin
cmov.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.
cmov.c: clang: note: diagnostic msg:
cmov.c: ********************
cmov.c:
cmov.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
cmov.c: Preprocessed source(s) and associated run script(s) are located at:
cmov.c: clang: note: diagnostic msg: /tmp/cmov-6ac67a.c
cmov.c: clang: note: diagnostic msg: /tmp/cmov-6ac67a.sh
cmov.c: clang: note: diagnostic msg:
cmov.c:
cmov.c: ********************

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

Compiler output

Implementation: avx2
Security model: constbranchindex
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
cmov.c: fatal error: error in backend: Cannot select: 0x563fe5217620: v64i8 = X86ISD::VBROADCAST 0x563fe5218980
cmov.c: 0x563fe5218980: i8,ch = CopyFromReg 0x563fe5183f00, Register:i8 %vreg0
cmov.c: 0x563fe5218ab0: i8 = Register %vreg0
cmov.c: In function: crypto_kem_ntruhrss701_avx2_constbranchindex_cmov
cmov.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
cmov.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
cmov.c: Target: x86_64-pc-linux-gnu
cmov.c: Thread model: posix
cmov.c: InstalledDir: /usr/bin
cmov.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.
cmov.c: clang: note: diagnostic msg:
cmov.c: ********************
cmov.c:
cmov.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
cmov.c: Preprocessed source(s) and associated run script(s) are located at:
cmov.c: clang: note: diagnostic msg: /tmp/cmov-fb80b6.c
cmov.c: clang: note: diagnostic msg: /tmp/cmov-fb80b6.sh
cmov.c: clang: note: diagnostic msg:
cmov.c:
cmov.c: ********************

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

Compiler output

Implementation: avx2
Security model: constbranchindex
Compiler: clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
cmov.c: fatal error: error in backend: Cannot select: 0x560744517520: v64i8 = X86ISD::VBROADCAST 0x560744518070
cmov.c: 0x560744518070: i8,ch = CopyFromReg 0x560744482e10, Register:i8 %vreg0
cmov.c: 0x5607445181a0: i8 = Register %vreg0
cmov.c: In function: crypto_kem_ntruhrss701_avx2_constbranchindex_cmov
cmov.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
cmov.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
cmov.c: Target: x86_64-pc-linux-gnu
cmov.c: Thread model: posix
cmov.c: InstalledDir: /usr/bin
cmov.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.
cmov.c: clang: note: diagnostic msg:
cmov.c: ********************
cmov.c:
cmov.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
cmov.c: Preprocessed source(s) and associated run script(s) are located at:
cmov.c: clang: note: diagnostic msg: /tmp/cmov-afa50e.c
cmov.c: clang: note: diagnostic msg: /tmp/cmov-afa50e.sh
cmov.c: clang: note: diagnostic msg:
cmov.c:
cmov.c: ********************

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

Compiler output

Implementation: ref
Security model: constbranchindex
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
cmov.c: fatal error: error in backend: Cannot select: 0x55ae68eb1440: v64i8 = X86ISD::VBROADCAST 0x55ae68e9dc30
cmov.c: 0x55ae68e9dc30: i8,ch = CopyFromReg 0x55ae68e1ae60, Register:i8 %vreg0
cmov.c: 0x55ae68e9dd60: i8 = Register %vreg0
cmov.c: In function: crypto_kem_ntruhrss701_ref_constbranchindex_cmov
cmov.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
cmov.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
cmov.c: Target: x86_64-pc-linux-gnu
cmov.c: Thread model: posix
cmov.c: InstalledDir: /usr/bin
cmov.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.
cmov.c: clang: note: diagnostic msg:
cmov.c: ********************
cmov.c:
cmov.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
cmov.c: Preprocessed source(s) and associated run script(s) are located at:
cmov.c: clang: note: diagnostic msg: /tmp/cmov-7c51be.c
cmov.c: clang: note: diagnostic msg: /tmp/cmov-7c51be.sh
cmov.c: clang: note: diagnostic msg:
cmov.c:
cmov.c: ********************

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

Compiler output

Implementation: ref
Security model: constbranchindex
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
cmov.c: fatal error: error in backend: Cannot select: 0x55e997c71630: v64i8 = X86ISD::VBROADCAST 0x55e997c72990
cmov.c: 0x55e997c72990: i8,ch = CopyFromReg 0x55e997beaf00, Register:i8 %vreg0
cmov.c: 0x55e997c72ac0: i8 = Register %vreg0
cmov.c: In function: crypto_kem_ntruhrss701_ref_constbranchindex_cmov
cmov.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
cmov.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
cmov.c: Target: x86_64-pc-linux-gnu
cmov.c: Thread model: posix
cmov.c: InstalledDir: /usr/bin
cmov.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.
cmov.c: clang: note: diagnostic msg:
cmov.c: ********************
cmov.c:
cmov.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
cmov.c: Preprocessed source(s) and associated run script(s) are located at:
cmov.c: clang: note: diagnostic msg: /tmp/cmov-61edf4.c
cmov.c: clang: note: diagnostic msg: /tmp/cmov-61edf4.sh
cmov.c: clang: note: diagnostic msg:
cmov.c:
cmov.c: ********************

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

Compiler output

Implementation: ref
Security model: constbranchindex
Compiler: clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
cmov.c: fatal error: error in backend: Cannot select: 0x55c5644e3f30: v64i8 = X86ISD::VBROADCAST 0x55c5644e5290
cmov.c: 0x55c5644e5290: i8,ch = CopyFromReg 0x55c56444fe70, Register:i8 %vreg0
cmov.c: 0x55c5644e53c0: i8 = Register %vreg0
cmov.c: In function: crypto_kem_ntruhrss701_ref_constbranchindex_cmov
cmov.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
cmov.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
cmov.c: Target: x86_64-pc-linux-gnu
cmov.c: Thread model: posix
cmov.c: InstalledDir: /usr/bin
cmov.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.
cmov.c: clang: note: diagnostic msg:
cmov.c: ********************
cmov.c:
cmov.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
cmov.c: Preprocessed source(s) and associated run script(s) are located at:
cmov.c: clang: note: diagnostic msg: /tmp/cmov-c2c1db.c
cmov.c: clang: note: diagnostic msg: /tmp/cmov-c2c1db.sh
cmov.c: clang: note: diagnostic msg:
cmov.c:
cmov.c: ********************

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