Implementation notes: amd64, h9trinity, crypto_encode/761x4591

Computer: h9trinity
Architecture: amd64
CPU ID: AuthenticAMD-00610f01-178bfbff
SUPERCOP version: 20191221
Operation: crypto_encode
Primitive: 761x4591
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
15796598 0 018486 776 800portablebiggcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
17442865 0 013921 776 744portablebigclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
17822865 0 013921 776 744portablebigclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
17923690 0 016313 776 744portablebigclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
25562952 0 014838 776 800portablegcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
26112255 0 014881 776 744portableclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
26731567 0 012625 776 744portableclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
27001567 0 012625 776 744portableclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
29406935 0 018481 776 728portablebigclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
29942563 0 014113 776 728portableclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
4435754 0 09271 768 728portableclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
4451766 0 09287 768 728portablebigclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019122120191221
4502828 0 010421 768 800portablebiggcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
4719775 0 010373 768 800portablegcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
4723858 0 010525 768 800portablebiggcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
4783823 0 010493 768 800portablegcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
4883761 0 09657 752 768portablegcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
5647786 0 09689 752 768portablebiggcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122120191221
11891697 0 012622 776 800refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
14556623 0 010213 768 800refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
158301568 0 013097 776 728refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102920191017
16031648 0 010301 768 800refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
16184569 0 09425 752 768refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
172783729 0 016329 776 744refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
174612619 0 013657 776 744refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
175302619 0 013657 776 744refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
18819520 0 09015 768 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: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: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: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: x = _mm256_srli_epi32(x,16);
encode.c: ^
encode.c: encode.c:30:10: 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: x2 = _mm256_srli_epi32(x2,16);
encode.c: ^
encode.c: encode.c:32:9: error: always_inline function '_mm256_mullo_epi32' 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_mullo_epi32(x,_mm256_set1_epi32(4591));
encode.c: ^
encode.c: encode.c:33:10: error: always_inline function '_mm256_mullo_epi32' 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_mullo_epi32(x2,_mm256_set1_epi32(4591));
encode.c: ^
encode.c: encode.c:35:9: error: always_inline function '_mm256_add_epi32' 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_epi32(y,x);
encode.c: ^
encode.c: encode.c:36:10: error: always_inline function '_mm256_add_epi32' 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_epi32(y2,x2);
encode.c: ^
encode.c: encode.c:38:9: error: always_inline function '_mm256_shuffle_epi8' 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: 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: In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include/immintrin.h:43:0,
encode.c: from encode.c:8:
encode.c: encode.c: In function 'crypto_encode_761x4591_avx':
encode.c: /usr/lib/gcc/x86_64-linux-gnu/7/include/avx2intrin.h:1068:1: error: inlining failed in call to always_inline '_mm256_permute4x64_epi64': target specific option mismatch
encode.c: _mm256_permute4x64_epi64 (__m256i __X, const int __M)
encode.c: ^~~~~~~~~~~~~~~~~~~~~~~~
encode.c: encode.c:48:8: note: called from here
encode.c: x2 = _mm256_permute4x64_epi64(x2,0xd8);
encode.c: ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include/immintrin.h:43:0,
encode.c: from encode.c:8:
encode.c: /usr/lib/gcc/x86_64-linux-gnu/7/include/avx2intrin.h:1068:1: error: inlining failed in call to always_inline '_mm256_permute4x64_epi64': target specific option mismatch
encode.c: _mm256_permute4x64_epi64 (__m256i __X, const int __M)
encode.c: ^~~~~~~~~~~~~~~~~~~~~~~~
encode.c: encode.c:47:7: note: called from here
encode.c: x = _mm256_permute4x64_epi64(x,0xd8);
encode.c: ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include/immintrin.h:43:0,
encode.c: from encode.c:8:
encode.c: /usr/lib/gcc/x86_64-linux-gnu/7/include/avx2intrin.h:588:1: error: inlining failed in call to always_inline '_mm256_shuffle_epi8': target specific option mismatch
encode.c: _mm256_shuffle_epi8 (__m256i __X, __m256i __Y)
encode.c: ^~~~~~~~~~~~~~~~~~~
encode.c: encode.c:42:8: note: called from here
encode.c: x2 = _mm256_shuffle_epi8(x2,_mm256_set_epi8(
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