Implementation notes: amd64, cel02, crypto_kem/frodokem976

Computer: cel02
Architecture: amd64
CPU ID: GenuineIntel-00050657-bfebfbff
SUPERCOP version: 20201130
Operation: crypto_kem
Primitive: frodokem976
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
12959648109224 0 038319 888 1608T:x64gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
15464590229908 0 085271 888 1640T:x64gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
1744446219535 0 844920 864 1576T:optimizedclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121120201130
23682556107380 0 037543 888 1608T:x64gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
24895378106579 0 035239 880 1576T:x64gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
5681138412078 38 837447 936 1608T:referencegcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
5735961011646 38 836679 936 1608T:referencegcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
6353475858726 0 885127 888 1640T:optimizedgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
7037565020543 24 845968 896 1576T:referenceclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121120201130
8313714012227 0 837271 888 1608T:optimizedgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
8382026012652 0 838047 888 1608T:optimizedgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
8683802653262 38 879599 936 1640T:referencegcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
8746268610782 0 834967 880 1576T:optimizedgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
9444996610191 38 834423 928 1576T:referencegcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130

Checksum failure

Implementation: T:optimized
Security model: timingleaks
Compiler: clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
509c80066018d411e89f6e3126839df2860116f405ee32c3dd3930fc50ef87e8
Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:optimized T:reference T:x64

Compiler output

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

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

Compiler output

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

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

Compiler output

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

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

Compiler output

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