Implementation notes: amd64, h8atom, crypto_encode/761x4591

Computer: h8atom
Architecture: amd64
CPU ID: GenuineIntel-00030661-bfebfbff
SUPERCOP version: 20191221
Operation: crypto_encode
Primitive: 761x4591
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
54956935 0 018497 776 728portablebigclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
74902563 0 014129 776 728portableclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
97796061 0 017737 776 728portablebigclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
99124367 0 014705 776 728portablebigclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
99404367 0 014705 776 728portablebigclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
101152579 0 014257 776 728portableclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
101291939 0 012273 776 728portableclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
101431939 0 012273 776 728portableclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
102768268 0 020222 776 800portablebiggcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
116972729 0 014686 776 800portablegcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
11893763 0 09335 768 728portablebigclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
11921751 0 09319 768 728portableclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
13020793 0 010461 768 800portablegcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
13034846 0 010509 768 800portablebiggcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
13048786 0 09689 752 768portablebiggcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
13195761 0 09673 752 768portablegcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
14259824 0 010541 768 800portablegcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
14301859 0 010573 768 800portablebiggcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
28084703 0 012694 776 800refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091020190910
325571568 0 013113 776 728refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019112420191017
325851568 0 013225 776 728refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091020190910
325921568 0 011881 776 728refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091020190910
325991568 0 011881 776 728refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091020190910
38185563 0 09425 752 768refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091020190910
38269628 0 010285 768 800refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091020190910
39249520 0 09063 768 728refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091020190910
40642649 0 010349 768 800refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091020190910

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: x = _mm256_add_epi16(x,_mm256_set1_epi16(2295));
encode.c: ^
encode.c: encode.c:24:10: 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: x2 = _mm256_add_epi16(x2,_mm256_set1_epi16(2295));
encode.c: ^
encode.c: encode.c:24:30: 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: x2 = _mm256_add_epi16(x2,_mm256_set1_epi16(2295));
encode.c: ^
encode.c: encode.c:26:13: error: always_inline function '_mm256_set1_epi32' requires target feature 'xsave', but would be inlined into function 'crypto_encode_761x4591_avx' that is compiled without support for 'xsave'
encode.c: y = x & _mm256_set1_epi32(65535);
encode.c: ^
encode.c: encode.c:27:15: error: always_inline function '_mm256_set1_epi32' requires target feature 'xsave', but would be inlined into function 'crypto_encode_761x4591_avx' that is compiled without support for 'xsave'
encode.c: y2 = x2 & _mm256_set1_epi32(65535);
encode.c: ^
encode.c: encode.c:29:9: error: always_inline function '_mm256_srli_epi32' requires target feature 'xsave', but would be inlined into function 'crypto_encode_761x4591_avx' that is compiled without support for 'xsave'
encode.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: 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 'avx2', but would be inlined into function 'crypto_encode_761x4591_avx' that is compiled without support for 'avx2'
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: x = _mm256_add_epi16(x,_mm256_set1_epi16(2295));
encode.c: ^
encode.c: encode.c:24:10: error: always_inline function '_mm256_add_epi16' requires target feature 'avx2', but would be inlined into function 'crypto_encode_761x4591_avx' that is compiled without support for 'avx2'
encode.c: x2 = _mm256_add_epi16(x2,_mm256_set1_epi16(2295));
encode.c: ^
encode.c: encode.c:24:30: 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: x2 = _mm256_add_epi16(x2,_mm256_set1_epi16(2295));
encode.c: ^
encode.c: encode.c:26:13: error: always_inline function '_mm256_set1_epi32' 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: y = x & _mm256_set1_epi32(65535);
encode.c: ^
encode.c: encode.c:27:15: error: always_inline function '_mm256_set1_epi32' 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: y2 = x2 & _mm256_set1_epi32(65535);
encode.c: ^
encode.c: encode.c:29:9: error: always_inline function '_mm256_srli_epi32' requires target feature 'avx2', but would be inlined into function 'crypto_encode_761x4591_avx' that is compiled without support for 'avx2'
encode.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: 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/7/include/immintrin.h:41:0,
encode.c: from encode.c:8:
encode.c: /usr/lib/gcc/x86_64-linux-gnu/7/include/avxintrin.h:925:1: error: inlining failed in call to always_inline '_mm256_storeu_si256': target specific option mismatch
encode.c: _mm256_storeu_si256 (__m256i_u *__P, __m256i __A)
encode.c: ^~~~~~~~~~~~~~~~~~~
encode.c: encode.c:51:5: note: called from here
encode.c: _mm256_storeu_si256((__m256i *) (out+16*i-8),_mm256_permute2f128_si256(x,x2,0x20));
encode.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include/immintrin.h:41:0,
encode.c: from encode.c:8:
encode.c: /usr/lib/gcc/x86_64-linux-gnu/7/include/avxintrin.h:696:1: error: inlining failed in call to always_inline '_mm256_permute2f128_si256': target specific option mismatch
encode.c: _mm256_permute2f128_si256 (__m256i __X, __m256i __Y, const int __C)
encode.c: ^~~~~~~~~~~~~~~~~~~~~~~~~
encode.c: encode.c:51:5: note: called from here
encode.c: _mm256_storeu_si256((__m256i *) (out+16*i-8),_mm256_permute2f128_si256(x,x2,0x20));
encode.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include/immintrin.h:41:0,
encode.c: from encode.c:8:
encode.c: /usr/lib/gcc/x86_64-linux-gnu/7/include/avxintrin.h:925:1: error: inlining failed in call to always_inline '_mm256_storeu_si256': target specific option mismatch
encode.c: _mm256_storeu_si256 (__m256i_u *__P, __m256i __A)
encode.c: ^~~~~~~~~~~~~~~~~~~
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