Implementation notes: amd64, hunsnivy, crypto_verify/1455

Computer: hunsnivy
Microarchitecture: amd64; Ivy Bridge+AES (306a9)
Architecture: amd64
CPU ID: GenuineIntel-000306a9-bfebfbff
SUPERCOP version: 20240808
Operation: crypto_verify
Primitive: 1455
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
343404 0 012656 812 888refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024080820240808
3491103 0 015024 812 888refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024080820240808
451492 0 012832 812 888refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024080820240808
407999 0 010191 772 920refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024080820240808
4104151 0 010222 804 888refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024080820240808
413997 0 010520 780 920refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024080820240808
416097 0 011496 780 920refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024080820240808
461790 0 09211 756 888refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024080820240808
473590 0 09694 804 888refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024080820240808

Compiler output


verify.c: verify.c:26:11: error: always_inline function '_mm256_srli_epi16' requires target feature 'avx2', but would be inlined into function 'crypto_verify_1455_avx_constbranchindex' that is compiled without support for 'avx2'
verify.c:   diff |= _mm256_srli_epi16(diff,8);
verify.c:           ^
verify.c: verify.c:27:11: error: always_inline function '_mm256_srli_epi32' requires target feature 'avx2', but would be inlined into function 'crypto_verify_1455_avx_constbranchindex' that is compiled without support for 'avx2'
verify.c:   diff |= _mm256_srli_epi32(diff,16);
verify.c:           ^
verify.c: verify.c:28:11: error: always_inline function '_mm256_srli_epi64' requires target feature 'avx2', but would be inlined into function 'crypto_verify_1455_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 (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


verify.c: verify.c:7:18: error: always_inline function '_mm256_set1_epi8' requires target feature 'avx', but would be inlined into function 'crypto_verify_1455_avx_constbranchindex' that is compiled without support for 'avx'
verify.c:   __m256i diff = _mm256_set1_epi8(0);
verify.c:                  ^
verify.c: verify.c:7:18: 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_1455_avx_constbranchindex' that is compiled without support for 'avx'
verify.c:       __m256i x0 = _mm256_loadu_si256((__m256i *) x);
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:15:20: error: always_inline function '_mm256_loadu_si256' requires target feature 'avx', but would be inlined into function 'crypto_verify_1455_avx_constbranchindex' that is compiled without support for 'avx'
verify.c:       __m256i y0 = _mm256_loadu_si256((__m256i *) y);
verify.c:                    ^
verify.c: verify.c:15:20: error: AVX vector return 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_epi16' requires target feature 'avx2', but would be inlined into function 'crypto_verify_1455_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: 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_epi32' requires target feature 'avx2', but would be inlined into function 'crypto_verify_1455_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: AVX vector argument of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
verify.c: verify.c:28:11: error: always_inline function '_mm256_srli_epi64' requires target feature 'avx2', but would be inlined into function 'crypto_verify_1455_avx_constbranchindex' that is compiled without support for 'avx2'
verify.c:   diff |= _mm256_srli_epi64(diff,32);
verify.c:           ^
verify.c: verify.c:28:11: error: AVX vector argument of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
verify.c: verify.c:30:19: error: '__builtin_ia32_vec_ext_v32qi' needs target feature avx
verify.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


verify.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:53,
verify.c:                  from verify.c:1:
verify.c: verify.c: In function 'crypto_verify_1455_avx_constbranchindex':
verify.c: /usr/lib/gcc/x86_64-linux-gnu/10/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:28:11: note: called from here
verify.c:    28 |   diff |= _mm256_srli_epi64(diff,32);
verify.c:       |           ^~~~~~~~~~~~~~~~~~~~~~~~~~
verify.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:53,
verify.c:                  from verify.c:1:
verify.c: /usr/lib/gcc/x86_64-linux-gnu/10/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:27:11: note: called from here
verify.c:    27 |   diff |= _mm256_srli_epi32(diff,16);
verify.c:       |           ^~~~~~~~~~~~~~~~~~~~~~~~~~
verify.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:53,
verify.c:                  from verify.c:1:
verify.c: /usr/lib/gcc/x86_64-linux-gnu/10/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:26:11: note: called from here
verify.c:    26 |   diff |= _mm256_srli_epi16(diff,8);
verify.c:       |           ^~~~~~~~~~~~~~~~~~~~~~~~~
verify.c: ...

Number of similar (implementation,compiler) pairs: 3, 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)

Compiler output


verify.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:53,
verify.c:                  from verify.c:1:
verify.c: verify.c: In function 'crypto_verify_1455_avx_constbranchindex':
verify.c: /usr/lib/gcc/x86_64-linux-gnu/10/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:28:11: note: called from here
verify.c:    28 |   diff |= _mm256_srli_epi64(diff,32);
verify.c:       |           ^~~~~~~~~~~~~~~~~~~~~~~~~~
verify.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:53,
verify.c:                  from verify.c:1:
verify.c: /usr/lib/gcc/x86_64-linux-gnu/10/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:27:11: note: called from here
verify.c:    27 |   diff |= _mm256_srli_epi32(diff,16);
verify.c:       |           ^~~~~~~~~~~~~~~~~~~~~~~~~~
verify.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:53,
verify.c:                  from verify.c:1:
verify.c: /usr/lib/gcc/x86_64-linux-gnu/10/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:26:11: note: called from here
verify.c:    26 |   diff |= _mm256_srli_epi16(diff,8);
verify.c:       |           ^~~~~~~~~~~~~~~~~~~~~~~~~

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
avxgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Passed TIMECOP


TIMECOP iterations: 10

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)