Implementation notes: amd64, cel02, crypto_kem/frodokem640aes

Computer: cel02
Architecture: amd64
CPU ID: GenuineIntel-00050657-bfebfbff
SUPERCOP version: 20201130
Operation: crypto_kem
Primitive: frodokem640aes
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
590382218080 28 045488 904 1576T:optimizedclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121120201130
632592010811 42 036399 944 1608T:x64gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
68746109847 42 034503 936 1576T:x64gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
764572644790 42 073415 944 1640T:x64gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
1106338011738 42 037271 944 1608T:x64gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
175916608569 42 034087 936 1576T:optimizedgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
185158489888 42 036807 944 1608T:optimizedgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
2860555443160 42 073255 944 1640T:optimizedgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
340131829522 42 036031 944 1608T:optimizedgcc_-march=native_-mtune=native_-O_-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
frodo640.c: fatal error: error in backend: Cannot select: 0x55f49c039310: v32i16 = scalar_to_vector Constant:i16<1>
frodo640.c: 0x55f49c18f820: i16 = Constant<1>
frodo640.c: In function: frodo_mul_add_as_plus_e
frodo640.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
frodo640.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
frodo640.c: Target: x86_64-pc-linux-gnu
frodo640.c: Thread model: posix
frodo640.c: InstalledDir: /usr/bin
frodo640.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.
frodo640.c: clang: note: diagnostic msg:
frodo640.c: ********************
frodo640.c:
frodo640.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
frodo640.c: Preprocessed source(s) and associated run script(s) are located at:
frodo640.c: clang: note: diagnostic msg: /tmp/frodo640-a8dc6f.c
frodo640.c: clang: note: diagnostic msg: /tmp/frodo640-a8dc6f.sh
frodo640.c: clang: note: diagnostic msg:
frodo640.c:
frodo640.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
frodo640.c: fatal error: error in backend: Cannot select: 0x55d9b35d7330: v32i16 = scalar_to_vector Constant:i16<1>
frodo640.c: 0x55d9b36388c0: i16 = Constant<1>
frodo640.c: In function: frodo_mul_add_as_plus_e
frodo640.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
frodo640.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
frodo640.c: Target: x86_64-pc-linux-gnu
frodo640.c: Thread model: posix
frodo640.c: InstalledDir: /usr/bin
frodo640.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.
frodo640.c: clang: note: diagnostic msg:
frodo640.c: ********************
frodo640.c:
frodo640.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
frodo640.c: Preprocessed source(s) and associated run script(s) are located at:
frodo640.c: clang: note: diagnostic msg: /tmp/frodo640-04c3c5.c
frodo640.c: clang: note: diagnostic msg: /tmp/frodo640-04c3c5.sh
frodo640.c: clang: note: diagnostic msg:
frodo640.c:
frodo640.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
frodo640.c: fatal error: error in backend: Cannot select: 0x55c083242cc0: v32i16 = scalar_to_vector Constant:i16<1>
frodo640.c: 0x55c083267ed0: i16 = Constant<1>
frodo640.c: In function: frodo_mul_add_as_plus_e
frodo640.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
frodo640.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
frodo640.c: Target: x86_64-pc-linux-gnu
frodo640.c: Thread model: posix
frodo640.c: InstalledDir: /usr/bin
frodo640.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.
frodo640.c: clang: note: diagnostic msg:
frodo640.c: ********************
frodo640.c:
frodo640.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
frodo640.c: Preprocessed source(s) and associated run script(s) are located at:
frodo640.c: clang: note: diagnostic msg: /tmp/frodo640-b7607f.c
frodo640.c: clang: note: diagnostic msg: /tmp/frodo640-b7607f.sh
frodo640.c: clang: note: diagnostic msg:
frodo640.c:
frodo640.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
frodo640.c: fatal error: error in backend: Cannot select: 0x55faf1edbc00: v32i16 = scalar_to_vector Constant:i16<1>
frodo640.c: 0x55faf1eefa90: i16 = Constant<1>
frodo640.c: In function: frodo_mul_add_as_plus_e
frodo640.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
frodo640.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
frodo640.c: Target: x86_64-pc-linux-gnu
frodo640.c: Thread model: posix
frodo640.c: InstalledDir: /usr/bin
frodo640.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.
frodo640.c: clang: note: diagnostic msg:
frodo640.c: ********************
frodo640.c:
frodo640.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
frodo640.c: Preprocessed source(s) and associated run script(s) are located at:
frodo640.c: clang: note: diagnostic msg: /tmp/frodo640-c89c37.c
frodo640.c: clang: note: diagnostic msg: /tmp/frodo640-c89c37.sh
frodo640.c: clang: note: diagnostic msg:
frodo640.c:
frodo640.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
frodo640.c: fatal error: error in backend: Cannot select: 0x55c523c36710: v32i16 = scalar_to_vector Constant:i16<1>
frodo640.c: 0x55c523cd3480: i16 = Constant<1>
frodo640.c: In function: frodo_mul_add_as_plus_e
frodo640.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
frodo640.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
frodo640.c: Target: x86_64-pc-linux-gnu
frodo640.c: Thread model: posix
frodo640.c: InstalledDir: /usr/bin
frodo640.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.
frodo640.c: clang: note: diagnostic msg:
frodo640.c: ********************
frodo640.c:
frodo640.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
frodo640.c: Preprocessed source(s) and associated run script(s) are located at:
frodo640.c: clang: note: diagnostic msg: /tmp/frodo640-af66a5.c
frodo640.c: clang: note: diagnostic msg: /tmp/frodo640-af66a5.sh
frodo640.c: clang: note: diagnostic msg:
frodo640.c:
frodo640.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
frodo640.c: fatal error: error in backend: Cannot select: 0x55bd92bee030: v32i16 = scalar_to_vector Constant:i16<1>
frodo640.c: 0x55bd92b6ee90: i16 = Constant<1>
frodo640.c: In function: frodo_mul_add_as_plus_e
frodo640.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
frodo640.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
frodo640.c: Target: x86_64-pc-linux-gnu
frodo640.c: Thread model: posix
frodo640.c: InstalledDir: /usr/bin
frodo640.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.
frodo640.c: clang: note: diagnostic msg:
frodo640.c: ********************
frodo640.c:
frodo640.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
frodo640.c: Preprocessed source(s) and associated run script(s) are located at:
frodo640.c: clang: note: diagnostic msg: /tmp/frodo640-27edee.c
frodo640.c: clang: note: diagnostic msg: /tmp/frodo640-27edee.sh
frodo640.c: clang: note: diagnostic msg:
frodo640.c:
frodo640.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
frodo640.c: fatal error: error in backend: Cannot select: 0x562e7ef70540: v32i16 = scalar_to_vector Constant:i16<1>
frodo640.c: 0x562e7eea0c40: i16 = Constant<1>
frodo640.c: In function: frodo_mul_add_as_plus_e
frodo640.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
frodo640.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
frodo640.c: Target: x86_64-pc-linux-gnu
frodo640.c: Thread model: posix
frodo640.c: InstalledDir: /usr/bin
frodo640.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.
frodo640.c: clang: note: diagnostic msg:
frodo640.c: ********************
frodo640.c:
frodo640.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
frodo640.c: Preprocessed source(s) and associated run script(s) are located at:
frodo640.c: clang: note: diagnostic msg: /tmp/frodo640-6dee69.c
frodo640.c: clang: note: diagnostic msg: /tmp/frodo640-6dee69.sh
frodo640.c: clang: note: diagnostic msg:
frodo640.c:
frodo640.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
frodo640.c: fatal error: error in backend: Cannot select: 0x560c83be2780: v32i16 = scalar_to_vector Constant:i16<1>
frodo640.c: 0x560c83be9920: i16 = Constant<1>
frodo640.c: In function: frodo_mul_add_as_plus_e
frodo640.c: clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
frodo640.c: clang version 3.8.1-24 (tags/RELEASE_381/final)
frodo640.c: Target: x86_64-pc-linux-gnu
frodo640.c: Thread model: posix
frodo640.c: InstalledDir: /usr/bin
frodo640.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.
frodo640.c: clang: note: diagnostic msg:
frodo640.c: ********************
frodo640.c:
frodo640.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
frodo640.c: Preprocessed source(s) and associated run script(s) are located at:
frodo640.c: clang: note: diagnostic msg: /tmp/frodo640-744f6e.c
frodo640.c: clang: note: diagnostic msg: /tmp/frodo640-744f6e.sh
frodo640.c: clang: note: diagnostic msg:
frodo640.c:
frodo640.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
aes_ni.c: aes_ni.c:35:16: error: '__builtin_ia32_aeskeygenassist128' needs target feature aes
aes_ni.c: schedule[1] = key_exp(schedule[0], 0x01);
aes_ni.c: ^
aes_ni.c: aes_ni.c:28:40: note: expanded from macro 'key_exp'
aes_ni.c: #define key_exp(k, rcon) key_expand(k, _mm_aeskeygenassist_si128(k, rcon))
aes_ni.c: ^
aes_ni.c: /usr/lib/llvm-3.8/bin/../lib/clang/3.8.1/include/__wmmintrin_aes.h:62:12: note: expanded from macro '_mm_aeskeygenassist_si128'
aes_ni.c: (__m128i)__builtin_ia32_aeskeygenassist128((__v2di)(__m128i)(C), (int)(R))
aes_ni.c: ^
aes_ni.c: aes_ni.c:36:16: error: '__builtin_ia32_aeskeygenassist128' needs target feature aes
aes_ni.c: schedule[2] = key_exp(schedule[1], 0x02);
aes_ni.c: ^
aes_ni.c: aes_ni.c:28:40: note: expanded from macro 'key_exp'
aes_ni.c: #define key_exp(k, rcon) key_expand(k, _mm_aeskeygenassist_si128(k, rcon))
aes_ni.c: ^
aes_ni.c: /usr/lib/llvm-3.8/bin/../lib/clang/3.8.1/include/__wmmintrin_aes.h:62:12: note: expanded from macro '_mm_aeskeygenassist_si128'
aes_ni.c: (__m128i)__builtin_ia32_aeskeygenassist128((__v2di)(__m128i)(C), (int)(R))
aes_ni.c: ^
aes_ni.c: aes_ni.c:37:16: error: '__builtin_ia32_aeskeygenassist128' needs target feature aes
aes_ni.c: schedule[3] = key_exp(schedule[2], 0x04);
aes_ni.c: ^
aes_ni.c: aes_ni.c:28:40: note: expanded from macro 'key_exp'
aes_ni.c: #define key_exp(k, rcon) key_expand(k, _mm_aeskeygenassist_si128(k, rcon))
aes_ni.c: ^
aes_ni.c: /usr/lib/llvm-3.8/bin/../lib/clang/3.8.1/include/__wmmintrin_aes.h:62:12: note: expanded from macro '_mm_aeskeygenassist_si128'
aes_ni.c: ...

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