Implementation notes: amd64, cel02, crypto_kem/frodokem976aes

Computer: cel02
Architecture: amd64
CPU ID: GenuineIntel-00050657-bfebfbff
SUPERCOP version: 20201130
Operation: crypto_kem
Primitive: frodokem976aes
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1012423445444 38 074087 936 1640T:x64gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
1818516416025 24 043512 896 1576T:optimizedclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121120201130
2087058010948 38 036559 936 1608T:x64gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
222975009852 38 034503 928 1576T:x64gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
2316493211816 38 037383 936 1608T:x64gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
3267598443830 38 073943 936 1640T:optimizedgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
384225308566 38 034087 928 1576T:optimizedgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
694055149928 38 036887 936 1608T:optimizedgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121120201130
712853749631 38 036159 936 1608T:optimizedgcc_-march=native_-mtune=native_-O_-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
d518a0e46c231d4ee183650ee81645123fd444e9a62791861af4c8120f8360e4
Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:optimized 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: 0x55d89c366a90: v32i16 = scalar_to_vector Constant:i16<1>
frodo976.c: 0x55d89c367d00: 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-c45ce6.c
frodo976.c: clang: note: diagnostic msg: /tmp/frodo976-c45ce6.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: 0x556e07082400: v32i16 = scalar_to_vector Constant:i16<1>
frodo976.c: 0x556e07081fd0: 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-10c0cf.c
frodo976.c: clang: note: diagnostic msg: /tmp/frodo976-10c0cf.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: 0x55825dc3d120: v32i16 = scalar_to_vector Constant:i16<1>
frodo976.c: 0x55825dc92c00: 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-4e51a7.c
frodo976.c: clang: note: diagnostic msg: /tmp/frodo976-4e51a7.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: 0x55884d1b7a60: v32i16 = scalar_to_vector Constant:i16<1>
frodo976.c: 0x55884d1faa40: 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-bd363a.c
frodo976.c: clang: note: diagnostic msg: /tmp/frodo976-bd363a.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: 0x55ecb6d96930: v32i16 = scalar_to_vector Constant:i16<1>
frodo976.c: 0x55ecb6d96500: 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-c1d402.c
frodo976.c: clang: note: diagnostic msg: /tmp/frodo976-c1d402.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: 0x55ff5d769d40: v32i16 = scalar_to_vector Constant:i16<1>
frodo976.c: 0x55ff5d767660: 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-4b8163.c
frodo976.c: clang: note: diagnostic msg: /tmp/frodo976-4b8163.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
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