Test results for amd64, hunsnivy, crypto_core/weightsntrup1277

[Page version: 20241023 21:21:55]

Measurements for amd64, hunsnivy, crypto_core Test results for amd64, hunsnivy, crypto_core Test results for crypto_core/weightsntrup1277
Computer: hunsnivy
Microarchitecture: amd64; Ivy Bridge+AES (306a9)
Architecture: amd64
CPU ID: GenuineIntel-000306a9-bfebfbff
SUPERCOP version: 20241022
Operation: crypto_core
Primitive: weightsntrup1277
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
3079106 0 012072 780 984refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024101320241011
3085106 0 013048 780 984refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024101320241011
3399108 0 015440 812 920refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024101320241011
3399109 0 013872 812 920refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024101320241011
3414109 0 011799 772 984refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024101320241011
3418108 0 013768 812 920refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024101320241011
5368101 0 010667 756 952refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024101320241011
5394101 0 011126 804 920refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024101320241011
9007207 0 011710 804 920refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024101320241011

Compiler output


weight.c: weight.c:26:11: error: always_inline function '_mm256_add_epi8' requires target feature 'avx2', but would be inlined into function 'crypto_core_weightsntrup1277_avx_constbranchindex' that is compiled without support for 'avx2'
weight.c:     sum = _mm256_add_epi8(sum,bits);
weight.c:           ^
weight.c: weight.c:31:11: error: always_inline function '_mm256_srli_epi16' requires target feature 'avx2', but would be inlined into function 'crypto_core_weightsntrup1277_avx_constbranchindex' that is compiled without support for 'avx2'
weight.c:   sumhi = _mm256_srli_epi16(sum,8);
weight.c:           ^
weight.c: weight.c:33:9: error: always_inline function '_mm256_add_epi16' requires target feature 'avx2', but would be inlined into function 'crypto_core_weightsntrup1277_avx_constbranchindex' that is compiled without support for 'avx2'
weight.c:   sum = _mm256_add_epi16(sum,sumhi);
weight.c:         ^
weight.c: weight.c:36:9: error: always_inline function '_mm256_hadd_epi16' requires target feature 'avx2', but would be inlined into function 'crypto_core_weightsntrup1277_avx_constbranchindex' that is compiled without support for 'avx2'
weight.c:   sum = _mm256_hadd_epi16(sum,sum);
weight.c:         ^
weight.c: weight.c:38:9: error: always_inline function '_mm256_hadd_epi16' requires target feature 'avx2', but would be inlined into function 'crypto_core_weightsntrup1277_avx_constbranchindex' that is compiled without support for 'avx2'
weight.c:   sum = _mm256_hadd_epi16(sum,sum);
weight.c:         ^
weight.c: weight.c:40:9: error: always_inline function '_mm256_hadd_epi16' requires target feature 'avx2', but would be inlined into function 'crypto_core_weightsntrup1277_avx_constbranchindex' that is compiled without support for 'avx2'
weight.c:   sum = _mm256_hadd_epi16(sum,sum);
weight.c:         ^
weight.c: 6 errors generated.

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

Compiler output


weight.c: weight.c:20:9: error: always_inline function '_mm256_loadu_si256' requires target feature 'avx', but would be inlined into function 'crypto_core_weightsntrup1277_avx_constbranchindex' that is compiled without support for 'avx'
weight.c:   sum = _mm256_loadu_si256((__m256i *) (in+p-32));
weight.c:         ^
weight.c: weight.c:20:9: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
weight.c: weight.c:21:10: error: always_inline function '_mm256_set_epi8' requires target feature 'avx', but would be inlined into function 'crypto_core_weightsntrup1277_avx_constbranchindex' that is compiled without support for 'avx'
weight.c:   sum &= endingmask;
weight.c:          ^
weight.c: ./params.h:2:20: note: expanded from macro 'endingmask'
weight.c: #define endingmask _mm256_set_epi8(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0)
weight.c:                    ^
weight.c: weight.c:21:10: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
weight.c: ./params.h:2:20: note: expanded from macro 'endingmask'
weight.c: #define endingmask _mm256_set_epi8(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0)
weight.c:                    ^
weight.c: weight.c:24:20: error: always_inline function '_mm256_loadu_si256' requires target feature 'avx', but would be inlined into function 'crypto_core_weightsntrup1277_avx_constbranchindex' that is compiled without support for 'avx'
weight.c:     __m256i bits = _mm256_loadu_si256((__m256i *) in);
weight.c:                    ^
weight.c: weight.c:24:20: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
weight.c: weight.c:25:13: error: always_inline function '_mm256_set1_epi8' requires target feature 'avx', but would be inlined into function 'crypto_core_weightsntrup1277_avx_constbranchindex' that is compiled without support for 'avx'
weight.c:     bits &= _mm256_set1_epi8(1);
weight.c:             ^
weight.c: weight.c:25:13: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
weight.c: weight.c:26:11: error: always_inline function '_mm256_add_epi8' requires target feature 'avx2', but would be inlined into function 'crypto_core_weightsntrup1277_avx_constbranchindex' that is compiled without support for 'avx2'
weight.c:     sum = _mm256_add_epi8(sum,bits);
weight.c:           ^
weight.c: ...

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

Compiler output


weight.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:53,
weight.c:                  from weight.c:1:
weight.c: weight.c: In function 'crypto_core_weightsntrup1277_avx_constbranchindex':
weight.c: /usr/lib/gcc/x86_64-linux-gnu/10/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/10/include/immintrin.h:53,
weight.c:                  from weight.c:1:
weight.c: /usr/lib/gcc/x86_64-linux-gnu/10/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/10/include/immintrin.h:53,
weight.c:                  from weight.c:1:
weight.c: /usr/lib/gcc/x86_64-linux-gnu/10/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 (10.2.1_20210110)
avxgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
avxgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
avxgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Passed TIMECOP


TIMECOP iterations: 1

Number of similar (implementation,compiler) pairs: 9, namely:
ImplementationCompiler
refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)