Implementation notes: aarch64, lionheart30, crypto_aead/hs1sivhiv2

Computer: lionheart30
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20160806
Operation: crypto_aead
Primitive: hs1sivhiv2
TimeImplementationCompilerBenchmark dateSUPERCOP version
31177fastergcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016082020160806
36998dolbeau/armv8cryptogcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016082020160806
37287dolbeau/armv8cryptogcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016082020160806
41042fastergcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016082020160806
41692fastergcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016082020160806
42178dolbeau/armv8cryptogcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016082020160806
43524fastergcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016082020160806
54305dolbeau/armv8cryptogcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016082020160806
58852refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016082020160806
69114refclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016082020160806
75073refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016082020160806
82285refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016082020160806
99603refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016082020160806

Compiler output

Implementation: crypto_aead/hs1sivhiv2/dolbeau/armv8crypto
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
encrypt.c: In file included from encrypt.c:54:
encrypt.c: /usr/bin/../lib/clang/3.4/include/arm_neon.h:28:2: error: "NEON support not enabled"
encrypt.c: #error "NEON support not enabled"
encrypt.c: ^
encrypt.c: /usr/bin/../lib/clang/3.4/include/arm_neon.h:47:24: error: 'neon_vector_type' attribute is not supported for this target
encrypt.c: typedef __attribute__((neon_vector_type(8))) int8_t int8x8_t;
encrypt.c: ^
encrypt.c: /usr/bin/../lib/clang/3.4/include/arm_neon.h:48:24: error: 'neon_vector_type' attribute is not supported for this target
encrypt.c: typedef __attribute__((neon_vector_type(16))) int8_t int8x16_t;
encrypt.c: ^
encrypt.c: /usr/bin/../lib/clang/3.4/include/arm_neon.h:49:24: error: 'neon_vector_type' attribute is not supported for this target
encrypt.c: typedef __attribute__((neon_vector_type(4))) int16_t int16x4_t;
encrypt.c: ^
encrypt.c: /usr/bin/../lib/clang/3.4/include/arm_neon.h:50:24: error: 'neon_vector_type' attribute is not supported for this target
encrypt.c: typedef __attribute__((neon_vector_type(8))) int16_t int16x8_t;
encrypt.c: ^
encrypt.c: /usr/bin/../lib/clang/3.4/include/arm_neon.h:51:24: error: 'neon_vector_type' attribute is not supported for this target
encrypt.c: typedef __attribute__((neon_vector_type(2))) int32_t int32x2_t;
encrypt.c: ^
encrypt.c: /usr/bin/../lib/clang/3.4/include/arm_neon.h:52:24: error: 'neon_vector_type' attribute is not supported for this target
encrypt.c: typedef __attribute__((neon_vector_type(4))) int32_t int32x4_t;
encrypt.c: ^
encrypt.c: /usr/bin/../lib/clang/3.4/include/arm_neon.h:53:24: error: 'neon_vector_type' attribute is not supported for this target
encrypt.c: typedef __attribute__((neon_vector_type(1))) int64_t int64x1_t;
encrypt.c: ^
encrypt.c: ...

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

Compiler output

Implementation: crypto_aead/hs1sivhiv2/faster
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
hs1.c: hs1.c:1033:30: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)'
hs1.c: unsigned char *tmp = malloc(abytes);
hs1.c: ^
hs1.c: hs1.c:1033:30: note: please include the header gt; or explicitly provide a declaration for 'malloc'
hs1.c: hs1.c:1037:9: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
hs1.c: free(tmp);
hs1.c: ^
hs1.c: 2 warnings generated.
chacha_moon.S: chacha_moon.S:8376:6: error: unexpected operand for instruction
chacha_moon.S: ld1 {v24.4s},[x5],#16
chacha_moon.S: ^
chacha_moon.S: chacha_moon.S:8379:6: error: unexpected operand for instruction
chacha_moon.S: ld1 {v25.4s,v26.4s},[x3]
chacha_moon.S: ^
chacha_moon.S: chacha_moon.S:8381:6: error: unexpected operand for instruction
chacha_moon.S: ld1 {v27.4s},[x4]
chacha_moon.S: ^
chacha_moon.S: chacha_moon.S:8382:6: error: unexpected operand for instruction
chacha_moon.S: ld1 {v31.4s},[x5]
chacha_moon.S: ^
chacha_moon.S: chacha_moon.S:8392:2: error: instruction requires a CPU feature not currently enabled
chacha_moon.S: add v27.4s,v27.4s,v31.4s
chacha_moon.S: ^
chacha_moon.S: chacha_moon.S:8393:2: error: instruction requires a CPU feature not currently enabled
chacha_moon.S: add v28.4s,v27.4s,v31.4s
chacha_moon.S: ^
chacha_moon.S: chacha_moon.S:8394:2: error: instruction requires a CPU feature not currently enabled
chacha_moon.S: add v29.4s,v28.4s,v31.4s
chacha_moon.S: ^
chacha_moon.S: chacha_moon.S:8395:2: error: instruction requires a CPU feature not currently enabled
chacha_moon.S: shl v31.4s,v31.4s,#2
chacha_moon.S: ^
chacha_moon.S: chacha_moon.S:8400:2: error: instruction requires a CPU feature not currently enabled
chacha_moon.S: ...

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

Compiler output

Implementation: crypto_aead/hs1sivhiv2/faster
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
hs1.c: hs1.c: In function 'hs1siv_decrypt':
hs1.c: hs1.c:1033:30: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
hs1.c: unsigned char *tmp = malloc(abytes);
hs1.c: ^~~~~~
hs1.c: hs1.c:1033:30: warning: incompatible implicit declaration of built-in function 'malloc'
hs1.c: hs1.c:1033:30: note: include 'gt;' or provide a declaration of 'malloc'
hs1.c: hs1.c:1037:9: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
hs1.c: free(tmp);
hs1.c: ^~~~
hs1.c: hs1.c:1037:9: warning: incompatible implicit declaration of built-in function 'free'
hs1.c: hs1.c:1037:9: note: include 'gt;' or provide a declaration of 'free'

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