Implementation notes: amd64, h8atom, crypto_core/wforcesntrup653

Computer: h8atom
Microarchitecture: amd64; Bonnell (30661)
Architecture: amd64
CPU ID: GenuineIntel-00030661-bfebfbff
SUPERCOP version: 20240107
Operation: crypto_core
Primitive: wforcesntrup653
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
7141636 0 018828 816 760ref2clang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
8821706 0 015092 816 760ref2clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
8821722 0 017932 816 760ref2clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
9311467 0 018668 816 760simplerclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
10221300 0 014676 816 760simplerclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
10291316 0 017516 816 760simplerclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
11061909 0 018628 816 760refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
1148589 0 014982 776 832simplergcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
1260589 0 014982 776 832ref2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
13931856 0 014748 816 760refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
14071872 0 017588 816 760refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
1582776 0 015094 776 832refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
4333225 0 012572 816 760ref2clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
4354210 0 011766 808 760ref2clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
4914294 0 013286 776 832ref2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
4914294 0 013286 776 832simplergcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
4921272 0 011713 752 800simplergcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
4935296 0 013029 768 832ref2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
4956236 0 012572 816 760simplerclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
4956295 0 013029 768 832simplergcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
5208273 0 011713 752 800ref2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
5236224 0 011766 808 760simplerclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
7196200 0 013094 776 832refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
7504191 0 011497 752 800refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
7931175 0 012012 816 760refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
7931157 0 011206 808 760refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
8309198 0 012821 768 832refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212

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 'avx', but would be inlined into function 'crypto_core_wforcesntrup653_avx_constbranchindex' that is compiled without support for 'avx'
wforce.c: maskvec = _mm256_set1_epi16(~mask);
wforce.c: ^
wforce.c: wforce.c:24:13: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
wforce.c: wforce.c:29:19: error: always_inline function '_mm256_loadu_si256' requires target feature 'avx', but would be inlined into function 'crypto_core_wforcesntrup653_avx_constbranchindex' that is compiled without support for 'avx'
wforce.c: __m256i x = _mm256_loadu_si256((__m256i *) in);
wforce.c: ^
wforce.c: wforce.c:29:19: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
wforce.c: wforce.c:30:12: error: always_inline function '_mm256_set1_epi8' requires target feature 'avx', but would be inlined into function 'crypto_core_wforcesntrup653_avx_constbranchindex' that is compiled without support for 'avx'
wforce.c: x ^= _mm256_set1_epi8(1);
wforce.c: ^
wforce.c: wforce.c:30:12: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
wforce.c: wforce.c:32:12: error: always_inline function '_mm256_set1_epi8' requires target feature 'avx', but would be inlined into function 'crypto_core_wforcesntrup653_avx_constbranchindex' that is compiled without support for 'avx'
wforce.c: x ^= _mm256_set1_epi8(1);
wforce.c: ^
wforce.c: wforce.c:32:12: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
wforce.c: wforce.c:33:7: error: always_inline function '_mm256_storeu_si256' requires target feature 'avx', but would be inlined into function 'crypto_core_wforcesntrup653_avx_constbranchindex' that is compiled without support for 'avx'
wforce.c: _mm256_storeu_si256((__m256i *) out,x);
wforce.c: ^
wforce.c: wforce.c:33:7: error: AVX vector argument of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
wforce.c: wforce.c:46:19: error: always_inline function '_mm256_loadu_si256' requires target feature 'avx', but would be inlined into function 'crypto_core_wforcesntrup653_avx_constbranchindex' that is compiled without support for 'avx'
wforce.c: __m256i x = _mm256_loadu_si256((__m256i *) in);
wforce.c: ^
wforce.c: wforce.c:46:19: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
wforce.c: wforce.c:48:7: error: always_inline function '_mm256_storeu_si256' requires target feature 'avx', but would be inlined into function 'crypto_core_wforcesntrup653_avx_constbranchindex' that is compiled without support for 'avx'
wforce.c: ...

Number of similar (compiler,implementation) pairs: 5, 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
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: 24 | maskvec = _mm256_set1_epi16(~mask);
wforce.c: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
wforce.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:43,
wforce.c: from wforce.c:1:
wforce.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/avxintrin.h:1333:1: error: inlining failed in call to 'always_inline' '_mm256_set1_epi16': target specific option mismatch
wforce.c: 1333 | _mm256_set1_epi16 (short __A)
wforce.c: | ^~~~~~~~~~~~~~~~~
wforce.c: wforce.c:24:13: note: called from here
wforce.c: 24 | maskvec = _mm256_set1_epi16(~mask);
wforce.c: | ^~~~~~~~~~~~~~~~~~~~~~~~
wforce.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:43,
wforce.c: from wforce.c:1:
wforce.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/avxintrin.h:933:1: error: inlining failed in call to 'always_inline' '_mm256_storeu_si256': target specific option mismatch
wforce.c: 933 | _mm256_storeu_si256 (__m256i_u *__P, __m256i __A)
wforce.c: | ^~~~~~~~~~~~~~~~~~~
wforce.c: wforce.c:33:7: note: called from here
wforce.c: 33 | _mm256_storeu_si256((__m256i *) out,x);
wforce.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wforce.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:43,
wforce.c: from wforce.c:1:
wforce.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/avxintrin.h:1340:1: error: inlining failed in call to 'always_inline' '_mm256_set1_epi8': target specific option mismatch
wforce.c: 1340 | _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