[LLVMdev] neon registers llvm using

shaolin shaolin.wu at qq.com
Mon Mar 10 06:43:45 PDT 2014


Hi, Everyone:    
    Can anyone let me know the default NEON registers llvm going to use with armv7 devices? 
For example, d10 and d11 are treated as default zero? I am using Xcode5 + llvm and I got a case that compiler will generate neon codes 
    " vst.8 {d10, d11}, [r1] " 
from C codes:
    "int aMV[4];
     ......
     aMV[0] = aMV[1] = aMV[2] = aMV[3] = 0; "
and I didn't find any zero setting instructions related to d10 and d11 beside. 


I also want to know other neon registers llvm will use in this way, I can protect them after calling to my handwrite assembly codes.


Thanks & Best Regards,
Shaolin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140310/556ca9d0/attachment.html>


More information about the llvm-dev mailing list