Implementation notes: aarch64, lionheart30, crypto_aead/pi32cipher128v2

Computer: lionheart30
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20160806
Operation: crypto_aead
Primitive: pi32cipher128v2
TimeImplementationCompilerBenchmark dateSUPERCOP version
123862goptvgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016082020160806
133562goptvgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016082020160806
146622goptvgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016082020160806
222600ref2gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016082020160806
267377goptvgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016082020160806
273433ref3clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016082020160806
280222ref2clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016082020160806
303470ref3gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016082020160806
330455ref3gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016082020160806
360036ref3gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016082020160806
366298ref3gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016082020160806
1275317ref2gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016082020160806
1342339ref2gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016082020160806
1410377ref2gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016082020160806

Test failure

Implementation: crypto_aead/pi32cipher128v2/optimized_nonSSE
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
error 111
crypto_aead_encrypt returns more than crypto_aead_ABYTES extra bytes

Number of similar (compiler,implementation) pairs: 10, namely:
CompilerImplementations
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments optimized_nonSSE ref
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv optimized_nonSSE ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv optimized_nonSSE ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv optimized_nonSSE ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv optimized_nonSSE ref

Compiler output

Implementation: crypto_aead/pi32cipher128v2/goptv
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
pi-cipher.c: pi-cipher.c:273:15: error: can't convert between vector values of different size ('qword_t' and 'uint8_t' (aka 'unsigned char'))
pi-cipher.c: return (x gt;>gt; ((PI_WORD_SIZE) - n));
pi-cipher.c: ~ ^ ~
pi-cipher.c: pi-cipher.c:273:26: error: can't convert between vector values of different size ('qword_t' and 'int')
pi-cipher.c: return (x gt;>gt; ((PI_WORD_SIZE) - n));
pi-cipher.c: ~ ^ ~~~~~~~~~~~~~~~~~~~~
pi-cipher.c: pi-cipher.c:286:9: error: use of unknown builtin '__builtin_shuffle' [-Wimplicit-function-declaration]
pi-cipher.c: n_t += __builtin_shuffle(y, g_mask);
pi-cipher.c: ^
pi-cipher.c: pi-cipher.c:286:6: error: can't convert between vector values of different size ('vchunk_t' and 'int')
pi-cipher.c: n_t += __builtin_shuffle(y, g_mask);
pi-cipher.c: ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pi-cipher.c: pi-cipher.c:287:6: error: can't convert between vector values of different size ('vchunk_t' and 'int')
pi-cipher.c: n_t += __builtin_shuffle(y, n_mask);
pi-cipher.c: ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pi-cipher.c: pi-cipher.c:289:8: error: can't convert between vector values of different size ('unsigned long' and 'vchunk_t')
pi-cipher.c: n_t = ROTL(n_t, n_rot);
pi-cipher.c: ^~~~~~~~~~~~~~~~
pi-cipher.c: pi-cipher.c:267:64: note: expanded from macro 'ROTL'
pi-cipher.c: #define ROTL(x, n) (((x) gt;>gt; (sizeof(word_t) * 8 - (n))))
pi-cipher.c: ~~~~~~~~~~~~~~~~~~ ^ ~~~
pi-cipher.c: pi-cipher.c:290:6: error: can't convert between vector values of different size ('vchunk_t' and 'int')
pi-cipher.c: n_t ^= __builtin_shuffle(n_t, n_x_1) ^ __builtin_shuffle(n_t, n_x_2);
pi-cipher.c: ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pi-cipher.c: pi-cipher.c:305:6: error: can't convert between vector values of different size ('vchunk_t' and 'int')
pi-cipher.c: ...

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