Implementation notes: amd64, cel02, crypto_kem/frodokem976shake

Computer: cel02
Architecture: amd64
CPU ID: GenuineIntel-00050657-bfebfbff
SUPERCOP version: 20201130
Operation: crypto_kem
Primitive: frodokem976shake
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
20227442176582 38 0204557 880 1640T:x64gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
40747656106324 38 0131253 880 1608T:x64gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
43807562104640 38 0129653 880 1608T:x64gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
44546448103961 38 0128037 872 1576T:x64gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
5108511415145 24 041834 840 1576T:optimizedclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121120201130
8422394240438 38 069701 880 1640T:optimizedgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
915471949640 38 035813 880 1608T:optimizedgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
1509592469317 38 035085 880 1608T:optimizedgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
1656706968197 38 032965 872 1576T:optimizedgcc_-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
cad8afe497fb78b6e0944bc0dc64c2ed3b67070955d3beaaed438d84dc1585cb
Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:optimized

Checksum failure

Implementation: T:x64
Security model: timingleaks
Compiler: clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
7782c383e8f29bd66c5537cae253239544443580f1d36a807a81f2fd54c9d308
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: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: 0x564c35700000: v32i16 = scalar_to_vector Constant:i16<1>
frodo976.c: 0x564c356d33f0: 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-869075.c
frodo976.c: clang: note: diagnostic msg: /tmp/frodo976-869075.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: 0x55c3008d8fd0: v32i16 = scalar_to_vector Constant:i16<1>
frodo976.c: 0x55c3008d4950: 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-72f89d.c
frodo976.c: clang: note: diagnostic msg: /tmp/frodo976-72f89d.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: 0x559e42f48660: v32i16 = scalar_to_vector Constant:i16<1>
frodo976.c: 0x559e42df32a0: 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-3907fd.c
frodo976.c: clang: note: diagnostic msg: /tmp/frodo976-3907fd.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: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: 0x55613665db20: v32i16 = scalar_to_vector Constant:i16<1>
frodo976.c: 0x556136643170: 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-60e830.c
frodo976.c: clang: note: diagnostic msg: /tmp/frodo976-60e830.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: 0x562598a38e40: v32i16 = scalar_to_vector Constant:i16<1>
frodo976.c: 0x562598a2c6f0: 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-af03e6.c
frodo976.c: clang: note: diagnostic msg: /tmp/frodo976-af03e6.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: 0x561a72b88140: v32i16 = scalar_to_vector Constant:i16<1>
frodo976.c: 0x561a72b39630: 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-e9e00a.c
frodo976.c: clang: note: diagnostic msg: /tmp/frodo976-e9e00a.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