Implementation notes: amd64, cel02, crypto_kem/firesaber2

Computer: cel02
Architecture: amd64
CPU ID: GenuineIntel-00050657-bfebfbff
SUPERCOP version: 20201130
Operation: crypto_kem
Primitive: firesaber2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
60358880312 32 0109901 872 2176T:avx2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
63486826283 32 051301 864 2112T:avx2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
64073027513 32 054165 872 2144T:avx2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
65468828011 32 054253 872 2144T:avx2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
117179631567 0 058485 816 1624T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121120201130
177131469286 0 098876 840 1688T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
230828213831 0 040492 840 1656T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
404910812799 0 039044 840 1656T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
483191012157 0 037172 832 1624T:refgcc_-march=native_-mtune=native_-Os_-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
10e42085142d58d7f7ec733ed1544300aa0ec1e145aff75c1133e8bbf1ce1894
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: 0x55ae92086790: v64i8 = X86ISD::VBROADCAST 0x55ae92098960
verify.c: 0x55ae92098960: i8,ch = CopyFromReg 0x55ae91fd9ec0, Register:i8 %vreg0
verify.c: 0x55ae920985d0: 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-85ec6e.c
verify.c: clang: note: diagnostic msg: /tmp/verify-85ec6e.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: 0x558387290020: v64i8 = X86ISD::VBROADCAST 0x5583872a25f0
verify.c: 0x5583872a25f0: i8,ch = CopyFromReg 0x5583871e2fb0, Register:i8 %vreg0
verify.c: 0x5583872a2260: 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-1a537f.c
verify.c: clang: note: diagnostic msg: /tmp/verify-1a537f.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: 0x558e95928800: v64i8 = X86ISD::VBROADCAST 0x558e9593bde0
verify.c: 0x558e9593bde0: i8,ch = CopyFromReg 0x558e9587cec0, Register:i8 %vreg0
verify.c: 0x558e9593ba50: 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-9ff25b.c
verify.c: clang: note: diagnostic msg: /tmp/verify-9ff25b.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: 0x5637e611f850: v32i16 = X86ISD::VBROADCAST 0x5637e60530f0
SABER_indcpa.c: 0x5637e60530f0: i16,ch = CopyFromReg 0x5637e5ff6f00, Register:i16 %vreg0
SABER_indcpa.c: 0x5637e6055690: 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-be2de6.c
SABER_indcpa.c: clang: note: diagnostic msg: /tmp/SABER_indcpa-be2de6.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: 0x5592f3bebff0: v32i16 = X86ISD::VBROADCAST 0x5592f3be32f0
SABER_indcpa.c: 0x5592f3be32f0: i16,ch = CopyFromReg 0x5592f3a95ff0, Register:i16 %vreg0
SABER_indcpa.c: 0x5592f3bb5c50: 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-a83912.c
SABER_indcpa.c: clang: note: diagnostic msg: /tmp/SABER_indcpa-a83912.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: 0x5640e2581540: v32i16 = X86ISD::VBROADCAST 0x5640e25329b0
SABER_indcpa.c: 0x5640e25329b0: i16,ch = CopyFromReg 0x5640e242ff00, Register:i16 %vreg0
SABER_indcpa.c: 0x5640e2582090: 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-8614ab.c
SABER_indcpa.c: clang: note: diagnostic msg: /tmp/SABER_indcpa-8614ab.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: 0x558a8b80d550: v32i16 = X86ISD::VBROADCAST 0x558a8b78f630
SABER_indcpa.c: 0x558a8b78f630: i16,ch = CopyFromReg 0x558a8b7397d0, Register:i16 %vreg27
SABER_indcpa.c: 0x558a8b7fc220: 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-f1c6a9.c
SABER_indcpa.c: clang: note: diagnostic msg: /tmp/SABER_indcpa-f1c6a9.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