Implementation notes: amd64, scw1b63b1, crypto_encode/761x4591

Computer: scw1b63b1
Architecture: amd64
CPU ID: GenuineIntel-000506f1-0f8bfbff
SUPERCOP version: 20191017
Operation: crypto_encode
Primitive: 761x4591
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
15627535 0 019532 808 800portablegcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121420191017
3458912 0 011561 784 728portableclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121420191017
3458912 0 010737 784 728portableclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121420191017
3462912 0 010737 784 728portableclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121420191017
3462742 0 09651 776 728portableclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121420191017
3626816 0 010659 800 800portablegcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121420191017
3672812 0 010507 800 800portablegcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121420191017
3688991 0 011713 784 728portableclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121420191017
5076762 0 09559 784 768portablegcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121420191017
7508633 0 012652 808 800refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121420191017
92781373 0 011193 784 728refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121420191017
92801373 0 011193 784 728refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121420191017
93121373 0 012017 784 728refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121420191017
98901432 0 012137 784 728refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121420191017
9890559 0 010387 800 800refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121420191017
10170578 0 010251 800 800refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121420191017
11720522 0 09411 776 728refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121420191017
15392502 0 09247 784 768refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121420191017

Compiler output

Implementation: crypto_encode/761x4591/avx
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encode.c: encode.c:20:9: error: always_inline function '_mm256_loadu_si256' requires target feature 'xsave', but would be inlined into function 'crypto_encode_761x4591_avx' that is compiled without support for 'xsave'
encode.c: x = _mm256_loadu_si256((__m256i *) (R0+16*i-8));
encode.c: ^
encode.c: encode.c:21:10: error: always_inline function '_mm256_loadu_si256' requires target feature 'xsave', but would be inlined into function 'crypto_encode_761x4591_avx' that is compiled without support for 'xsave'
encode.c: x2 = _mm256_loadu_si256((__m256i *) (R0+16*i+16-8));
encode.c: ^
encode.c: encode.c:23:9: error: always_inline function '_mm256_add_epi16' requires target feature 'xsave', but would be inlined into function 'crypto_encode_761x4591_avx' that is compiled without support for 'xsave'
encode.c: x = _mm256_add_epi16(x,_mm256_set1_epi16(2295));
encode.c: ^
encode.c: encode.c:23:28: error: always_inline function '_mm256_set1_epi16' requires target feature 'xsave', but would be inlined into function 'crypto_encode_761x4591_avx' that is compiled without support for 'xsave'
encode.c: ...
encode.c: x = _mm256_shuffle_epi8(x,_mm256_set_epi8(
encode.c: ^
encode.c: encode.c:38:31: error: always_inline function '_mm256_set_epi8' requires target feature 'xsave', but would be inlined into function 'crypto_encode_761x4591_avx' that is compiled without support for 'xsave'
encode.c: x = _mm256_shuffle_epi8(x,_mm256_set_epi8(
encode.c: ^
encode.c: encode.c:42:10: error: always_inline function '_mm256_shuffle_epi8' requires target feature 'xsave', but would be inlined into function 'crypto_encode_761x4591_avx' that is compiled without support for 'xsave'
encode.c: x2 = _mm256_shuffle_epi8(x2,_mm256_set_epi8(
encode.c: ^
encode.c: fatal error: too many errors emitted, stopping now [-ferror-limit=]
encode.c: 20 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: crypto_encode/761x4591/avx
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encode.c: encode.c:20:9: error: always_inline function '_mm256_loadu_si256' requires target feature 'sse4.2', but would be inlined into function 'crypto_encode_761x4591_avx' that is compiled without support for 'sse4.2'
encode.c: x = _mm256_loadu_si256((__m256i *) (R0+16*i-8));
encode.c: ^
encode.c: encode.c:21:10: error: always_inline function '_mm256_loadu_si256' requires target feature 'sse4.2', but would be inlined into function 'crypto_encode_761x4591_avx' that is compiled without support for 'sse4.2'
encode.c: x2 = _mm256_loadu_si256((__m256i *) (R0+16*i+16-8));
encode.c: ^
encode.c: encode.c:23:9: error: always_inline function '_mm256_add_epi16' requires target feature 'sse4.2', but would be inlined into function 'crypto_encode_761x4591_avx' that is compiled without support for 'sse4.2'
encode.c: x = _mm256_add_epi16(x,_mm256_set1_epi16(2295));
encode.c: ^
encode.c: encode.c:23:28: error: always_inline function '_mm256_set1_epi16' requires target feature 'sse4.2', but would be inlined into function 'crypto_encode_761x4591_avx' that is compiled without support for 'sse4.2'
encode.c: ...
encode.c: x = _mm256_shuffle_epi8(x,_mm256_set_epi8(
encode.c: ^
encode.c: encode.c:38:31: error: always_inline function '_mm256_set_epi8' requires target feature 'sse4.2', but would be inlined into function 'crypto_encode_761x4591_avx' that is compiled without support for 'sse4.2'
encode.c: x = _mm256_shuffle_epi8(x,_mm256_set_epi8(
encode.c: ^
encode.c: encode.c:42:10: error: always_inline function '_mm256_shuffle_epi8' requires target feature 'sse4.2', but would be inlined into function 'crypto_encode_761x4591_avx' that is compiled without support for 'sse4.2'
encode.c: x2 = _mm256_shuffle_epi8(x2,_mm256_set_epi8(
encode.c: ^
encode.c: fatal error: too many errors emitted, stopping now [-ferror-limit=]
encode.c: 20 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: crypto_encode/761x4591/avx
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
encode.c: encode.c: In function ‘crypto_encode_761x4591_avx’:
encode.c: encode.c:20:7: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
encode.c: x = _mm256_loadu_si256((__m256i *) (R0+16*i-8));
encode.c: ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:41:0,
encode.c: from encode.c:8:
encode.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
encode.c: _mm256_storeu_si256 (__m256i *__P, __m256i __A)
encode.c: ^~~~~~~~~~~~~~~~~~~
encode.c: encode.c:51:5: note: called from here
encode.c: ...
encode.c: *((uint32 *) (out+8*i+4)) = _mm256_extract_epi32(x,6);
encode.c: ^~~~~~~~~~~~~~~~~~~~~~~~~
encode.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:41:0,
encode.c: from encode.c:8:
encode.c: /usr/lib/gcc/x86_64-linux-gnu/6/include/avxintrin.h:503:1: error: inlining failed in call to always_inline ‘_mm256_extract_epi32’: target specific option mismatch
encode.c: _mm256_extract_epi32 (__m256i __X, int const __N)
encode.c: ^~~~~~~~~~~~~~~~~~~~
encode.c: encode.c:179:31: note: called from here
encode.c: *((uint32 *) (out+8*i)) = _mm256_extract_epi32(x,4);
encode.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