Implementation notes: amd64, hydra7, crypto_kem/frodokem1344aes

Computer: hydra7
Microarchitecture: amd64; Sandy Bridge+AES (206a7)
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_kem
Primitive: frodokem1344aes
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1770387334648 22 053790 908 1760T:optimizedgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
8415533210894 22 028854 908 1760T:optimizedgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
10663502910470 22 028062 908 1760T:optimizedgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
1074099159438 22 025894 900 1728T:optimizedgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625

Compiler output


frodo1344.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:47,
frodo1344.c:                  from frodo_macrify.inc:8,
frodo1344.c:                  from frodo1344.c:33:
frodo1344.c: frodo_macrify.inc: In function 'frodo_mul_add_sa_plus_e':
frodo1344.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx2intrin.h:112:1: error: inlining failed in call to 'always_inline' '_mm256_add_epi16': target specific option mismatch
frodo1344.c:   112 | _mm256_add_epi16 (__m256i __A, __m256i __B)
frodo1344.c:       | ^~~~~~~~~~~~~~~~
frodo1344.c: In file included from frodo1344.c:33:
frodo1344.c: frodo_macrify.inc:122:30: note: called from here
frodo1344.c:   122 |                     acc[3] = _mm256_add_epi16(a[3], acc[3]);
frodo1344.c:       |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
frodo1344.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:47,
frodo1344.c:                  from frodo_macrify.inc:8,
frodo1344.c:                  from frodo1344.c:33:
frodo1344.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx2intrin.h:341:1: error: inlining failed in call to 'always_inline' '_mm256_madd_epi16': target specific option mismatch
frodo1344.c:   341 | _mm256_madd_epi16 (__m256i __A, __m256i __B)
frodo1344.c:       | ^~~~~~~~~~~~~~~~~
frodo1344.c: In file included from frodo1344.c:33:
frodo1344.c: frodo_macrify.inc:121:28: note: called from here
frodo1344.c:   121 |                     a[3] = _mm256_madd_epi16(a[3], b);
frodo1344.c:       |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
frodo1344.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:47,
frodo1344.c:                  from frodo_macrify.inc:8,
frodo1344.c:                  from frodo1344.c:33:
frodo1344.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx2intrin.h:112:1: error: inlining failed in call to 'always_inline' '_mm256_add_epi16': target specific option mismatch
frodo1344.c: ...

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