Implementation notes: amd64, gcc14, crypto_core/wforcesntrup653

Computer: gcc14
Architecture: amd64
CPU ID: GenuineIntel-00010676-bfebfbff
SUPERCOP version: 20210604
Operation: crypto_core
Primitive: wforcesntrup653
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
5562650 0 017902 844 944simplergcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021053020210529
5572632 0 017878 844 944ref2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021053020210529
778967 0 014139 820 912simplerclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021053020210529
778967 0 018979 820 912simplerclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021053020210529
778967 0 014139 820 912simplerclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021053020210529
780951 0 014123 820 912ref2clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021053020210529
781951 0 014123 820 912ref2clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021053020210529
788951 0 018963 820 912ref2clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021053020210529
8113761 0 018654 844 944refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
8772999 0 021075 820 912simplerclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021053020210529
8782983 0 021059 820 912ref2clang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021053020210529
8971022 0 013835 820 912refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
8971022 0 018675 820 912refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
8971022 0 013835 820 912refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
11223070 0 020787 820 912refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
1701224 0 013485 836 944simplergcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021053020210529
1747212 0 012221 812 912simplerclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021053020210529
1749216 0 013469 836 944ref2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021053020210529
1770215 0 013285 836 944ref2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021053020210529
1775207 0 012221 812 912ref2clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021053020210529
1783222 0 013285 836 944simplergcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021053020210529
2460209 0 012081 820 944simplergcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021053020210529
2465199 0 012065 820 944ref2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021053020210529
2967154 0 011805 812 912refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
2967160 0 012861 836 944refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
3035167 0 013061 836 944refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
5234142 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_wforcesntrup653_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_wforcesntrup653_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_wforcesntrup653_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_wforcesntrup653_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_wforcesntrup653_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_wforcesntrup653_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_wforcesntrup653_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_wforcesntrup653_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_wforcesntrup653_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_wforcesntrup653_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_wforcesntrup653_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_wforcesntrup653_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_wforcesntrup653_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_wforcesntrup653_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_wforcesntrup653_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