Now I use DS5 to develop an assembly crypto code, instructions like AESE are used in my code, after assign the CPU = 8-A.64.crypto, the code could be built, but when i debug the code in
8-A.64.crypto, the code could be built, but when i debug the code in
the FVP VE_AEMv8x1, the program crash, do anybody now how to use instructions in ARMv8 ?
Hi cyao,
Use of the crypto instructions requires the SIMD/floating point unit to be enabled. Make sure CPACR_EL1.FPEN is set before executing the AES instructions. (You'll probably need an ISB after writing to CPACR_EL1.)
Hi, peterrielly
Thanks for your reply, it seems like the problem is that i did't configure the system register CPACR_EL1, but i am not familiar with the system register configuration, could you share me an example to init the cpu system registers before
use the AES instructions.