Neon instruction in ARM fails
Gabriel Carvalho de Faria
We are trying to implement an .efi application that validates some ARM architecture instructions.
For this application, an assembly code was created, with the help of AsmMacroIoLibV8, present in edk2. The implementation can be seen below.
When using the value defined for Filter32bit, as it is in the code, the return of this instruction is 1 (error). However, when directly loading the hardcoded value into register x5, the return is 0 (success).
This behavior happened on a machine with a Snapdragon(TM) 8cx @ 2.84 GHz - QUALCOMM processor.
We would like to know if there is any bug in the implementation or if there is an explanation for this behavior.