My assembly code for ARMv8a aarch32 architecture with NEON Conditional instruction is not working as expected. This leads to segmentation fault. The following code causes memory write to unexpected region.
So I analyzed the the compiled object using the objdump tool. In the decompiled code, the conditional instruction was missing. I am using arm-linux-androideabi-4.9 toolchain.
The codes are as follows:
my_asm:
LOOP:
....
SUBS R2, R2, #1
VST1NE.32 {d0,d1}, [r0]! <== NE is present
...
BNE LOOP
Decompiled asm:
VST1.32 {d0,d1}, [r0]! <== NE is missing
Hello Sreenath P V
I have moved your question to our Architectures and Processors forum, where someone may be able to help you better.
Many thanks
Oli
Arm Community team