Implementation notes: amd64, cel02, crypto_kem/frodokem1344shake

Computer: cel02
Architecture: amd64
CPU ID: GenuineIntel-00050657-bfebfbff
SUPERCOP version: 20201130
Operation: crypto_kem
Primitive: frodokem1344shake
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
61929340177130 22 0206709 856 1640T:x64gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
68450842104926 22 0131365 856 1608T:x64gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
74438178103011 22 0128053 848 1576T:x64gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
77444626103703 22 0129781 856 1608T:x64gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
9103316615406 16 042226 824 1576T:optimizedclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121120201130
15490899042472 22 071869 856 1640T:optimizedgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
1609274788098 22 032981 848 1576T:optimizedgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
2878165329307 22 035213 856 1608T:optimizedgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
3375047029617 22 035925 856 1608T:optimizedgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130

Compiler output

Implementation: T:optimized
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
frodo1344.c: fatal error: error in backend: Cannot select: 0x5588cb637470: v32i16 = scalar_to_vector Constant:i16<1>
frodo1344.c: 0x5588cb62eb90: i16 = Constant<1>
frodo1344.c: In function: frodo_mul_add_as_plus_e
frodo1344.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
frodo1344.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
frodo1344.c: Target: x86_64-pc-linux-gnu
frodo1344.c: Thread model: posix
frodo1344.c: InstalledDir: /usr/bin
frodo1344.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.
frodo1344.c: clang: note: diagnostic msg:
frodo1344.c: ********************
frodo1344.c:
frodo1344.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
frodo1344.c: Preprocessed source(s) and associated run script(s) are located at:
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-7cfb86.c
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-7cfb86.sh
frodo1344.c: clang: note: diagnostic msg:
frodo1344.c:
frodo1344.c: ********************

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

Compiler output

Implementation: T:optimized
Security model: timingleaks
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
frodo1344.c: fatal error: error in backend: Cannot select: 0x56078d47df50: v32i16 = scalar_to_vector Constant:i16<1>
frodo1344.c: 0x56078d459e30: i16 = Constant<1>
frodo1344.c: In function: frodo_mul_add_as_plus_e
frodo1344.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
frodo1344.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
frodo1344.c: Target: x86_64-pc-linux-gnu
frodo1344.c: Thread model: posix
frodo1344.c: InstalledDir: /usr/bin
frodo1344.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.
frodo1344.c: clang: note: diagnostic msg:
frodo1344.c: ********************
frodo1344.c:
frodo1344.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
frodo1344.c: Preprocessed source(s) and associated run script(s) are located at:
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-6e6ffd.c
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-6e6ffd.sh
frodo1344.c: clang: note: diagnostic msg:
frodo1344.c:
frodo1344.c: ********************

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

Compiler output

Implementation: T:optimized
Security model: timingleaks
Compiler: clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
frodo1344.c: fatal error: error in backend: Cannot select: 0x558f6195e720: v32i16 = scalar_to_vector Constant:i16<1>
frodo1344.c: 0x558f6194c940: i16 = Constant<1>
frodo1344.c: In function: frodo_mul_add_as_plus_e
frodo1344.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
frodo1344.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
frodo1344.c: Target: x86_64-pc-linux-gnu
frodo1344.c: Thread model: posix
frodo1344.c: InstalledDir: /usr/bin
frodo1344.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.
frodo1344.c: clang: note: diagnostic msg:
frodo1344.c: ********************
frodo1344.c:
frodo1344.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
frodo1344.c: Preprocessed source(s) and associated run script(s) are located at:
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-ca9c2b.c
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-ca9c2b.sh
frodo1344.c: clang: note: diagnostic msg:
frodo1344.c:
frodo1344.c: ********************

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

Compiler output

Implementation: T:optimized
Security model: timingleaks
Compiler: clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
frodo1344.c: fatal error: error in backend: Cannot select: 0x5634f82599e0: v32i16 = scalar_to_vector Constant:i16<1>
frodo1344.c: 0x5634f827a9c0: i16 = Constant<1>
frodo1344.c: In function: frodo_mul_add_as_plus_e
frodo1344.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
frodo1344.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
frodo1344.c: Target: x86_64-pc-linux-gnu
frodo1344.c: Thread model: posix
frodo1344.c: InstalledDir: /usr/bin
frodo1344.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.
frodo1344.c: clang: note: diagnostic msg:
frodo1344.c: ********************
frodo1344.c:
frodo1344.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
frodo1344.c: Preprocessed source(s) and associated run script(s) are located at:
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-e7af62.c
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-e7af62.sh
frodo1344.c: clang: note: diagnostic msg:
frodo1344.c:
frodo1344.c: ********************

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

Compiler output

Implementation: T:x64
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
frodo1344.c: fatal error: error in backend: Cannot select: 0x55df75ce0af0: v32i16 = scalar_to_vector Constant:i16<1>
frodo1344.c: 0x55df75c9b330: i16 = Constant<1>
frodo1344.c: In function: frodo_mul_add_as_plus_e
frodo1344.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
frodo1344.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
frodo1344.c: Target: x86_64-pc-linux-gnu
frodo1344.c: Thread model: posix
frodo1344.c: InstalledDir: /usr/bin
frodo1344.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.
frodo1344.c: clang: note: diagnostic msg:
frodo1344.c: ********************
frodo1344.c:
frodo1344.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
frodo1344.c: Preprocessed source(s) and associated run script(s) are located at:
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-8225b6.c
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-8225b6.sh
frodo1344.c: clang: note: diagnostic msg:
frodo1344.c:
frodo1344.c: ********************

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

Compiler output

Implementation: T:x64
Security model: timingleaks
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
frodo1344.c: fatal error: error in backend: Cannot select: 0x56075d379390: v32i16 = scalar_to_vector Constant:i16<1>
frodo1344.c: 0x56075d379ab0: i16 = Constant<1>
frodo1344.c: In function: frodo_mul_add_as_plus_e
frodo1344.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
frodo1344.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
frodo1344.c: Target: x86_64-pc-linux-gnu
frodo1344.c: Thread model: posix
frodo1344.c: InstalledDir: /usr/bin
frodo1344.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.
frodo1344.c: clang: note: diagnostic msg:
frodo1344.c: ********************
frodo1344.c:
frodo1344.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
frodo1344.c: Preprocessed source(s) and associated run script(s) are located at:
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-d6ff87.c
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-d6ff87.sh
frodo1344.c: clang: note: diagnostic msg:
frodo1344.c:
frodo1344.c: ********************

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

Compiler output

Implementation: T:x64
Security model: timingleaks
Compiler: clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
frodo1344.c: fatal error: error in backend: Cannot select: 0x55652f65cff0: v32i16 = scalar_to_vector Constant:i16<1>
frodo1344.c: 0x55652f698ae0: i16 = Constant<1>
frodo1344.c: In function: frodo_mul_add_as_plus_e
frodo1344.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
frodo1344.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
frodo1344.c: Target: x86_64-pc-linux-gnu
frodo1344.c: Thread model: posix
frodo1344.c: InstalledDir: /usr/bin
frodo1344.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.
frodo1344.c: clang: note: diagnostic msg:
frodo1344.c: ********************
frodo1344.c:
frodo1344.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
frodo1344.c: Preprocessed source(s) and associated run script(s) are located at:
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-fa7b8b.c
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-fa7b8b.sh
frodo1344.c: clang: note: diagnostic msg:
frodo1344.c:
frodo1344.c: ********************

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

Compiler output

Implementation: T:x64
Security model: timingleaks
Compiler: clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
frodo1344.c: fatal error: error in backend: Cannot select: 0x562535de4c20: v32i16 = scalar_to_vector Constant:i16<1>
frodo1344.c: 0x562535df8b30: i16 = Constant<1>
frodo1344.c: In function: frodo_mul_add_as_plus_e
frodo1344.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
frodo1344.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
frodo1344.c: Target: x86_64-pc-linux-gnu
frodo1344.c: Thread model: posix
frodo1344.c: InstalledDir: /usr/bin
frodo1344.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.
frodo1344.c: clang: note: diagnostic msg:
frodo1344.c: ********************
frodo1344.c:
frodo1344.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
frodo1344.c: Preprocessed source(s) and associated run script(s) are located at:
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-c3bd36.c
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-c3bd36.sh
frodo1344.c: clang: note: diagnostic msg:
frodo1344.c:
frodo1344.c: ********************

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

Compiler output

Implementation: T:x64
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
KeccakP-1600-times4-SIMD256.c: KeccakP-1600-times4-SIMD256.c:146:9: error: always_inline function '_mm256_loadu_si256' requires target feature 'sse4.2', but would be inlined into function 'KeccakP1600times4_AddLanesAll' that is compiled without support for 'sse4.2'
KeccakP-1600-times4-SIMD256.c: Xor_In4( 0 );
KeccakP-1600-times4-SIMD256.c: ^
KeccakP-1600-times4-SIMD256.c: KeccakP-1600-times4-SIMD256.c:135:42: note: expanded from macro 'Xor_In4'
KeccakP-1600-times4-SIMD256.c: #define Xor_In4( argIndex ) lanes0 = LOAD256u( curData0[argIndex]),\
KeccakP-1600-times4-SIMD256.c: ^
KeccakP-1600-times4-SIMD256.c: KeccakP-1600-times4-SIMD256.c:44:37: note: expanded from macro 'LOAD256u'
KeccakP-1600-times4-SIMD256.c: #define LOAD256u(a) _mm256_loadu_si256((const V256 *)&(a))
KeccakP-1600-times4-SIMD256.c: ^
KeccakP-1600-times4-SIMD256.c: KeccakP-1600-times4-SIMD256.c:146:9: error: always_inline function '_mm256_loadu_si256' requires target feature 'sse4.2', but would be inlined into function 'KeccakP1600times4_AddLanesAll' that is compiled without support for 'sse4.2'
KeccakP-1600-times4-SIMD256.c: KeccakP-1600-times4-SIMD256.c:136:42: note: expanded from macro 'Xor_In4'
KeccakP-1600-times4-SIMD256.c: lanes1 = LOAD256u( curData1[argIndex]),\
KeccakP-1600-times4-SIMD256.c: ^
KeccakP-1600-times4-SIMD256.c: KeccakP-1600-times4-SIMD256.c:44:37: note: expanded from macro 'LOAD256u'
KeccakP-1600-times4-SIMD256.c: #define LOAD256u(a) _mm256_loadu_si256((const V256 *)&(a))
KeccakP-1600-times4-SIMD256.c: ^
KeccakP-1600-times4-SIMD256.c: KeccakP-1600-times4-SIMD256.c:146:9: error: always_inline function '_mm256_loadu_si256' requires target feature 'sse4.2', but would be inlined into function 'KeccakP1600times4_AddLanesAll' that is compiled without support for 'sse4.2'
KeccakP-1600-times4-SIMD256.c: KeccakP-1600-times4-SIMD256.c:137:42: note: expanded from macro 'Xor_In4'
KeccakP-1600-times4-SIMD256.c: lanes2 = LOAD256u( curData2[argIndex]),\
KeccakP-1600-times4-SIMD256.c: ^
KeccakP-1600-times4-SIMD256.c: KeccakP-1600-times4-SIMD256.c:44:37: note: expanded from macro 'LOAD256u'
KeccakP-1600-times4-SIMD256.c: #define LOAD256u(a) _mm256_loadu_si256((const V256 *)&(a))
KeccakP-1600-times4-SIMD256.c: ^
KeccakP-1600-times4-SIMD256.c: KeccakP-1600-times4-SIMD256.c:146:9: error: always_inline function '_mm256_loadu_si256' requires target feature 'sse4.2', but would be inlined into function 'KeccakP1600times4_AddLanesAll' that is compiled without support for 'sse4.2'
KeccakP-1600-times4-SIMD256.c: KeccakP-1600-times4-SIMD256.c:138:42: note: expanded from macro 'Xor_In4'
KeccakP-1600-times4-SIMD256.c: ...

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