Implementation notes: aarch64, lionheart30, crypto_aead/kiasuneq128v1

Computer: lionheart30
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20160806
Operation: crypto_aead
Primitive: kiasuneq128v1
TimeImplementationCompilerBenchmark dateSUPERCOP version
228779refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016082020160806
238790refclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016082020160806
250349refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016082020160806
258286refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016082020160806
266639refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016082020160806

Compiler output

Implementation: crypto_aead/kiasuneq128v1/opt
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
kiasu.c: In file included from kiasu.c:26:
kiasu.c: /usr/bin/../lib/clang/3.4/include/xmmintrin.h:28:2: error: "SSE instruction set not enabled"
kiasu.c: #error "SSE instruction set not enabled"
kiasu.c: ^
kiasu.c: In file included from kiasu.c:27:
kiasu.c: /usr/bin/../lib/clang/3.4/include/emmintrin.h:28:2: error: "SSE2 instruction set not enabled"
kiasu.c: #error "SSE2 instruction set not enabled"
kiasu.c: ^
kiasu.c: In file included from kiasu.c:28:
kiasu.c: /usr/bin/../lib/clang/3.4/include/wmmintrin.h:30:3: error: "AES/PCLMUL instructions not enabled"
kiasu.c: # error "AES/PCLMUL instructions not enabled"
kiasu.c: ^
kiasu.c: In file included from kiasu.c:29:
kiasu.c: /usr/bin/../lib/clang/3.4/include/tmmintrin.h:28:2: error: "SSSE3 instruction set not enabled"
kiasu.c: #error "SSSE3 instruction set not enabled"
kiasu.c: ^
kiasu.c: kiasu.c:35:8: error: unknown type name '__m128i'
kiasu.c: static __m128i assist128(__m128i a, __m128i b)
kiasu.c: ^
kiasu.c: kiasu.c:35:26: error: unknown type name '__m128i'
kiasu.c: static __m128i assist128(__m128i a, __m128i b)
kiasu.c: ^
kiasu.c: kiasu.c:35:37: error: unknown type name '__m128i'
kiasu.c: static __m128i assist128(__m128i a, __m128i b)
kiasu.c: ^
kiasu.c: ...

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

Compiler output

Implementation: crypto_aead/kiasuneq128v1/bitslice
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
kiasu.c: kiasu.c:256:13: error: unknown type name 'block'
kiasu.c: ALIGN(16) block Auth; /* Auth value during the mode */
kiasu.c: ^
kiasu.c: kiasu.c:257:13: error: unknown type name 'block'
kiasu.c: ALIGN(16) block Checksum; /* Checksum on the plaintext blocks */
kiasu.c: ^
kiasu.c: kiasu.c:258:13: error: unknown type name 'block'
kiasu.c: ALIGN(16) block PaddedBlock; /* Padded blocks if needed, otherwise the zero bock */
kiasu.c: ^
kiasu.c: kiasu.c:259:13: error: unknown type name 'block'
kiasu.c: ALIGN(16) block ta[BPI]; /* 8 blocks for parallel processing */
kiasu.c: ^
kiasu.c: kiasu.c:260:19: error: unknown type name 'block'
kiasu.c: ALIGN(16) const block* adp; /* Pointer to the blocks to process */
kiasu.c: ^
kiasu.c: kiasu.c:262:13: error: unknown type name '__m128i'
kiasu.c: ALIGN(16) __m128i tmpblock;
kiasu.c: ^
kiasu.c: kiasu.c:271:10: error: use of undeclared identifier 'block'
kiasu.c: adp = (block *)ad;
kiasu.c: ^
kiasu.c: kiasu.c:271:17: error: expected expression
kiasu.c: adp = (block *)ad;
kiasu.c: ^
kiasu.c: kiasu.c:277:8: warning: implicit declaration of function 'zero_block' is invalid in C99 [-Wimplicit-function-declaration]
kiasu.c: ...

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

Compiler output

Implementation: crypto_aead/kiasuneq128v1/bitslice
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
kiasu.c: kiasu.c: In function 'kiasu_aead_encrypt':
kiasu.c: kiasu.c:256:13: error: unknown type name 'block'
kiasu.c: ALIGN(16) block Auth; /* Auth value during the mode */
kiasu.c: ^~~~~
kiasu.c: kiasu.c:257:13: error: unknown type name 'block'
kiasu.c: ALIGN(16) block Checksum; /* Checksum on the plaintext blocks */
kiasu.c: ^~~~~
kiasu.c: kiasu.c:258:13: error: unknown type name 'block'
kiasu.c: ALIGN(16) block PaddedBlock; /* Padded blocks if needed, otherwise the zero bock */
kiasu.c: ^~~~~
kiasu.c: kiasu.c:259:13: error: unknown type name 'block'
kiasu.c: ALIGN(16) block ta[BPI]; /* 8 blocks for parallel processing */
kiasu.c: ^~~~~
kiasu.c: kiasu.c:260:19: error: unknown type name 'block'
kiasu.c: ALIGN(16) const block* adp; /* Pointer to the blocks to process */
kiasu.c: ^~~~~
kiasu.c: kiasu.c:262:13: error: unknown type name '__m128i'
kiasu.c: ALIGN(16) __m128i tmpblock;
kiasu.c: ^~~~~~~
kiasu.c: kiasu.c:271:10: error: 'block' undeclared (first use in this function)
kiasu.c: adp = (block *)ad;
kiasu.c: ^~~~~
kiasu.c: kiasu.c:271:10: note: each undeclared identifier is reported only once for each function it appears in
kiasu.c: kiasu.c:271:17: error: expected expression before ')' token
kiasu.c: adp = (block *)ad;
kiasu.c: ...

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

Compiler output

Implementation: crypto_aead/kiasuneq128v1/opt
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
kiasu.c: kiasu.c:26:74: fatal error: xmmintrin.h: No such file or directory
kiasu.c: #include gt; /* SSE instructions and _mm_malloc */
kiasu.c: ^
kiasu.c: compilation terminated.

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