This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARMv8a aarch32 NEON Conditional instruction is not working

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:

LOOP:

....

SUBS R2, R2, #1

VST1.32 {d0,d1}, [r0]!                                        <==        NE is missing

...

BNE LOOP