Implementation notes: amd64, h4e450, crypto_encode/761x4591

Computer: h4e450
Architecture: amd64
CPU ID: AuthenticAMD-00500f20-178bfbff
SUPERCOP version: 20191221
Operation: crypto_encode
Primitive: 761x4591
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
53061761 0 011568 760 728portableclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
53061761 0 011568 760 728portableclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
53202449 0 013664 760 728portableclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
54152563 0 014096 760 728portableclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
5429761 0 09657 752 768portablegcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
5496763 0 09302 752 728portablebigclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
55245955 0 017168 760 728portablebigclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
55484191 0 014000 760 728portablebigclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
55484191 0 014000 760 728portablebigclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
5591828 0 010421 768 800portablebiggcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
56056935 0 018464 760 728portablebigclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
5695751 0 09286 752 728portableclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
5942817 0 010493 768 800portablegcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
5952775 0 010373 768 800portablegcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
5985786 0 09673 752 768portablebiggcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
61189412 0 021574 776 800portablebiggcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
61803704 0 015862 776 800portablegcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
6280852 0 010525 768 800portablebiggcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
12193698 0 012910 776 800refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
15229622 0 010213 768 800refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
160071568 0 013080 760 728refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019112420191017
160511521 0 012712 760 728refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
161841521 0 011304 760 728refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
161881521 0 011304 760 728refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
16777644 0 010301 768 800refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
19124563 0 09409 752 768refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
19309520 0 09030 752 728refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910

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