Implementation notes: amd64, gcc14, crypto_core/wforcesntrup761

Computer: gcc14
Architecture: amd64
CPU ID: GenuineIntel-00010676-bfebfbff
SUPERCOP version: 20220506
Operation: crypto_core
Primitive: wforcesntrup761
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
6572640 0 017846 844 944ref2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021053020210529
6582674 0 017886 844 944simplergcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021053020210529
9433777 0 018670 844 944refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
985685 0 013819 820 912simplerclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021053020210529
985685 0 017891 820 912simplerclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021053020210529
985685 0 013819 820 912simplerclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021053020210529
1004685 0 013819 820 912ref2clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021053020210529
1004685 0 017891 820 912ref2clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021053020210529
1004685 0 013819 820 912ref2clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021053020210529
11222781 0 019987 820 912ref2clang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021053020210529
11272781 0 019987 820 912simplerclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021053020210529
1206686 0 013499 820 912refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
1208686 0 017571 820 912refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
1211686 0 013499 820 912refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
14192766 0 019651 820 912refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
1957224 0 013453 836 944simplergcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021053020210529
1958216 0 013437 836 944ref2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021053020210529
1967222 0 013253 836 944simplergcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021053020210529
2019212 0 012189 812 912simplerclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021053020210529
2023207 0 012189 812 912ref2clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021053020210529
2025215 0 013253 836 944ref2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021053020210529
2701209 0 012049 820 944simplergcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021053020210529
2705199 0 012033 820 944ref2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021053020210529
3413160 0 012861 836 944refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
3418154 0 011805 812 912refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
3521167 0 013061 836 944refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
5928142 0 011641 820 944refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114

Compiler output

Implementation: avx
Security model: constbranchindex
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
wforce.c: wforce.c:24:13: error: always_inline function '_mm256_set1_epi16' requires target feature 'xsave', but would be inlined into function 'crypto_core_wforcesntrup761_avx_constbranchindex' that is compiled without support for 'xsave'
wforce.c: maskvec = _mm256_set1_epi16(~mask);
wforce.c: ^
wforce.c: wforce.c:29:19: error: always_inline function '_mm256_loadu_si256' requires target feature 'xsave', but would be inlined into function 'crypto_core_wforcesntrup761_avx_constbranchindex' that is compiled without support for 'xsave'
wforce.c: __m256i x = _mm256_loadu_si256((__m256i *) in);
wforce.c: ^
wforce.c: wforce.c:30:12: error: always_inline function '_mm256_set1_epi8' requires target feature 'xsave', but would be inlined into function 'crypto_core_wforcesntrup761_avx_constbranchindex' that is compiled without support for 'xsave'
wforce.c: x ^= _mm256_set1_epi8(1);
wforce.c: ^
wforce.c: wforce.c:32:12: error: always_inline function '_mm256_set1_epi8' requires target feature 'xsave', but would be inlined into function 'crypto_core_wforcesntrup761_avx_constbranchindex' that is compiled without support for 'xsave'
wforce.c: x ^= _mm256_set1_epi8(1);
wforce.c: ^
wforce.c: wforce.c:33:7: error: always_inline function '_mm256_storeu_si256' requires target feature 'xsave', but would be inlined into function 'crypto_core_wforcesntrup761_avx_constbranchindex' that is compiled without support for 'xsave'
wforce.c: _mm256_storeu_si256((__m256i *) out,x);
wforce.c: ^
wforce.c: wforce.c:46:19: error: always_inline function '_mm256_loadu_si256' requires target feature 'xsave', but would be inlined into function 'crypto_core_wforcesntrup761_avx_constbranchindex' that is compiled without support for 'xsave'
wforce.c: __m256i x = _mm256_loadu_si256((__m256i *) in);
wforce.c: ^
wforce.c: wforce.c:48:7: error: always_inline function '_mm256_storeu_si256' requires target feature 'xsave', but would be inlined into function 'crypto_core_wforcesntrup761_avx_constbranchindex' that is compiled without support for 'xsave'
wforce.c: _mm256_storeu_si256((__m256i *) out,x);
wforce.c: ^
wforce.c: 7 errors generated.

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE avx
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE avx
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE avx
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE avx

Compiler output

Implementation: avx
Security model: constbranchindex
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
wforce.c: wforce.c:24:13: error: always_inline function '_mm256_set1_epi16' requires target feature 'sse4.2', but would be inlined into function 'crypto_core_wforcesntrup761_avx_constbranchindex' that is compiled without support for 'sse4.2'
wforce.c: maskvec = _mm256_set1_epi16(~mask);
wforce.c: ^
wforce.c: wforce.c:29:19: error: always_inline function '_mm256_loadu_si256' requires target feature 'sse4.2', but would be inlined into function 'crypto_core_wforcesntrup761_avx_constbranchindex' that is compiled without support for 'sse4.2'
wforce.c: __m256i x = _mm256_loadu_si256((__m256i *) in);
wforce.c: ^
wforce.c: wforce.c:30:12: error: always_inline function '_mm256_set1_epi8' requires target feature 'sse4.2', but would be inlined into function 'crypto_core_wforcesntrup761_avx_constbranchindex' that is compiled without support for 'sse4.2'
wforce.c: x ^= _mm256_set1_epi8(1);
wforce.c: ^
wforce.c: wforce.c:32:12: error: always_inline function '_mm256_set1_epi8' requires target feature 'sse4.2', but would be inlined into function 'crypto_core_wforcesntrup761_avx_constbranchindex' that is compiled without support for 'sse4.2'
wforce.c: x ^= _mm256_set1_epi8(1);
wforce.c: ^
wforce.c: wforce.c:33:7: error: always_inline function '_mm256_storeu_si256' requires target feature 'sse4.2', but would be inlined into function 'crypto_core_wforcesntrup761_avx_constbranchindex' that is compiled without support for 'sse4.2'
wforce.c: _mm256_storeu_si256((__m256i *) out,x);
wforce.c: ^
wforce.c: wforce.c:46:19: error: always_inline function '_mm256_loadu_si256' requires target feature 'sse4.2', but would be inlined into function 'crypto_core_wforcesntrup761_avx_constbranchindex' that is compiled without support for 'sse4.2'
wforce.c: __m256i x = _mm256_loadu_si256((__m256i *) in);
wforce.c: ^
wforce.c: wforce.c:48:7: error: always_inline function '_mm256_storeu_si256' requires target feature 'sse4.2', but would be inlined into function 'crypto_core_wforcesntrup761_avx_constbranchindex' that is compiled without support for 'sse4.2'
wforce.c: _mm256_storeu_si256((__m256i *) out,x);
wforce.c: ^
wforce.c: 7 errors generated.

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE avx

Compiler output

Implementation: avx
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
wforce.c: wforce.c: In function 'crypto_core_wforcesntrup761_avx_constbranchindex':
wforce.c: wforce.c:24:11: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
wforce.c: maskvec = _mm256_set1_epi16(~mask);
wforce.c: ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
wforce.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:41:0,
wforce.c: from wforce.c:1:
wforce.c: /usr/lib/gcc/x86_64-linux-gnu/6/include/avxintrin.h:1300:1: error: inlining failed in call to always_inline '_mm256_set1_epi16': target specific option mismatch
wforce.c: _mm256_set1_epi16 (short __A)
wforce.c: ^~~~~~~~~~~~~~~~~
wforce.c: wforce.c:24:11: note: called from here
wforce.c: maskvec = _mm256_set1_epi16(~mask);
wforce.c: ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
wforce.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:41:0,
wforce.c: from wforce.c:1:
wforce.c: /usr/lib/gcc/x86_64-linux-gnu/6/include/avxintrin.h:900:1: error: inlining failed in call to always_inline '_mm256_storeu_si256': target specific option mismatch
wforce.c: _mm256_storeu_si256 (__m256i *__P, __m256i __A)
wforce.c: ^~~~~~~~~~~~~~~~~~~
wforce.c: wforce.c:33:7: note: called from here
wforce.c: _mm256_storeu_si256((__m256i *) out,x);
wforce.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wforce.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:41:0,
wforce.c: from wforce.c:1:
wforce.c: /usr/lib/gcc/x86_64-linux-gnu/6/include/avxintrin.h:1307:1: error: inlining failed in call to always_inline '_mm256_set1_epi8': target specific option mismatch
wforce.c: _mm256_set1_epi8 (char __A)
wforce.c: ^~~~~~~~~~~~~~~~
wforce.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE avx
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE avx
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE avx
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE avx