Implementation notes: amd64, hydra7, crypto_core/weightsntrup1013

Computer: hydra7
Microarchitecture: amd64; Sandy Bridge+AES (206a7)
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_core
Primitive: weightsntrup1013
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
280323 0 014325 804 992refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2104188 0 012949 804 992refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2132190 0 012700 796 992refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2431168 0 011472 780 960refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625

Compiler output


weight.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:47,
weight.c:                  from weight.c:1:
weight.c: weight.c: In function 'crypto_core_weightsntrup1013_avx_constbranchindex':
weight.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx2intrin.h:105:1: error: inlining failed in call to 'always_inline' '_mm256_add_epi8': target specific option mismatch
weight.c:   105 | _mm256_add_epi8 (__m256i __A, __m256i __B)
weight.c:       | ^~~~~~~~~~~~~~~
weight.c: weight.c:26:11: note: called from here
weight.c:    26 |     sum = _mm256_add_epi8(sum,bits);
weight.c:       |           ^~~~~~~~~~~~~~~~~~~~~~~~~
weight.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:47,
weight.c:                  from weight.c:1:
weight.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx2intrin.h:105:1: error: inlining failed in call to 'always_inline' '_mm256_add_epi8': target specific option mismatch
weight.c:   105 | _mm256_add_epi8 (__m256i __A, __m256i __B)
weight.c:       | ^~~~~~~~~~~~~~~
weight.c: weight.c:26:11: note: called from here
weight.c:    26 |     sum = _mm256_add_epi8(sum,bits);
weight.c:       |           ^~~~~~~~~~~~~~~~~~~~~~~~~
weight.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:47,
weight.c:                  from weight.c:1:
weight.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx2intrin.h:287:1: error: inlining failed in call to 'always_inline' '_mm256_hadd_epi16': target specific option mismatch
weight.c:   287 | _mm256_hadd_epi16 (__m256i __X, __m256i __Y)
weight.c:       | ^~~~~~~~~~~~~~~~~
weight.c: weight.c:40:9: note: called from here
weight.c:    40 |   sum = _mm256_hadd_epi16(sum,sum);
weight.c:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
weight.c: ...

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

Passed TIMECOP


TIMECOP iterations: 1

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