Implementation notes: amd64, h4e450, crypto_decode/761x3

Computer: h4e450
Architecture: amd64
CPU ID: AuthenticAMD-00500f20-178bfbff
SUPERCOP version: 20200618
Operation: crypto_decode
Primitive: 761x3
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
8881343 0 013534 776 800refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020041020200409
2147147 0 011672 760 728refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019112420191017
2166127 0 09912 760 728refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
2166127 0 09912 760 728refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
2176127 0 011320 760 728refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
2237126 0 08646 752 728refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
2237139 0 09733 768 800refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020041020200409
2247132 0 09789 768 800refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020041020200409
2256129 0 08985 752 768refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020041020200409

Compiler output

Implementation: avx
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
decode.c: decode.c:18:18: error: always_inline function '_mm256_loadu_si256' requires target feature 'xsave', but would be inlined into function 'crypto_decode_761x3_avx' that is compiled without support for 'xsave'
decode.c: __m256i s0 = _mm256_loadu_si256((const __m256i *) s);
decode.c: ^
decode.c: decode.c:22:18: error: always_inline function '_mm256_srli_epi16' requires target feature 'xsave', but would be inlined into function 'crypto_decode_761x3_avx' that is compiled without support for 'xsave'
decode.c: __m256i s1 = _mm256_srli_epi16(s0&_mm256_set1_epi8(-16),4);
decode.c: ^
decode.c: decode.c:22:39: error: always_inline function '_mm256_set1_epi8' requires target feature 'xsave', but would be inlined into function 'crypto_decode_761x3_avx' that is compiled without support for 'xsave'
decode.c: __m256i s1 = _mm256_srli_epi16(s0&_mm256_set1_epi8(-16),4);
decode.c: ^
decode.c: decode.c:23:11: error: always_inline function '_mm256_set1_epi8' requires target feature 'xsave', but would be inlined into function 'crypto_decode_761x3_avx' that is compiled without support for 'xsave'
decode.c: s0 &= _mm256_set1_epi8(15);
decode.c: ^
decode.c: decode.c:25:18: error: always_inline function '_mm256_unpacklo_epi8' requires target feature 'xsave', but would be inlined into function 'crypto_decode_761x3_avx' that is compiled without support for 'xsave'
decode.c: __m256i a0 = _mm256_unpacklo_epi8(s0,s1);
decode.c: ^
decode.c: decode.c:28:18: error: always_inline function '_mm256_unpackhi_epi8' requires target feature 'xsave', but would be inlined into function 'crypto_decode_761x3_avx' that is compiled without support for 'xsave'
decode.c: __m256i a1 = _mm256_unpackhi_epi8(s0,s1);
decode.c: ^
decode.c: decode.c:32:18: error: always_inline function '_mm256_srli_epi16' requires target feature 'xsave', but would be inlined into function 'crypto_decode_761x3_avx' that is compiled without support for 'xsave'
decode.c: __m256i a2 = _mm256_srli_epi16(a0&_mm256_set1_epi8(12),2);
decode.c: ^
decode.c: decode.c:32:39: error: always_inline function '_mm256_set1_epi8' requires target feature 'xsave', but would be inlined into function 'crypto_decode_761x3_avx' that is compiled without support for 'xsave'
decode.c: __m256i a2 = _mm256_srli_epi16(a0&_mm256_set1_epi8(12),2);
decode.c: ^
decode.c: decode.c:33:18: error: always_inline function '_mm256_srli_epi16' requires target feature 'xsave', but would be inlined into function 'crypto_decode_761x3_avx' that is compiled without support for 'xsave'
decode.c: ...

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: unknown
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
decode.c: decode.c:18:18: error: always_inline function '_mm256_loadu_si256' requires target feature 'sse4.2', but would be inlined into function 'crypto_decode_761x3_avx' that is compiled without support for 'sse4.2'
decode.c: __m256i s0 = _mm256_loadu_si256((const __m256i *) s);
decode.c: ^
decode.c: decode.c:22:18: error: always_inline function '_mm256_srli_epi16' requires target feature 'avx2', but would be inlined into function 'crypto_decode_761x3_avx' that is compiled without support for 'avx2'
decode.c: __m256i s1 = _mm256_srli_epi16(s0&_mm256_set1_epi8(-16),4);
decode.c: ^
decode.c: decode.c:22:39: error: always_inline function '_mm256_set1_epi8' requires target feature 'sse4.2', but would be inlined into function 'crypto_decode_761x3_avx' that is compiled without support for 'sse4.2'
decode.c: __m256i s1 = _mm256_srli_epi16(s0&_mm256_set1_epi8(-16),4);
decode.c: ^
decode.c: decode.c:23:11: error: always_inline function '_mm256_set1_epi8' requires target feature 'sse4.2', but would be inlined into function 'crypto_decode_761x3_avx' that is compiled without support for 'sse4.2'
decode.c: s0 &= _mm256_set1_epi8(15);
decode.c: ^
decode.c: decode.c:25:18: error: always_inline function '_mm256_unpacklo_epi8' requires target feature 'avx2', but would be inlined into function 'crypto_decode_761x3_avx' that is compiled without support for 'avx2'
decode.c: __m256i a0 = _mm256_unpacklo_epi8(s0,s1);
decode.c: ^
decode.c: decode.c:28:18: error: always_inline function '_mm256_unpackhi_epi8' requires target feature 'avx2', but would be inlined into function 'crypto_decode_761x3_avx' that is compiled without support for 'avx2'
decode.c: __m256i a1 = _mm256_unpackhi_epi8(s0,s1);
decode.c: ^
decode.c: decode.c:32:18: error: always_inline function '_mm256_srli_epi16' requires target feature 'avx2', but would be inlined into function 'crypto_decode_761x3_avx' that is compiled without support for 'avx2'
decode.c: __m256i a2 = _mm256_srli_epi16(a0&_mm256_set1_epi8(12),2);
decode.c: ^
decode.c: decode.c:32:39: error: always_inline function '_mm256_set1_epi8' requires target feature 'sse4.2', but would be inlined into function 'crypto_decode_761x3_avx' that is compiled without support for 'sse4.2'
decode.c: __m256i a2 = _mm256_srli_epi16(a0&_mm256_set1_epi8(12),2);
decode.c: ^
decode.c: decode.c:33:18: error: always_inline function '_mm256_srli_epi16' requires target feature 'avx2', but would be inlined into function 'crypto_decode_761x3_avx' that is compiled without support for 'avx2'
decode.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: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
decode.c: decode.c: In function 'crypto_decode_761x3_avx':
decode.c: decode.c:18:13: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
decode.c: __m256i s0 = _mm256_loadu_si256((const __m256i *) s);
decode.c: ^~
decode.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include/immintrin.h:41:0,
decode.c: from decode.c:1:
decode.c: /usr/lib/gcc/x86_64-linux-gnu/7/include/avxintrin.h:926:1: error: inlining failed in call to always_inline '_mm256_storeu_si256': target specific option mismatch
decode.c: _mm256_storeu_si256 (__m256i_u *__P, __m256i __A)
decode.c: ^~~~~~~~~~~~~~~~~~~
decode.c: decode.c:61:5: note: called from here
decode.c: _mm256_storeu_si256((__m256i *) (f+96),f3);
decode.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
decode.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include/immintrin.h:41:0,
decode.c: from decode.c:1:
decode.c: /usr/lib/gcc/x86_64-linux-gnu/7/include/avxintrin.h:926:1: error: inlining failed in call to always_inline '_mm256_storeu_si256': target specific option mismatch
decode.c: _mm256_storeu_si256 (__m256i_u *__P, __m256i __A)
decode.c: ^~~~~~~~~~~~~~~~~~~
decode.c: decode.c:60:5: note: called from here
decode.c: _mm256_storeu_si256((__m256i *) (f+64),f2);
decode.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
decode.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include/immintrin.h:41:0,
decode.c: from decode.c:1:
decode.c: /usr/lib/gcc/x86_64-linux-gnu/7/include/avxintrin.h:926:1: error: inlining failed in call to always_inline '_mm256_storeu_si256': target specific option mismatch
decode.c: _mm256_storeu_si256 (__m256i_u *__P, __m256i __A)
decode.c: ^~~~~~~~~~~~~~~~~~~
decode.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