Implementation notes: amd64, cel02, crypto_kem/edonk128k16n80nu4l6

Computer: cel02
Architecture: amd64
CPU ID: GenuineIntel-00050657-bfebfbff
SUPERCOP version: 20201130
Operation: crypto_kem
Primitive: edonk128k16n80nu4l6
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2328225441308 0 088501 1152 1688T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
4561243025222 0 072566 1128 1632T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121120201130
4599649218484 0 064344 1120 1632T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121120201130

Test failure

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
error 111

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
dec.c: dec.c:714:89: warning: for loop has empty body [-Wempty-body]
dec.c: for(i=0; i<(1<<(ErrorBasisDimension+1))+2; i++) Kclear(allcandidates[i]);
dec.c: ^
dec.c: dec.c:714:89: note: put the semicolon on a separate line to silence this warning
dec.c: dec.c:594:76: warning: for loop has empty body [-Wempty-body]
dec.c: for(i=0; i<(1<<(ErrorBasisDimension+1))+2; i++) Kinit(allcandidates[i]);
dec.c: ^
dec.c: dec.c:594:76: note: put the semicolon on a separate line to silence this warning
dec.c: dec.c:599:56: warning: for loop has empty body [-Wempty-body]
dec.c: for(i=0; i<NrColumns; i++) Kinit(Ciphertext.cph[i]);
dec.c: ^
dec.c: dec.c:599:56: note: put the semicolon on a separate line to silence this warning
dec.c: fatal error: error in backend: Cannot select: 0x557caf508a20: v32i16 = X86ISD::VBROADCAST 0x557caf55e5e0
dec.c: 0x557caf55e5e0: i16 = truncate 0x557caf56fde0
dec.c: 0x557caf56fde0: i64,ch = CopyFromReg 0x557caf445e10, Register:i64 %vreg16
dec.c: 0x557caf55eda0: i64 = Register %vreg16
dec.c: In function: randomOrthogonalBinMatrix
dec.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
dec.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
dec.c: Target: x86_64-pc-linux-gnu
dec.c: Thread model: posix
dec.c: InstalledDir: /usr/bin
dec.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.
dec.c: clang: note: diagnostic msg:
dec.c: ********************
dec.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
dec.c: dec.c:714:89: warning: for loop has empty body [-Wempty-body]
dec.c: for(i=0; i<(1<<(ErrorBasisDimension+1))+2; i++) Kclear(allcandidates[i]);
dec.c: ^
dec.c: dec.c:714:89: note: put the semicolon on a separate line to silence this warning
dec.c: dec.c:594:76: warning: for loop has empty body [-Wempty-body]
dec.c: for(i=0; i<(1<<(ErrorBasisDimension+1))+2; i++) Kinit(allcandidates[i]);
dec.c: ^
dec.c: dec.c:594:76: note: put the semicolon on a separate line to silence this warning
dec.c: dec.c:599:56: warning: for loop has empty body [-Wempty-body]
dec.c: for(i=0; i<NrColumns; i++) Kinit(Ciphertext.cph[i]);
dec.c: ^
dec.c: dec.c:599:56: note: put the semicolon on a separate line to silence this warning
dec.c: fatal error: error in backend: Cannot select: 0x55f73d7c18d0: v32i16 = X86ISD::VBROADCAST 0x55f73d8aba70
dec.c: 0x55f73d8aba70: i16 = truncate 0x55f73d8a28b0
dec.c: 0x55f73d8a28b0: i64,ch = CopyFromReg 0x55f73d72af00, Register:i64 %vreg16
dec.c: 0x55f73d8a4540: i64 = Register %vreg16
dec.c: In function: randomOrthogonalBinMatrix
dec.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
dec.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
dec.c: Target: x86_64-pc-linux-gnu
dec.c: Thread model: posix
dec.c: InstalledDir: /usr/bin
dec.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.
dec.c: clang: note: diagnostic msg:
dec.c: ********************
dec.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
dec.c: dec.c:714:89: warning: for loop has empty body [-Wempty-body]
dec.c: for(i=0; i<(1<<(ErrorBasisDimension+1))+2; i++) Kclear(allcandidates[i]);
dec.c: ^
dec.c: dec.c:714:89: note: put the semicolon on a separate line to silence this warning
dec.c: dec.c:594:76: warning: for loop has empty body [-Wempty-body]
dec.c: for(i=0; i<(1<<(ErrorBasisDimension+1))+2; i++) Kinit(allcandidates[i]);
dec.c: ^
dec.c: dec.c:594:76: note: put the semicolon on a separate line to silence this warning
dec.c: dec.c:599:56: warning: for loop has empty body [-Wempty-body]
dec.c: for(i=0; i<NrColumns; i++) Kinit(Ciphertext.cph[i]);
dec.c: ^
dec.c: dec.c:599:56: note: put the semicolon on a separate line to silence this warning
dec.c: fatal error: error in backend: Cannot select: 0x564f940e2cc0: v32i16 = X86ISD::VBROADCAST 0x564f9417e6d0
dec.c: 0x564f9417e6d0: i16 = truncate 0x564f941bafd0
dec.c: 0x564f941bafd0: i64,ch = CopyFromReg 0x564f94052e10, Register:i64 %vreg16
dec.c: 0x564f9417ee90: i64 = Register %vreg16
dec.c: In function: randomOrthogonalBinMatrix
dec.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
dec.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
dec.c: Target: x86_64-pc-linux-gnu
dec.c: Thread model: posix
dec.c: InstalledDir: /usr/bin
dec.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.
dec.c: clang: note: diagnostic msg:
dec.c: ********************
dec.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
dec.c: dec.c:714:89: warning: for loop has empty body [-Wempty-body]
dec.c: for(i=0; i<(1<<(ErrorBasisDimension+1))+2; i++) Kclear(allcandidates[i]);
dec.c: ^
dec.c: dec.c:714:89: note: put the semicolon on a separate line to silence this warning
dec.c: dec.c:594:76: warning: for loop has empty body [-Wempty-body]
dec.c: for(i=0; i<(1<<(ErrorBasisDimension+1))+2; i++) Kinit(allcandidates[i]);
dec.c: ^
dec.c: dec.c:594:76: note: put the semicolon on a separate line to silence this warning
dec.c: dec.c:599:56: warning: for loop has empty body [-Wempty-body]
dec.c: for(i=0; i<NrColumns; i++) Kinit(Ciphertext.cph[i]);
dec.c: ^
dec.c: dec.c:599:56: note: put the semicolon on a separate line to silence this warning
dec.c: 3 warnings generated.
mpfq_2_128.c: mpfq_2_128.c:154:35: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
mpfq_2_128.c: int ret = mpn_set_str(zz, tmp, len, k->io_type);
mpfq_2_128.c: ^~~
mpfq_2_128.c: /dev/shm/supercop-20201130/supercop-data/cel02/amd64/include/gmp.h:1595:68: note: passing argument to parameter here
mpfq_2_128.c: __GMP_DECLSPEC mp_size_t mpn_set_str (mp_ptr, const unsigned char *, size_t, int);
mpfq_2_128.c: ^
mpfq_2_128.c: 1 warning generated.

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