Implementation notes: aarch64, a53, crypto_hash/hamsi

Computer: a53
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20160731
Operation: crypto_hash
Primitive: hamsi

Compiler output

Implementation: crypto_hash/hamsi/simd-2
Compiler: clang -mcpu=cortex-a53 -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
hamsi.c: In file included from hamsi.c:1:
hamsi.c: /usr/include/clang/3.5.2/include/emmintrin.h:28:2: error: "SSE2 instruction set not enabled"
hamsi.c: #error "SSE2 instruction set not enabled"
hamsi.c: ^
hamsi.c: hamsi.c:244:3: error: use of undeclared identifier '__m128i'
hamsi.c: __m128i c0, c1;
hamsi.c: ^
hamsi.c: hamsi.c:252:3: error: use of undeclared identifier 'c0'
hamsi.c: load_cv(iv256);
hamsi.c: ^
hamsi.c: hamsi.c:175:5: note: expanded from macro 'load_cv'
hamsi.c: c0 = _mm_load_si128((__m128i*)(cv + 0)); \
hamsi.c: ^
hamsi.c: hamsi.c:252:3: warning: implicit declaration of function '_mm_load_si128' is invalid in C99 [-Wimplicit-function-declaration]
hamsi.c: hamsi.c:175:10: note: expanded from macro 'load_cv'
hamsi.c: c0 = _mm_load_si128((__m128i*)(cv + 0)); \
hamsi.c: ^
hamsi.c: hamsi.c:252:3: error: use of undeclared identifier '__m128i'
hamsi.c: hamsi.c:175:26: note: expanded from macro 'load_cv'
hamsi.c: c0 = _mm_load_si128((__m128i*)(cv + 0)); \
hamsi.c: ^
hamsi.c: hamsi.c:252:3: error: expected expression
hamsi.c: hamsi.c:175:34: note: expanded from macro 'load_cv'
hamsi.c: c0 = _mm_load_si128((__m128i*)(cv + 0)); \
hamsi.c: ^
hamsi.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=cortex-a53 -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments simd-2

Compiler output

Implementation: crypto_hash/hamsi/simd-1
Compiler: clang -mcpu=cortex-a53 -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
hamsi.c: In file included from hamsi.c:1:
hamsi.c: /usr/include/clang/3.5.2/include/emmintrin.h:28:2: error: "SSE2 instruction set not enabled"
hamsi.c: #error "SSE2 instruction set not enabled"
hamsi.c: ^
hamsi.c: hamsi.c:247:3: error: use of undeclared identifier '__m128i'
hamsi.c: __m128i c0, c1;
hamsi.c: ^
hamsi.c: hamsi.c:255:3: error: use of undeclared identifier 'c0'
hamsi.c: load_cv(iv256);
hamsi.c: ^
hamsi.c: hamsi.c:178:5: note: expanded from macro 'load_cv'
hamsi.c: c0 = _mm_load_si128((__m128i*)(cv + 0)); \
hamsi.c: ^
hamsi.c: hamsi.c:255:3: warning: implicit declaration of function '_mm_load_si128' is invalid in C99 [-Wimplicit-function-declaration]
hamsi.c: hamsi.c:178:10: note: expanded from macro 'load_cv'
hamsi.c: c0 = _mm_load_si128((__m128i*)(cv + 0)); \
hamsi.c: ^
hamsi.c: hamsi.c:255:3: error: use of undeclared identifier '__m128i'
hamsi.c: hamsi.c:178:26: note: expanded from macro 'load_cv'
hamsi.c: c0 = _mm_load_si128((__m128i*)(cv + 0)); \
hamsi.c: ^
hamsi.c: hamsi.c:255:3: error: expected expression
hamsi.c: hamsi.c:178:34: note: expanded from macro 'load_cv'
hamsi.c: c0 = _mm_load_si128((__m128i*)(cv + 0)); \
hamsi.c: ^
hamsi.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=cortex-a53 -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments simd-1

Compiler output

Implementation: crypto_hash/hamsi/sphlib
Compiler: clang -mcpu=cortex-a53 -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
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: 2, namely:
CompilerImplementations
clang -mcpu=cortex-a53 -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments sphlib sphlib-small

Compiler output

Implementation: crypto_hash/hamsi/sphlib
Compiler: gcc -mcpu=cortex-a53 -O2 -fomit-frame-pointer -fwrapv
hamsi.c: hamsi.c:111:26: 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: 8, namely:
CompilerImplementations
gcc -mcpu=cortex-a53 -O2 -fomit-frame-pointer -fwrapv sphlib sphlib-small
gcc -mcpu=cortex-a53 -O3 -fomit-frame-pointer -fwrapv sphlib sphlib-small
gcc -mcpu=cortex-a53 -O -fomit-frame-pointer -fwrapv sphlib sphlib-small
gcc -mcpu=cortex-a53 -Os -fomit-frame-pointer -fwrapv sphlib sphlib-small

Compiler output

Implementation: crypto_hash/hamsi/simd-1
Compiler: gcc -mcpu=cortex-a53 -O2 -fomit-frame-pointer -fwrapv
hamsi.c: hamsi.c:1:23: 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: 8, namely:
CompilerImplementations
gcc -mcpu=cortex-a53 -O2 -fomit-frame-pointer -fwrapv simd-1 simd-2
gcc -mcpu=cortex-a53 -O3 -fomit-frame-pointer -fwrapv simd-1 simd-2
gcc -mcpu=cortex-a53 -O -fomit-frame-pointer -fwrapv simd-1 simd-2
gcc -mcpu=cortex-a53 -Os -fomit-frame-pointer -fwrapv simd-1 simd-2