Implementation notes: amd64, cel02, crypto_kem/edonk192k32n128nu4l6

Computer: cel02
Architecture: amd64
CPU ID: GenuineIntel-00050657-bfebfbff
SUPERCOP version: 20201130
Operation: crypto_kem
Primitive: edonk192k32n128nu4l6
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2994259835031 0 082342 1128 1632T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121120201130
5580292426692 0 072536 1120 1632T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121120201130
5580356233173 0 080341 1152 1688T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-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: 0x55b43a0d1e60: v32i16 = X86ISD::VBROADCAST 0x55b43a134210
dec.c: 0x55b43a134210: i16 = truncate 0x55b43a12b6e0
dec.c: 0x55b43a12b6e0: i64,ch = CopyFromReg 0x55b439fd9440, Register:i64 %vreg16
dec.c: 0x55b43a0cf550: 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: 0x561ac8e4f4e0: v32i16 = X86ISD::VBROADCAST 0x561ac8e0de80
dec.c: 0x561ac8e0de80: i16 = truncate 0x561ac8e63dc0
dec.c: 0x561ac8e63dc0: i64,ch = CopyFromReg 0x561ac8cfd530, Register:i64 %vreg16
dec.c: 0x561ac8e50a50: 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: 0x55c533eac400: v32i16 = X86ISD::VBROADCAST 0x55c533ed5e80
dec.c: 0x55c533ed5e80: i16 = truncate 0x55c533ecd350
dec.c: 0x55c533ecd350: i64,ch = CopyFromReg 0x55c533d7b460, Register:i64 %vreg16
dec.c: 0x55c533ea9af0: 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_192.c: mpfq_2_192.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_192.c: int ret = mpn_set_str(zz, tmp, len, k->io_type);
mpfq_2_192.c: ^~~
mpfq_2_192.c: /dev/shm/supercop-20201130/supercop-data/cel02/amd64/include/gmp.h:1595:68: note: passing argument to parameter here
mpfq_2_192.c: __GMP_DECLSPEC mp_size_t mpn_set_str (mp_ptr, const unsigned char *, size_t, int);
mpfq_2_192.c: ^
mpfq_2_192.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