Test results for amd64, wooden, crypto_kem/frodokem640aes

[Page version: 20241030 00:12:07]

Measurements for amd64, wooden, crypto_kem Test results for amd64, wooden, crypto_kem Test results for crypto_kem/frodokem640aes
Computer: wooden
Microarchitecture: amd64; Goldmont (506c9)
Architecture: amd64
CPU ID: GenuineIntel-000506c9-1fc9cbf5
SUPERCOP version: 20241022
Operation: crypto_kem
Primitive: frodokem640aes
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
753742042155 42 061056 888 1600T:optimizedgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024073020240625
774707620094 28 038439 888 1568T:optimizedclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024073020240625
794323621666 28 042311 888 1568T:optimizedclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024073020240625
812029623699 28 042975 888 1568T:optimizedclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024073020240625
112956229849 28 026365 880 1568T:optimizedclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024073020240625
251847989883 28 026973 880 1568T:optimizedclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024073020240625
2761933810561 42 028368 888 1600T:optimizedgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024073020240625
339175008576 42 024840 880 1568T:optimizedgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024073020240625
609122929582 42 026976 888 1600T:optimizedgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024073020240625

Compiler output


frodo640.c: In file included from frodo640.c:32:
frodo640.c: ./frodo_macrify.inc:105:26: error: always_inline function '_mm256_setzero_si256' requires target feature 'avx', but would be inlined into function 'frodo_mul_add_sa_plus_e' that is compiled without support for 'avx'
frodo640.c:                 acc[0] = _mm256_setzero_si256();
frodo640.c:                          ^
frodo640.c: ./frodo_macrify.inc:105:26: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
frodo640.c: ./frodo_macrify.inc:106:26: error: always_inline function '_mm256_setzero_si256' requires target feature 'avx', but would be inlined into function 'frodo_mul_add_sa_plus_e' that is compiled without support for 'avx'
frodo640.c:                 acc[1] = _mm256_setzero_si256();
frodo640.c:                          ^
frodo640.c: ./frodo_macrify.inc:106:26: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
frodo640.c: ./frodo_macrify.inc:107:26: error: always_inline function '_mm256_setzero_si256' requires target feature 'avx', but would be inlined into function 'frodo_mul_add_sa_plus_e' that is compiled without support for 'avx'
frodo640.c:                 acc[2] = _mm256_setzero_si256();
frodo640.c:                          ^
frodo640.c: ./frodo_macrify.inc:107:26: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
frodo640.c: ./frodo_macrify.inc:108:26: error: always_inline function '_mm256_setzero_si256' requires target feature 'avx', but would be inlined into function 'frodo_mul_add_sa_plus_e' that is compiled without support for 'avx'
frodo640.c:                 acc[3] = _mm256_setzero_si256();
frodo640.c:                          ^
frodo640.c: ./frodo_macrify.inc:108:26: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
frodo640.c: ./frodo_macrify.inc:110:25: error: always_inline function '_mm256_load_si256' requires target feature 'avx', but would be inlined into function 'frodo_mul_add_sa_plus_e' that is compiled without support for 'avx'
frodo640.c:                     b = _mm256_load_si256((__m256i*)&s[i*PARAMS_N + j]);
frodo640.c:                         ^
frodo640.c: ./frodo_macrify.inc:110:25: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
frodo640.c: ./frodo_macrify.inc:111:28: error: always_inline function '_mm256_load_si256' requires target feature 'avx', but would be inlined into function 'frodo_mul_add_sa_plus_e' that is compiled without support for 'avx'
frodo640.c:                     a[0] = _mm256_load_si256((__m256i*)&a_cols_t[(k+0)*PARAMS_N + j]);
frodo640.c:                            ^
frodo640.c: ./frodo_macrify.inc:111:28: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
frodo640.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:x64clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:x64clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:x64clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:x64clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


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-11/lib/clang/11.0.1/include/__wmmintrin_aes.h:136: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-11/lib/clang/11.0.1/include/__wmmintrin_aes.h:136: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-11/lib/clang/11.0.1/include/__wmmintrin_aes.h:136:12: note: expanded from macro '_mm_aeskeygenassist_si128'
aes_ni.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:x64clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


frodo640.c: In file included from frodo640.c:32:
frodo640.c: frodo_macrify.inc: In function 'frodo_mul_add_sa_plus_e':
frodo640.c: frodo_macrify.inc:105:24: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
frodo640.c:   105 |                 acc[0] = _mm256_setzero_si256();
frodo640.c:       |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
frodo640.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
frodo640.c:                  from frodo_macrify.inc:8,
frodo640.c:                  from frodo640.c:32:
frodo640.c: /usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:1235:1: error: inlining failed in call to 'always_inline' '_mm256_setzero_si256': target specific option mismatch
frodo640.c:  1235 | _mm256_setzero_si256 (void)
frodo640.c:       | ^~~~~~~~~~~~~~~~~~~~
frodo640.c: In file included from frodo640.c:32:
frodo640.c: frodo_macrify.inc:108:26: note: called from here
frodo640.c:   108 |                 acc[3] = _mm256_setzero_si256();
frodo640.c:       |                          ^~~~~~~~~~~~~~~~~~~~~~
frodo640.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
frodo640.c:                  from frodo_macrify.inc:8,
frodo640.c:                  from frodo640.c:32:
frodo640.c: /usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:1235:1: error: inlining failed in call to 'always_inline' '_mm256_setzero_si256': target specific option mismatch
frodo640.c:  1235 | _mm256_setzero_si256 (void)
frodo640.c:       | ^~~~~~~~~~~~~~~~~~~~
frodo640.c: In file included from frodo640.c:32:
frodo640.c: frodo_macrify.inc:107:26: note: called from here
frodo640.c:   107 |                 acc[2] = _mm256_setzero_si256();
frodo640.c:       |                          ^~~~~~~~~~~~~~~~~~~~~~
frodo640.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:x64gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:x64gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:x64gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:x64gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)