Implementation notes: amd64, cel02, crypto_kem/saber2

Computer: cel02
Architecture: amd64
CPU ID: GenuineIntel-00050657-bfebfbff
SUPERCOP version: 20201130
Operation: crypto_kem
Primitive: saber2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
24235627494 32 054165 872 2144T:avx2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
25128426237 32 051253 864 2112T:avx2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
25861427975 32 054237 872 2144T:avx2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
39392088791 32 0118525 872 2176T:avx2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
77839433892 0 060821 816 1624T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121120201130
138192413812 0 040492 840 1656T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
201798268293 0 098020 840 1688T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
222364212159 0 037172 832 1624T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
246978812793 0 039044 840 1656T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130

Checksum failure

Implementation: T:avx2
Security model: timingleaks
Compiler: clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
a57dbed4d1b744e68ef926408440817766a5d6a3e55fd7f8f6a797e457ec20f5
Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx2

Compiler output

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

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

Compiler output

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

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

Compiler output

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

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

Compiler output

Implementation: T:avx2
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
SABER_indcpa.c: In file included from SABER_indcpa.c:9:
SABER_indcpa.c: In file included from ././polymul/toom-cook_4way.c:6:
SABER_indcpa.c: ././polymul/scm_avx.c:43:9: error: always_inline function '_mm256_mullo_epi16' requires target feature 'sse4.2', but would be inlined into function 'schoolbook_avx_new3_acc' that is compiled without support for 'sse4.2'
SABER_indcpa.c: temp = _mm256_mullo_epi16 (a0, b1);
SABER_indcpa.c: ^
SABER_indcpa.c: ././polymul/scm_avx.c:45:13: error: always_inline function '_mm256_add_epi16' requires target feature 'sse4.2', but would be inlined into function 'schoolbook_avx_new3_acc' that is compiled without support for 'sse4.2'
SABER_indcpa.c: c_avx[1] = _mm256_add_epi16(temp, c_avx[1]);
SABER_indcpa.c: ^
SABER_indcpa.c: ././polymul/scm_avx.c:48:9: error: always_inline function '_mm256_mullo_epi16' requires target feature 'sse4.2', but would be inlined into function 'schoolbook_avx_new3_acc' that is compiled without support for 'sse4.2'
SABER_indcpa.c: temp = _mm256_mullo_epi16 (a0, b2);
SABER_indcpa.c: ^
SABER_indcpa.c: ././polymul/scm_avx.c:51:13: error: always_inline function '_mm256_add_epi16' requires target feature 'sse4.2', but would be inlined into function 'schoolbook_avx_new3_acc' that is compiled without support for 'sse4.2'
SABER_indcpa.c: c_avx[2] = _mm256_add_epi16(temp, c_avx[2]);
SABER_indcpa.c: ^
SABER_indcpa.c: ././polymul/scm_avx.c:54:9: error: always_inline function '_mm256_mullo_epi16' requires target feature 'sse4.2', but would be inlined into function 'schoolbook_avx_new3_acc' that is compiled without support for 'sse4.2'
SABER_indcpa.c: temp = _mm256_mullo_epi16 (a0, b3);
SABER_indcpa.c: ^
SABER_indcpa.c: ././polymul/scm_avx.c:58:13: error: always_inline function '_mm256_add_epi16' requires target feature 'sse4.2', but would be inlined into function 'schoolbook_avx_new3_acc' that is compiled without support for 'sse4.2'
SABER_indcpa.c: c_avx[3] = _mm256_add_epi16(temp, c_avx[3]);
SABER_indcpa.c: ^
SABER_indcpa.c: ././polymul/scm_avx.c:60:9: error: always_inline function '_mm256_mullo_epi16' requires target feature 'sse4.2', but would be inlined into function 'schoolbook_avx_new3_acc' that is compiled without support for 'sse4.2'
SABER_indcpa.c: temp = _mm256_mullo_epi16 (a0, b4);
SABER_indcpa.c: ^
SABER_indcpa.c: ././polymul/scm_avx.c:65:13: error: always_inline function '_mm256_add_epi16' requires target feature 'sse4.2', but would be inlined into function 'schoolbook_avx_new3_acc' that is compiled without support for 'sse4.2'
SABER_indcpa.c: c_avx[4] = _mm256_add_epi16(temp, c_avx[4]);
SABER_indcpa.c: ...

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
SABER_indcpa.c: fatal error: error in backend: Cannot select: 0x564b04ab7af0: v32i16 = X86ISD::VBROADCAST 0x564b04a77180
SABER_indcpa.c: 0x564b04a77180: i16,ch = CopyFromReg 0x564b04980e20, Register:i16 %vreg0
SABER_indcpa.c: 0x564b04ab8640: i16 = Register %vreg0
SABER_indcpa.c: In function: pol_mul
SABER_indcpa.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
SABER_indcpa.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
SABER_indcpa.c: Target: x86_64-pc-linux-gnu
SABER_indcpa.c: Thread model: posix
SABER_indcpa.c: InstalledDir: /usr/bin
SABER_indcpa.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.
SABER_indcpa.c: clang: note: diagnostic msg:
SABER_indcpa.c: ********************
SABER_indcpa.c:
SABER_indcpa.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
SABER_indcpa.c: Preprocessed source(s) and associated run script(s) are located at:
SABER_indcpa.c: clang: note: diagnostic msg: /tmp/SABER_indcpa-54d5c7.c
SABER_indcpa.c: clang: note: diagnostic msg: /tmp/SABER_indcpa-54d5c7.sh
SABER_indcpa.c: clang: note: diagnostic msg:
SABER_indcpa.c:
SABER_indcpa.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
SABER_indcpa.c: fatal error: error in backend: Cannot select: 0x562ad38291c0: v32i16 = X86ISD::VBROADCAST 0x562ad37e7900
SABER_indcpa.c: 0x562ad37e7900: i16,ch = CopyFromReg 0x562ad3752f10, Register:i16 %vreg0
SABER_indcpa.c: 0x562ad3829d10: i16 = Register %vreg0
SABER_indcpa.c: In function: pol_mul
SABER_indcpa.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
SABER_indcpa.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
SABER_indcpa.c: Target: x86_64-pc-linux-gnu
SABER_indcpa.c: Thread model: posix
SABER_indcpa.c: InstalledDir: /usr/bin
SABER_indcpa.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.
SABER_indcpa.c: clang: note: diagnostic msg:
SABER_indcpa.c: ********************
SABER_indcpa.c:
SABER_indcpa.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
SABER_indcpa.c: Preprocessed source(s) and associated run script(s) are located at:
SABER_indcpa.c: clang: note: diagnostic msg: /tmp/SABER_indcpa-bbe410.c
SABER_indcpa.c: clang: note: diagnostic msg: /tmp/SABER_indcpa-bbe410.sh
SABER_indcpa.c: clang: note: diagnostic msg:
SABER_indcpa.c:
SABER_indcpa.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
SABER_indcpa.c: fatal error: error in backend: Cannot select: 0x55d7ac6ae830: v32i16 = X86ISD::VBROADCAST 0x55d7ac68c8f0
SABER_indcpa.c: 0x55d7ac68c8f0: i16,ch = CopyFromReg 0x55d7ac583e20, Register:i16 %vreg0
SABER_indcpa.c: 0x55d7ac62fe90: i16 = Register %vreg0
SABER_indcpa.c: In function: pol_mul
SABER_indcpa.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
SABER_indcpa.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
SABER_indcpa.c: Target: x86_64-pc-linux-gnu
SABER_indcpa.c: Thread model: posix
SABER_indcpa.c: InstalledDir: /usr/bin
SABER_indcpa.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.
SABER_indcpa.c: clang: note: diagnostic msg:
SABER_indcpa.c: ********************
SABER_indcpa.c:
SABER_indcpa.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
SABER_indcpa.c: Preprocessed source(s) and associated run script(s) are located at:
SABER_indcpa.c: clang: note: diagnostic msg: /tmp/SABER_indcpa-96c07a.c
SABER_indcpa.c: clang: note: diagnostic msg: /tmp/SABER_indcpa-96c07a.sh
SABER_indcpa.c: clang: note: diagnostic msg:
SABER_indcpa.c:
SABER_indcpa.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
SABER_indcpa.c: fatal error: error in backend: Cannot select: 0x56199342d8c0: v32i16 = X86ISD::VBROADCAST 0x5619933e1920
SABER_indcpa.c: 0x5619933e1920: i16,ch = CopyFromReg 0x5619933606f0, Register:i16 %vreg27
SABER_indcpa.c: 0x5619933d67a0: i16 = Register %vreg27
SABER_indcpa.c: In function: MatrixVectorMul
SABER_indcpa.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
SABER_indcpa.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
SABER_indcpa.c: Target: x86_64-pc-linux-gnu
SABER_indcpa.c: Thread model: posix
SABER_indcpa.c: InstalledDir: /usr/bin
SABER_indcpa.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.
SABER_indcpa.c: clang: note: diagnostic msg:
SABER_indcpa.c: ********************
SABER_indcpa.c:
SABER_indcpa.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
SABER_indcpa.c: Preprocessed source(s) and associated run script(s) are located at:
SABER_indcpa.c: clang: note: diagnostic msg: /tmp/SABER_indcpa-53b2d5.c
SABER_indcpa.c: clang: note: diagnostic msg: /tmp/SABER_indcpa-53b2d5.sh
SABER_indcpa.c: clang: note: diagnostic msg:
SABER_indcpa.c:
SABER_indcpa.c: ********************

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