Implementation notes: aarch64, hikey960, crypto_sign/sphincss192sha256robust

Computer: hikey960
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20190816
Operation: crypto_sign
Primitive: sphincss192sha256robust
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
644442107417888 0 034906 832 1648refclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019120720190816
905281631120056 0 039821 960 1664refgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019120720190816
973302315320176 0 040021 960 1664refgcc_-funroll-loops_-O3_-fomit-frame-pointer2019120720190816
1130837252815256 0 031813 960 1632refgcc_-O2_-fomit-frame-pointer2019120720190816
1180818832517748 0 035885 960 1664refgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019120720190816
1195153463717888 0 034906 832 1648refclang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019120720190816
1217203245020192 0 039757 960 1632refgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019120720190816
1406037555020140 0 039909 960 1632refgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019120720190816
1568851245014668 0 030369 944 1632refgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019120720190816
1571552707515332 0 031901 960 1632refgcc_-O_-fomit-frame-pointer2019120720190816
1577256208714668 0 030369 944 1632refgcc_-funroll-loops_-Os_-fomit-frame-pointer2019120720190816
1582233682515372 0 031941 960 1632refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019120720190816
1595529728115248 0 031805 960 1632refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019120720190816
1740170968820436 0 040005 960 1632refgcc_-funroll-loops_-O2_-fomit-frame-pointer2019120720190816
1774954102517908 0 036109 960 1664refgcc_-O3_-fomit-frame-pointer2019120720190816
1919261645014660 0 030337 944 1632refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019120720190816
2023007099317844 0 036029 960 1664refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019120720190816
2190501461015332 0 031901 960 1632refgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019120720190816
2229330211515100 0 031581 960 1632refgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019120720190816
2235160076717888 0 034906 832 1648refclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019120720190816
2273857200017888 0 034890 832 1648refclang_-O3_-fomit-frame-pointer_-Qunused-arguments2019120720190816

Test failure

Implementation: ref
Security model: unknown
Compiler: cc
error 142
Alarm clock

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
cc ref
gcc ref
gcc -Os -fomit-frame-pointer ref
gcc -fno-schedule-insns -Os -fomit-frame-pointer ref
gcc -funroll-loops ref
gcc -funroll-loops -O -fomit-frame-pointer ref

Compiler output

Implementation: avx2
Security model: unknown
Compiler: cc
hash_sha256x8.c: In file included from hash_sha256x8.c:10:0:
hash_sha256x8.c: sha256avx.h:3:23: fatal error: immintrin.h: No such file or directory
hash_sha256x8.c: #include "immintrin.h"
hash_sha256x8.c: ^
hash_sha256x8.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 23, namely:
CompilerImplementations
cc avx2
gcc avx2
gcc -O2 -fomit-frame-pointer avx2
gcc -O3 -fomit-frame-pointer avx2
gcc -O -fomit-frame-pointer avx2
gcc -Os -fomit-frame-pointer avx2
gcc -fno-schedule-insns -O2 -fomit-frame-pointer avx2
gcc -fno-schedule-insns -O3 -fomit-frame-pointer avx2
gcc -fno-schedule-insns -O -fomit-frame-pointer avx2
gcc -fno-schedule-insns -Os -fomit-frame-pointer avx2
gcc -funroll-loops avx2
gcc -funroll-loops -O2 -fomit-frame-pointer avx2
gcc -funroll-loops -O3 -fomit-frame-pointer avx2
gcc -funroll-loops -O -fomit-frame-pointer avx2
gcc -funroll-loops -Os -fomit-frame-pointer avx2
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer avx2
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer avx2
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer avx2
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer avx2
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv avx2
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv avx2
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv avx2
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv avx2

Compiler output

Implementation: avx2
Security model: unknown
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
hash_sha256x8.c: In file included from hash_sha256x8.c:10:
hash_sha256x8.c: In file included from ./sha256avx.h:3:
hash_sha256x8.c: In file included from /usr/lib/llvm-3.8/bin/../lib/clang/3.8.1/include/immintrin.h:27:
hash_sha256x8.c: /usr/lib/llvm-3.8/bin/../lib/clang/3.8.1/include/mmintrin.h:45:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
hash_sha256x8.c: return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
hash_sha256x8.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hash_sha256x8.c: /usr/lib/llvm-3.8/bin/../lib/clang/3.8.1/include/mmintrin.h:69:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
hash_sha256x8.c: return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
hash_sha256x8.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hash_sha256x8.c: /usr/lib/llvm-3.8/bin/../lib/clang/3.8.1/include/mmintrin.h:75:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
hash_sha256x8.c: return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
hash_sha256x8.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hash_sha256x8.c: /usr/lib/llvm-3.8/bin/../lib/clang/3.8.1/include/mmintrin.h:81:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
hash_sha256x8.c: return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
hash_sha256x8.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hash_sha256x8.c: /usr/lib/llvm-3.8/bin/../lib/clang/3.8.1/include/mmintrin.h:87:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
hash_sha256x8.c: return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
hash_sha256x8.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hash_sha256x8.c: /usr/lib/llvm-3.8/bin/../lib/clang/3.8.1/include/mmintrin.h:93:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
hash_sha256x8.c: return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
hash_sha256x8.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hash_sha256x8.c: /usr/lib/llvm-3.8/bin/../lib/clang/3.8.1/include/mmintrin.h:99:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
hash_sha256x8.c: return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
hash_sha256x8.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hash_sha256x8.c: /usr/lib/llvm-3.8/bin/../lib/clang/3.8.1/include/mmintrin.h:105:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
hash_sha256x8.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments avx2
clang -O3 -fwrapv -mavx2 -fomit-frame-pointer -Qunused-arguments avx2
clang -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments avx2
clang -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer -Qunused-arguments avx2