Implementation notes: aarch64, lionheart30, crypto_hash/echo256

Computer: lionheart30
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20160806
Operation: crypto_hash
Primitive: echo256
TimeImplementationCompilerBenchmark dateSUPERCOP version
53966generic/opt64clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016082020160806
59962generic/opt64gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016082020160806
61540sphlibclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016082020160806
62602generic/opt64gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016082020160806
63026sphlibgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016082020160806
63628sphlibgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016082020160806
63987sphlibgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016082020160806
64151sphlib-smallgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016082020160806
64991generic/opt64gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016082020160806
65257generic/opt64gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016082020160806
66003sphlibgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016082020160806
66393sphlib-smallgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016082020160806
67246sphlib-smallclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016082020160806
69763sphlib-smallgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016082020160806
71031sphlib-smallgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016082020160806
72151generic/opt32clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016082020160806
78495generic/opt32gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016082020160806
78560generic/opt32gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016082020160806
79105generic/opt32gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016082020160806
80741generic/opt32gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016082020160806
84832powerpc/pp32cv2clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016082020160806
103882powerpc/pp32cv2gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016082020160806
113513powerpc/pp32cv1clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016082020160806
119914powerpc/pp32cv2gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016082020160806
120694powerpc/pp32cv2gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016082020160806
130329powerpc/pp32cv2gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016082020160806
146212powerpc/pp32cv1gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016082020160806
163617powerpc/pp32cv1gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016082020160806
176585powerpc/pp32cv1gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016082020160806
179212powerpc/pp32cv1gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016082020160806

Compiler output

Implementation: crypto_hash/echo256/generic/opt64
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
echo64.c: echo64.c:501:29: warning: passing 'const unsigned char *' to parameter of type 'BitSequence *' (aka 'unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
echo64.c: if (Hash(CRYPTO_BYTES * 8,in,inlen * 8,out) == SUCCESS) return 0;
echo64.c: ^~
echo64.c: echo64.c:488:46: note: passing argument to parameter 'data' here
echo64.c: HashReturn Hash(int hashbitlen, BitSequence *data, DataLength databitlen, BitSequence *hashval)
echo64.c: ^
echo64.c: 1 warning generated.

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

Compiler output

Implementation: crypto_hash/echo256/ccalik/bitsliced
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
hash.c: In file included from hash.c:18:
hash.c: /usr/bin/../lib/clang/3.4/include/tmmintrin.h:28:2: error: "SSSE3 instruction set not enabled"
hash.c: #error "SSSE3 instruction set not enabled"
hash.c: ^
hash.c: In file included from hash.c:19:
hash.c: In file included from ./hash_api.h:22:
hash.c: /usr/bin/../lib/clang/3.4/include/emmintrin.h:28:2: error: "SSE2 instruction set not enabled"
hash.c: #error "SSE2 instruction set not enabled"
hash.c: ^
hash.c: In file included from hash.c:19:
hash.c: ./hash_api.h:28:2: error: unknown type name '__m128i'
hash.c: __m128i state[4][4];
hash.c: ^
hash.c: ./hash_api.h:29:2: error: unknown type name '__m128i'
hash.c: __m128i k;
hash.c: ^
hash.c: ./hash_api.h:30:2: error: unknown type name '__m128i'
hash.c: __m128i hashsize;
hash.c: ^
hash.c: ./hash_api.h:31:2: error: unknown type name '__m128i'
hash.c: __m128i const1536;
hash.c: ^
hash.c: hash.c:423:2: error: use of undeclared identifier '__m128i'
hash.c: __m128i k1, t0, t1, t2, t3, s0, s1, s2, s3, konst[16], row[4][8], mixed[4][8];
hash.c: ^
hash.c: ...

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

Compiler output

Implementation: crypto_hash/echo256/generic/opt64
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
echo64.c: echo64.c: In function 'crypto_hash_echo256_generic_opt64':
echo64.c: echo64.c:501:29: warning: passing argument 2 of 'Hash' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
echo64.c: if (Hash(CRYPTO_BYTES * 8,in,inlen * 8,out) == SUCCESS) return 0;
echo64.c: ^~
echo64.c: echo64.c:488:12: note: expected 'BitSequence * {aka unsigned char *}' but argument is of type 'const unsigned char *'
echo64.c: HashReturn Hash(int hashbitlen, BitSequence *data, DataLength databitlen, BitSequence *hashval)
echo64.c: ^~~~

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

Compiler output

Implementation: crypto_hash/echo256/ccalik/bitsliced
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
hash.c: hash.c:18:23: fatal error: tmmintrin.h: No such file or directory
hash.c: #include gt;
hash.c: ^
hash.c: compilation terminated.

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