Implementation notes: armeabi, pi2, crypto_aead/aes256gcmv1

Computer: pi2
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20160731
Operation: crypto_aead
Primitive: aes256gcmv1
TimeImplementationCompilerBenchmark dateSUPERCOP version
271790opensslgcc -mcpu=native -mfpu=neon -O -fomit-frame-pointer -fwrapv2016080620160731
273282opensslclang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016080620160731
282605opensslgcc -mcpu=native -mfpu=neon -O2 -fomit-frame-pointer -fwrapv2016080620160731
283468opensslgcc -mcpu=native -mfpu=neon -Os -fomit-frame-pointer -fwrapv2016080620160731
289583opensslgcc -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv2016080620160731
8475262refgcc -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv2016080620160731
9396570refclang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016080620160731
48128468refgcc -mcpu=native -mfpu=neon -O2 -fomit-frame-pointer -fwrapv2016080620160731
48225050refgcc -mcpu=native -mfpu=neon -Os -fomit-frame-pointer -fwrapv2016080620160731
55410906refgcc -mcpu=native -mfpu=neon -O -fomit-frame-pointer -fwrapv2016080620160731

Compiler output

Implementation: crypto_aead/aes256gcmv1/cryptopp
Compiler: clang++ -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
stream.cpp: stream.cpp:2:10: fatal error: 'cryptopp/aes.h' file not found
stream.cpp: #include gt;
stream.cpp: ^
stream.cpp: 1 error generated.

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang++ -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments cryptopp

Compiler output

Implementation: crypto_aead/aes256gcmv1/dolbeau/armv8crypto
Compiler: clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
armv8crypto.c: armv8crypto.c:84:10: warning: implicit declaration of function 'vaeseq_u8' is invalid in C99 [-Wimplicit-function-declaration]
armv8crypto.c: temp = vaeseq_u8(temp, vld1q_u8((rkeys+208)));
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:84:8: error: assigning to 'uint8x16_t' (vector of 16 'uint8_t' values) from incompatible type 'int'
armv8crypto.c: temp = vaeseq_u8(temp, vld1q_u8((rkeys+208)));
armv8crypto.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
armv8crypto.c: armv8crypto.c:239:1: error: invalid conversion between vector type 'uint32x4_t' (vector of 4 'uint32_t' values) and integer type 'int' of different size
armv8crypto.c: FUNC(2, MAKE2)
armv8crypto.c: ^~~~~~~~~~~~~~
armv8crypto.c: armv8crypto.c:234:11: note: expanded from macro 'FUNC'
armv8crypto.c: MAKEN(AESENCLASTx); \
armv8crypto.c: ~~~~~~^~~~~~~~~~~~
armv8crypto.c: armv8crypto.c:191:3: note: expanded from macro 'MAKE2'
armv8crypto.c: X(0);X(1)
armv8crypto.c: ^~~~
armv8crypto.c: armv8crypto.c:183:11: note: expanded from macro 'AESENCLASTx'
armv8crypto.c: nv##a = (uint32x4_t)vaeseq_u8((uint8x16_t)nv##a, vld1q_u8((rkeys+208))); nv##a = veorq_u32(nv##a, vld1q_u32((unsigned int*)(rkeys+224)))
armv8crypto.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
armv8crypto.c: armv8crypto.c:239:1: error: invalid conversion between vector type 'uint32x4_t' (vector of 4 'uint32_t' values) and integer type 'int' of different size
armv8crypto.c: FUNC(2, MAKE2)
armv8crypto.c: ^~~~~~~~~~~~~~
armv8crypto.c: armv8crypto.c:234:11: note: expanded from macro 'FUNC'
armv8crypto.c: MAKEN(AESENCLASTx); \
armv8crypto.c: ~~~~~~^~~~~~~~~~~~
armv8crypto.c: armv8crypto.c:191:8: note: expanded from macro 'MAKE2'
armv8crypto.c: ...

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

Compiler output

Implementation: crypto_aead/aes256gcmv1/cryptopp
Compiler: g++ -mcpu=native -mfpu=neon -O2 -fomit-frame-pointer -fwrapv
stream.cpp: stream.cpp:2:26: fatal error: cryptopp/aes.h: No such file or directory
stream.cpp: #include gt;
stream.cpp: ^
stream.cpp: compilation terminated.

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
g++ -mcpu=native -mfpu=neon -O2 -fomit-frame-pointer -fwrapv cryptopp
g++ -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv cryptopp
g++ -mcpu=native -mfpu=neon -O -fomit-frame-pointer -fwrapv cryptopp
g++ -mcpu=native -mfpu=neon -Os -fomit-frame-pointer -fwrapv cryptopp

Compiler output

Implementation: crypto_aead/aes256gcmv1/dolbeau/armv8crypto
Compiler: gcc -mcpu=native -mfpu=neon -O2 -fomit-frame-pointer -fwrapv
armv8crypto.c: armv8crypto.c: In function 'addmul':
armv8crypto.c: armv8crypto.c:328:19: warning: implicit declaration of function 'vrbitq_u8' [-Wimplicit-function-declaration]
armv8crypto.c: A = (poly8x16_t)vrbitq_u8((uint8x16_t)vreversebyteq_u128((uint32x4_t)A));
armv8crypto.c: ^~~~~~~~~
armv8crypto.c: armv8crypto.c:328:3: error: can't convert a value of type 'int' to vector type '__simd128_poly8_t' which has different size
armv8crypto.c: A = (poly8x16_t)vrbitq_u8((uint8x16_t)vreversebyteq_u128((uint32x4_t)A));
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:329:3: error: can't convert a value of type 'int' to vector type '__simd128_poly8_t' which has different size
armv8crypto.c: X = (poly8x16_t)vrbitq_u8((uint8x16_t)/* vreversebyteq_u128 */((uint32x4_t)X));
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:330:3: error: can't convert a value of type 'int' to vector type '__simd128_poly8_t' which has different size
armv8crypto.c: Y = (poly8x16_t)vrbitq_u8((uint8x16_t)vreversebyteq_u128((uint32x4_t)Y));
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:343:3: error: can't convert a value of type 'int' to vector type '__simd128_poly8_t' which has different size
armv8crypto.c: A = (poly8x16_t)vrbitq_u8((uint8x16_t)vreversebyteq_u128((uint32x4_t)A));
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c: In function 'mulv':
armv8crypto.c: armv8crypto.c:400:3: error: can't convert a value of type 'int' to vector type '__simd128_uint32_t' which has different size
armv8crypto.c: return (uint32x4_t)vrbitq_u8((uint8x16_t)mulv_neon_nobr((uint32x4_t)vrbitq_u8((uint8x16_t)A),(uint32x4_t)vrbitq_u8((uint8x16_t)B)));
armv8crypto.c: ^~~~~~
armv8crypto.c: armv8crypto.c:400:3: error: can't convert a value of type 'int' to vector type '__simd128_uint32_t' which has different size

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -mcpu=native -mfpu=neon -O2 -fomit-frame-pointer -fwrapv dolbeau/armv8crypto
gcc -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv dolbeau/armv8crypto
gcc -mcpu=native -mfpu=neon -O -fomit-frame-pointer -fwrapv dolbeau/armv8crypto
gcc -mcpu=native -mfpu=neon -Os -fomit-frame-pointer -fwrapv dolbeau/armv8crypto