Implementation notes: aarch64, jetsontx1, crypto_hash/hamsi

Computer: jetsontx1
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20180818
Operation: crypto_hash
Primitive: hamsi

Compiler output

Implementation: crypto_hash/hamsi/simd-1
Compiler: clang-6.0 -mcpu=cortex-a57 -O2 -fomit-frame-pointer -fwrapv
hamsi.c: In file included from hamsi.c:1:
hamsi.c: In file included from /usr/lib/llvm-6.0/lib/clang/6.0.0/include/emmintrin.h:27:
hamsi.c: In file included from /usr/lib/llvm-6.0/lib/clang/6.0.0/include/xmmintrin.h:27:
hamsi.c: /usr/lib/llvm-6.0/lib/clang/6.0.0/include/mmintrin.h:64:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
hamsi.c: return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
hamsi.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hamsi.c: /usr/lib/llvm-6.0/lib/clang/6.0.0/include/mmintrin.h:143:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
hamsi.c: return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
hamsi.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hamsi.c: /usr/lib/llvm-6.0/lib/clang/6.0.0/include/mmintrin.h:173:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
hamsi.c: return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
hamsi.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hamsi.c: /usr/lib/llvm-6.0/lib/clang/6.0.0/include/mmintrin.h:203:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
hamsi.c: return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
hamsi.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hamsi.c: /usr/lib/llvm-6.0/lib/clang/6.0.0/include/mmintrin.h:230:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
hamsi.c: return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
hamsi.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hamsi.c: /usr/lib/llvm-6.0/lib/clang/6.0.0/include/mmintrin.h:253:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
hamsi.c: return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
hamsi.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hamsi.c: /usr/lib/llvm-6.0/lib/clang/6.0.0/include/mmintrin.h:274:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
hamsi.c: return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
hamsi.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hamsi.c: /usr/lib/llvm-6.0/lib/clang/6.0.0/include/mmintrin.h:301:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
hamsi.c: ...

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
clang-6.0 -mcpu=cortex-a57 -O2 -fomit-frame-pointer -fwrapv simd-1 simd-2
clang-6.0 -mcpu=cortex-a57 -O3 -fomit-frame-pointer -fwrapv simd-1 simd-2
clang-6.0 -mcpu=cortex-a57 -Os -fomit-frame-pointer -fwrapv simd-1 simd-2

Compiler output

Implementation: crypto_hash/hamsi/sphlib
Compiler: clang-6.0 -mcpu=cortex-a57 -O2 -fomit-frame-pointer -fwrapv
hamsi.c: hamsi.c:111:10: fatal error: 'hamsi_helper.c' file not found
hamsi.c: #include "hamsi_helper.c"
hamsi.c: ^~~~~~~~~~~~~~~~
hamsi.c: 1 error generated.

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
clang-6.0 -mcpu=cortex-a57 -O2 -fomit-frame-pointer -fwrapv sphlib sphlib-small
clang-6.0 -mcpu=cortex-a57 -O3 -fomit-frame-pointer -fwrapv sphlib sphlib-small
clang-6.0 -mcpu=cortex-a57 -Os -fomit-frame-pointer -fwrapv sphlib sphlib-small

Compiler output

Implementation: crypto_hash/hamsi/sphlib
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
hamsi.c: hamsi.c:111:10: fatal error: hamsi_helper.c: No such file or directory
hamsi.c: #include "hamsi_helper.c"
hamsi.c: ^~~~~~~~~~~~~~~~
hamsi.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv sphlib sphlib-small
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv sphlib sphlib-small
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv sphlib sphlib-small

Compiler output

Implementation: crypto_hash/hamsi/simd-1
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
hamsi.c: hamsi.c:1:10: fatal error: emmintrin.h: No such file or directory
hamsi.c: #include gt;
hamsi.c: ^~~~~~~~~~~~~
hamsi.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv simd-1 simd-2
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv simd-1 simd-2
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv simd-1 simd-2