Implementation notes: aarch64, a53, crypto_aead/hs1sivhiv2

Computer: a53
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20160731
Operation: crypto_aead
Primitive: hs1sivhiv2
TimeImplementationCompilerBenchmark dateSUPERCOP version
45600dolbeau/armv8cryptogcc -mcpu=cortex-a53 -O2 -fomit-frame-pointer -fwrapv2016080120160731
45600dolbeau/armv8cryptogcc -mcpu=cortex-a53 -O3 -fomit-frame-pointer -fwrapv2016080120160731
57600fasterclang -mcpu=cortex-a53 -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016080120160731
57600fastergcc -mcpu=cortex-a53 -O3 -fomit-frame-pointer -fwrapv2016080120160731
58400dolbeau/armv8cryptogcc -mcpu=cortex-a53 -Os -fomit-frame-pointer -fwrapv2016080120160731
60800dolbeau/armv8cryptoclang -mcpu=cortex-a53 -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016080120160731
60800fastergcc -mcpu=cortex-a53 -O2 -fomit-frame-pointer -fwrapv2016080120160731
76000fastergcc -mcpu=cortex-a53 -Os -fomit-frame-pointer -fwrapv2016080120160731
79200dolbeau/armv8cryptogcc -mcpu=cortex-a53 -O -fomit-frame-pointer -fwrapv2016080120160731
91200refclang -mcpu=cortex-a53 -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016080120160731
96000fastergcc -mcpu=cortex-a53 -O -fomit-frame-pointer -fwrapv2016080120160731
116000refgcc -mcpu=cortex-a53 -O3 -fomit-frame-pointer -fwrapv2016080120160731
120000refgcc -mcpu=cortex-a53 -O2 -fomit-frame-pointer -fwrapv2016080120160731
135200refgcc -mcpu=cortex-a53 -Os -fomit-frame-pointer -fwrapv2016080120160731
159165refgcc -mcpu=cortex-a53 -O -fomit-frame-pointer -fwrapv2016080120160731

Compiler output

Implementation: crypto_aead/hs1sivhiv2/dolbeau/amd64-avx512
Compiler: clang -mcpu=cortex-a53 -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
encrypt.c: encrypt.c:90:2: error: "This code requires AVX512F to work"
encrypt.c: #error "This code requires AVX512F to work"
encrypt.c: ^
encrypt.c: In file included from encrypt.c:195:
encrypt.c: ./c368.h:110:3: error: use of undeclared identifier '__m256i'
encrypt.c: __m256i rot16 = _mm256_set_epi8(13,12,15,14,9,8,11,10,5,4,7,6,1,0,3,2,13,12,15,14,9,8,11,10,5,4,7,6,1,0,3,2);
encrypt.c: ^
encrypt.c: ./c368.h:111:3: error: use of undeclared identifier '__m256i'
encrypt.c: __m256i rot8 = _mm256_set_epi8(14,13,12,15,10,9,8,11,6,5,4,7,2,1,0,3,14,13,12,15,10,9,8,11,6,5,4,7,2,1,0,3);
encrypt.c: ^
encrypt.c: ./c368.h:115:1: error: use of undeclared identifier '__m256i'
encrypt.c: __m256i x_0 = _mm256_set1_epi32(x[0]);
encrypt.c: ^
encrypt.c: ./c368.h:116:1: error: use of undeclared identifier '__m256i'
encrypt.c: __m256i x_1 = _mm256_set1_epi32(x[1]);
encrypt.c: ^
encrypt.c: ./c368.h:117:1: error: use of undeclared identifier '__m256i'
encrypt.c: __m256i x_2 = _mm256_set1_epi32(x[2]);
encrypt.c: ^
encrypt.c: ./c368.h:118:1: error: use of undeclared identifier '__m256i'
encrypt.c: __m256i x_3 = _mm256_set1_epi32(x[3]);
encrypt.c: ^
encrypt.c: ./c368.h:119:1: error: use of undeclared identifier '__m256i'
encrypt.c: __m256i x_4 = _mm256_set1_epi32(x[4]);
encrypt.c: ^
encrypt.c: ...

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

Compiler output

Implementation: crypto_aead/hs1sivhiv2/faster
Compiler: clang -mcpu=cortex-a53 -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: 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.

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

Compiler output

Implementation: crypto_aead/hs1sivhiv2/dolbeau/amd64-avx512
Compiler: gcc -mcpu=cortex-a53 -O2 -fomit-frame-pointer -fwrapv
encrypt.c: encrypt.c:54:23: fatal error: immintrin.h: No such file or directory
encrypt.c: #include gt;
encrypt.c: ^
encrypt.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -mcpu=cortex-a53 -O2 -fomit-frame-pointer -fwrapv dolbeau/amd64-avx512
gcc -mcpu=cortex-a53 -O3 -fomit-frame-pointer -fwrapv dolbeau/amd64-avx512
gcc -mcpu=cortex-a53 -O -fomit-frame-pointer -fwrapv dolbeau/amd64-avx512
gcc -mcpu=cortex-a53 -Os -fomit-frame-pointer -fwrapv dolbeau/amd64-avx512

Compiler output

Implementation: crypto_aead/hs1sivhiv2/faster
Compiler: gcc -mcpu=cortex-a53 -O2 -fomit-frame-pointer -fwrapv
hs1.c: hs1.c: In function 'hs1siv_decrypt':
hs1.c: hs1.c:1033:30: warning: incompatible implicit declaration of built-in function 'malloc'
hs1.c: unsigned char *tmp = malloc(abytes);
hs1.c: ^
hs1.c: hs1.c:1037:9: warning: incompatible implicit declaration of built-in function 'free'
hs1.c: free(tmp);
hs1.c: ^

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