Implementation notes: amd64, cel02, crypto_kem/frodokem1344aes

Computer: cel02
Architecture: amd64
CPU ID: GenuineIntel-00050657-bfebfbff
SUPERCOP version: 20201130
Operation: crypto_kem
Primitive: frodokem1344aes
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1706403845715 22 074343 912 1640T:x64gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
255153329869 22 034519 904 1576T:x64gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
2784021616283 16 043760 880 1576T:optimizedclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121120201130
3593981611067 22 036671 912 1608T:x64gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
3727707811932 22 037495 912 1608T:x64gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
7581931210062 22 037015 912 1608T:optimizedgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
11129773244101 22 074199 912 1640T:optimizedgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
1302677169762 22 036287 912 1608T:optimizedgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
1343451668586 22 034103 904 1576T:optimizedgcc_-march=native_-mtune=native_-Os_-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: 0x562aad660c80: v32i16 = scalar_to_vector Constant:i16<1>
frodo1344.c: 0x562aad666740: 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-fbce45.c
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-fbce45.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: 0x55641b7248c0: v32i16 = scalar_to_vector Constant:i16<1>
frodo1344.c: 0x55641b766c50: 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-33db02.c
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-33db02.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: 0x557da5138f00: v32i16 = scalar_to_vector Constant:i16<1>
frodo1344.c: 0x557da50f80d0: 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-fd563c.c
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-fd563c.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: 0x564fed0a7660: v32i16 = scalar_to_vector Constant:i16<1>
frodo1344.c: 0x564fed0c7db0: 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-2af51f.c
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-2af51f.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: 0x5583457baeb0: v32i16 = scalar_to_vector Constant:i16<1>
frodo1344.c: 0x55834563b810: 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-640709.c
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-640709.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: 0x557357e19d20: v32i16 = scalar_to_vector Constant:i16<1>
frodo1344.c: 0x557357e0f6e0: 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-9c398e.c
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-9c398e.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: 0x564681e3c5f0: v32i16 = scalar_to_vector Constant:i16<1>
frodo1344.c: 0x564681e8d760: 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-5980d3.c
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-5980d3.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: 0x5616e5fb96f0: v32i16 = scalar_to_vector Constant:i16<1>
frodo1344.c: 0x5616e5fc1110: 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-7c36ae.c
frodo1344.c: clang: note: diagnostic msg: /tmp/frodo1344-7c36ae.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
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