Implementation notes: amd64, saber214, crypto_verify/1025

Computer: saber214
Microarchitecture: amd64; Bulldozer (600f20)
Architecture: amd64
CPU ID: AuthenticAMD-00600f20-1789c3f5
SUPERCOP version: 20240107
Operation: crypto_verify
Primitive: 1025
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
580334 0 011196 816 712refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121220231212
580334 0 013604 816 712refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121220231212
631577 0 012670 776 768refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121220231212
803226 0 012228 816 712refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121220231212
3864102 0 09732 816 712refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121220231212
3897135 0 010758 776 768refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121220231212
4033133 0 010517 768 768refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121220231212
4549125 0 09457 752 736refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121220231212
482089 0 09310 808 712refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121220231212

Compiler output

Implementation: avx
Security model: constbranchindex
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
verify.c: verify.c:25:11: error: always_inline function '_mm256_srli_epi16' requires target feature 'avx2', but would be inlined into function 'crypto_verify_1025_avx_constbranchindex' that is compiled without support for 'avx2'
verify.c: diff |= _mm256_srli_epi16(diff,8);
verify.c: ^
verify.c: verify.c:26:11: error: always_inline function '_mm256_srli_epi32' requires target feature 'avx2', but would be inlined into function 'crypto_verify_1025_avx_constbranchindex' that is compiled without support for 'avx2'
verify.c: diff |= _mm256_srli_epi32(diff,16);
verify.c: ^
verify.c: verify.c:27:11: error: always_inline function '_mm256_srli_epi64' requires target feature 'avx2', but would be inlined into function 'crypto_verify_1025_avx_constbranchindex' that is compiled without support for 'avx2'
verify.c: diff |= _mm256_srli_epi64(diff,32);
verify.c: ^
verify.c: 3 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
verify.c: verify.c:6:18: error: always_inline function '_mm256_set1_epi8' requires target feature 'avx', but would be inlined into function 'crypto_verify_1025_avx_constbranchindex' that is compiled without support for 'avx'
verify.c: __m256i diff = _mm256_set1_epi8(0);
verify.c: ^
verify.c: verify.c:6:18: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
verify.c: verify.c:13:20: error: always_inline function '_mm256_loadu_si256' requires target feature 'avx', but would be inlined into function 'crypto_verify_1025_avx_constbranchindex' that is compiled without support for 'avx'
verify.c: __m256i x0 = _mm256_loadu_si256((__m256i *) x);
verify.c: ^
verify.c: verify.c:13:20: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
verify.c: verify.c:14:20: error: always_inline function '_mm256_loadu_si256' requires target feature 'avx', but would be inlined into function 'crypto_verify_1025_avx_constbranchindex' that is compiled without support for 'avx'
verify.c: __m256i y0 = _mm256_loadu_si256((__m256i *) y);
verify.c: ^
verify.c: verify.c:14:20: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
verify.c: verify.c:25:11: error: always_inline function '_mm256_srli_epi16' requires target feature 'avx2', but would be inlined into function 'crypto_verify_1025_avx_constbranchindex' that is compiled without support for 'avx2'
verify.c: diff |= _mm256_srli_epi16(diff,8);
verify.c: ^
verify.c: verify.c:25:11: error: AVX vector argument of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
verify.c: verify.c:26:11: error: always_inline function '_mm256_srli_epi32' requires target feature 'avx2', but would be inlined into function 'crypto_verify_1025_avx_constbranchindex' that is compiled without support for 'avx2'
verify.c: diff |= _mm256_srli_epi32(diff,16);
verify.c: ^
verify.c: verify.c:26:11: error: AVX vector argument of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
verify.c: verify.c:27:11: error: always_inline function '_mm256_srli_epi64' requires target feature 'avx2', but would be inlined into function 'crypto_verify_1025_avx_constbranchindex' that is compiled without support for 'avx2'
verify.c: diff |= _mm256_srli_epi64(diff,32);
verify.c: ^
verify.c: verify.c:27:11: error: AVX vector argument of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
verify.c: verify.c:29:19: error: '__builtin_ia32_vec_ext_v32qi' needs target feature avx
verify.c: ...

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
verify.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:47,
verify.c: from verify.c:1:
verify.c: verify.c: In function 'crypto_verify_1025_avx_constbranchindex':
verify.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx2intrin.h:787:1: error: inlining failed in call to 'always_inline' '_mm256_srli_epi64': target specific option mismatch
verify.c: 787 | _mm256_srli_epi64 (__m256i __A, int __B)
verify.c: | ^~~~~~~~~~~~~~~~~
verify.c: verify.c:27:11: note: called from here
verify.c: 27 | diff |= _mm256_srli_epi64(diff,32);
verify.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~
verify.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:47,
verify.c: from verify.c:1:
verify.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx2intrin.h:773:1: error: inlining failed in call to 'always_inline' '_mm256_srli_epi32': target specific option mismatch
verify.c: 773 | _mm256_srli_epi32 (__m256i __A, int __B)
verify.c: | ^~~~~~~~~~~~~~~~~
verify.c: verify.c:26:11: note: called from here
verify.c: 26 | diff |= _mm256_srli_epi32(diff,16);
verify.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~
verify.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:47,
verify.c: from verify.c:1:
verify.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx2intrin.h:759:1: error: inlining failed in call to 'always_inline' '_mm256_srli_epi16': target specific option mismatch
verify.c: 759 | _mm256_srli_epi16 (__m256i __A, int __B)
verify.c: | ^~~~~~~~~~~~~~~~~
verify.c: verify.c:25:11: note: called from here
verify.c: 25 | diff |= _mm256_srli_epi16(diff,8);
verify.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