Implementation notes: amd64, scw1b63b1, crypto_core/invhrss701

Computer: scw1b63b1
Architecture: amd64
CPU ID: GenuineIntel-000506f1-0f8bfbff
SUPERCOP version: 20191017
Operation: crypto_core
Primitive: invhrss701
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
53006306120 0 019286 816 832simplergcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121420191017
60781044783 0 017860 808 832refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121420191017
141929586019 0 017697 784 760refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121420191017
143342205748 0 017337 784 760refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121420191017
157007944224 0 015889 784 760simplerclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121420191017
158816023381 0 014137 784 760simplerclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121420191017
158854023381 0 014137 784 760simplerclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121420191017
158922563381 0 014961 784 760simplerclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121420191017
193221505604 0 016369 784 760refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121420191017
193258905604 0 016369 784 760refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121420191017
26663918824 0 011515 800 832simplergcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121420191017
26933544880 0 011827 800 832simplergcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121420191017
41006382779 0 010627 776 760simplerclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121420191017
46514750806 0 010463 784 800simplergcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121420191017
485566801366 0 012035 800 832refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121420191017
526170401482 0 011323 776 760refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121420191017
537721201600 0 012523 800 832refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121420191017
556654501388 0 011047 784 800refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121420191017

Test failure

Implementation: avx2
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
error 111

Number of similar (compiler,implementation) pairs: 14, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE avx2
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE avx2
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE avx2
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE avx2
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE avx2
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE avx2
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE avx2
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE avx2
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE avx2
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE faster821
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE faster821
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE faster821
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE faster821
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE faster821

Compiler output

Implementation: faster
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
core.c: core.c:353:19: error: always_inline function '_mm256_set_epi32' requires target feature 'xsave', but would be inlined into function 'r3_recip' that is compiled without support for 'xsave'
core.c: F0[0] = F0[1] = _mm256_set_epi32(-1,-1,-1,-1,-1,-1,-1,-1);
core.c: ^
core.c: core.c:354:11: error: always_inline function '_mm256_set_epi32' requires target feature 'xsave', but would be inlined into function 'r3_recip' that is compiled without support for 'xsave'
core.c: F0[2] = _mm256_set_epi32(32767,-1,32767,-1,32767,-1,65535,-1);
core.c: ^
core.c: core.c:355:27: error: always_inline function '_mm256_set1_epi32' requires target feature 'xsave', but would be inlined into function 'r3_recip' that is compiled without support for 'xsave'
core.c: F1[0] = F1[1] = F1[2] = _mm256_set1_epi32(0);
core.c: ^
core.c: core.c:357:27: error: always_inline function '_mm256_set1_epi32' requires target feature 'xsave', but would be inlined into function 'r3_recip' that is compiled without support for 'xsave'
core.c: ...
core.c: clang: note: diagnostic msg:
core.c: ********************
core.c:
core.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
core.c: Preprocessed source(s) and associated run script(s) are located at:
core.c: clang: note: diagnostic msg: /tmp/core-798033.c
core.c: clang: note: diagnostic msg: /tmp/core-798033.sh
core.c: clang: note: diagnostic msg:
core.c:
core.c: ********************

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE faster

Compiler output

Implementation: faster
Security model: unknown
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
core.c: core.c:353:19: error: always_inline function '_mm256_set_epi32' requires target feature 'xsave', but would be inlined into function 'r3_recip' that is compiled without support for 'xsave'
core.c: F0[0] = F0[1] = _mm256_set_epi32(-1,-1,-1,-1,-1,-1,-1,-1);
core.c: ^
core.c: core.c:354:11: error: always_inline function '_mm256_set_epi32' requires target feature 'xsave', but would be inlined into function 'r3_recip' that is compiled without support for 'xsave'
core.c: F0[2] = _mm256_set_epi32(32767,-1,32767,-1,32767,-1,65535,-1);
core.c: ^
core.c: core.c:355:27: error: always_inline function '_mm256_set1_epi32' requires target feature 'xsave', but would be inlined into function 'r3_recip' that is compiled without support for 'xsave'
core.c: F1[0] = F1[1] = F1[2] = _mm256_set1_epi32(0);
core.c: ^
core.c: core.c:357:27: error: always_inline function '_mm256_set1_epi32' requires target feature 'xsave', but would be inlined into function 'r3_recip' that is compiled without support for 'xsave'
core.c: ...
core.c: clang: note: diagnostic msg:
core.c: ********************
core.c:
core.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
core.c: Preprocessed source(s) and associated run script(s) are located at:
core.c: clang: note: diagnostic msg: /tmp/core-677214.c
core.c: clang: note: diagnostic msg: /tmp/core-677214.sh
core.c: clang: note: diagnostic msg:
core.c:
core.c: ********************

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE faster

Compiler output

Implementation: faster
Security model: unknown
Compiler: clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
core.c: core.c:353:19: error: always_inline function '_mm256_set_epi32' requires target feature 'xsave', but would be inlined into function 'r3_recip' that is compiled without support for 'xsave'
core.c: F0[0] = F0[1] = _mm256_set_epi32(-1,-1,-1,-1,-1,-1,-1,-1);
core.c: ^
core.c: core.c:354:11: error: always_inline function '_mm256_set_epi32' requires target feature 'xsave', but would be inlined into function 'r3_recip' that is compiled without support for 'xsave'
core.c: F0[2] = _mm256_set_epi32(32767,-1,32767,-1,32767,-1,65535,-1);
core.c: ^
core.c: core.c:355:27: error: always_inline function '_mm256_set1_epi32' requires target feature 'xsave', but would be inlined into function 'r3_recip' that is compiled without support for 'xsave'
core.c: F1[0] = F1[1] = F1[2] = _mm256_set1_epi32(0);
core.c: ^
core.c: core.c:357:27: error: always_inline function '_mm256_set1_epi32' requires target feature 'xsave', but would be inlined into function 'r3_recip' that is compiled without support for 'xsave'
core.c: ...
core.c: clang: note: diagnostic msg:
core.c: ********************
core.c:
core.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
core.c: Preprocessed source(s) and associated run script(s) are located at:
core.c: clang: note: diagnostic msg: /tmp/core-6d99d8.c
core.c: clang: note: diagnostic msg: /tmp/core-6d99d8.sh
core.c: clang: note: diagnostic msg:
core.c:
core.c: ********************

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE faster

Compiler output

Implementation: faster
Security model: unknown
Compiler: clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
core.c: core.c:353:19: error: always_inline function '_mm256_set_epi32' requires target feature 'xsave', but would be inlined into function 'r3_recip' that is compiled without support for 'xsave'
core.c: F0[0] = F0[1] = _mm256_set_epi32(-1,-1,-1,-1,-1,-1,-1,-1);
core.c: ^
core.c: core.c:354:11: error: always_inline function '_mm256_set_epi32' requires target feature 'xsave', but would be inlined into function 'r3_recip' that is compiled without support for 'xsave'
core.c: F0[2] = _mm256_set_epi32(32767,-1,32767,-1,32767,-1,65535,-1);
core.c: ^
core.c: core.c:355:27: error: always_inline function '_mm256_set1_epi32' requires target feature 'xsave', but would be inlined into function 'r3_recip' that is compiled without support for 'xsave'
core.c: F1[0] = F1[1] = F1[2] = _mm256_set1_epi32(0);
core.c: ^
core.c: core.c:357:27: error: always_inline function '_mm256_set1_epi32' requires target feature 'xsave', but would be inlined into function 'r3_recip' that is compiled without support for 'xsave'
core.c: ...
core.c: clang: note: diagnostic msg:
core.c: ********************
core.c:
core.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
core.c: Preprocessed source(s) and associated run script(s) are located at:
core.c: clang: note: diagnostic msg: /tmp/core-10def9.c
core.c: clang: note: diagnostic msg: /tmp/core-10def9.sh
core.c: clang: note: diagnostic msg:
core.c:
core.c: ********************

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE faster

Compiler output

Implementation: faster
Security model: unknown
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
core.c: core.c:353:19: error: always_inline function '_mm256_set_epi32' requires target feature 'sse4.2', but would be inlined into function 'r3_recip' that is compiled without support for 'sse4.2'
core.c: F0[0] = F0[1] = _mm256_set_epi32(-1,-1,-1,-1,-1,-1,-1,-1);
core.c: ^
core.c: core.c:354:11: error: always_inline function '_mm256_set_epi32' requires target feature 'sse4.2', but would be inlined into function 'r3_recip' that is compiled without support for 'sse4.2'
core.c: F0[2] = _mm256_set_epi32(32767,-1,32767,-1,32767,-1,65535,-1);
core.c: ^
core.c: core.c:355:27: error: always_inline function '_mm256_set1_epi32' requires target feature 'sse4.2', but would be inlined into function 'r3_recip' that is compiled without support for 'sse4.2'
core.c: F1[0] = F1[1] = F1[2] = _mm256_set1_epi32(0);
core.c: ^
core.c: core.c:357:27: error: always_inline function '_mm256_set1_epi32' requires target feature 'sse4.2', but would be inlined into function 'r3_recip' that is compiled without support for 'sse4.2'
core.c: ...
core.c: clang: note: diagnostic msg:
core.c: ********************
core.c:
core.c: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
core.c: Preprocessed source(s) and associated run script(s) are located at:
core.c: clang: note: diagnostic msg: /tmp/core-a1c105.c
core.c: clang: note: diagnostic msg: /tmp/core-a1c105.sh
core.c: clang: note: diagnostic msg:
core.c:
core.c: ********************

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE faster

Compiler output

Implementation: faster
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
core.c: core.c: In function ‘r3_recip’:
core.c: core.c:353:17: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
core.c: F0[0] = F0[1] = _mm256_set_epi32(-1,-1,-1,-1,-1,-1,-1,-1);
core.c: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core.c: core.c: In function ‘vec256_swap’:
core.c: core.c:171:20: note: The ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
core.c: static inline void vec256_swap(vec256 *f,vec256 *g,int len,vec256 mask)
core.c: ^~~~~~~~~~~
core.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:43:0,
core.c: from core.c:4:
core.c: ...
core.c: vec256 b1 = _mm256_loadu_si256((vec256 *) b); b += 32; /* 32,33,... */
core.c: ^~
core.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:41:0,
core.c: from core.c:4:
core.c: /usr/lib/gcc/x86_64-linux-gnu/6/include/avxintrin.h:894:1: error: inlining failed in call to always_inline ‘_mm256_loadu_si256’: target specific option mismatch
core.c: _mm256_loadu_si256 (__m256i const *__P)
core.c: ^~~~~~~~~~~~~~~~~~
core.c: core.c:17:12: note: called from here
core.c: vec256 b0 = _mm256_loadu_si256((vec256 *) b); b += 32; /* 0,1,...,31 */
core.c: ^~

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE faster
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE faster
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE faster
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE faster

Compiler output

Implementation: faster821
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: crypto_core_invhrss701.a(core.o): relocation R_X86_64_PC32 against symbol `memcpy@@GLIBC_2.14' can not be used when making a shared object; recompile with -fPIC
try.c: /usr/bin/ld: final link failed: Bad value
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE faster821
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE faster821
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE faster821
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE faster821