On Thu, Jan 12, 2017 at 10:55 PM, Jeffrey Walton noloader@gmail.com wrote:
Does Linaro's GCC 4.9 provide AES and SHA intrinsics?
Crypto is an optional feature that is not enabled by default when selecting the armv8-a architecture. You either need to specify a processor that implements the crypto extension, or else you need to specify the crypto extension when specifying the architecture. The latter is probably easier. For instance, you can do -march=armv8-a+crypto to enable the crypto support. You can also enable crc support by adding "+crc", separately, or in combination with +crypto.
$ grep -IR vaeseq_u8 /usr/include /usr/include/clang/3.5.0/include/arm_neon.h:__ai uint8x16_t vaeseq_u8(uint8x16_t __p0, uint8x16_t __p1) { ...
GCC specific header files are normally not in /usr/include. On my Ubuntu 14.04 system, it is /usr/lib/gcc/aarch64-linux-gnu/4.8/include/arm_neon.h and vaeseq_u8 is in there, but only enabled when crypto support is enabled.
Jim