Hi,all. Since the recent clang(3.2) has an integrated assembler for ARM, but I can't find document about this assembler's syntax, such assembler's directive, pseudo-instruction, (I assumed it follows the ARM Unified Assembly Language in instructions), where can I get such information? Thanks! ashi
I don't think there is such a document... There isn't a 1:1 compatibility assurance with any syntax, including the UAL and GAS, but there is good compatibility with most of them, focusing more on GAS than any other, though recent changes are making it more in sync with the UAL (as is happening on GAS, too). I think the recommendation is to try it on, throw code that works on other (OSS) ARM assemblers and report any mismatch. We really need some more real world testing, as we're considering turning the integrated assembler by default on ARM, so your input is greatly appreciated. cheers, --renato On 13 February 2013 01:09, ashi <ashi08104 at gmail.com> wrote:> Hi,all. Since the recent clang(3.2) has an integrated assembler for ARM, > but I can't find document about this assembler's syntax, such assembler's > directive, pseudo-instruction, (I assumed it follows the ARM Unified > Assembly Language in instructions), where can I get such information? > > Thanks! > ashi > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130213/27447df3/attachment.html>
Thanks, Renato. I'm actually porting a project which is based on GAS to iOS platform. I'll report my result. Best regards! ashi On Feb 13, 2013, at 6:20 PM, Renato Golin <renato.golin at linaro.org> wrote:> I don't think there is such a document... > > There isn't a 1:1 compatibility assurance with any syntax, including the UAL and GAS, but there is good compatibility with most of them, focusing more on GAS than any other, though recent changes are making it more in sync with the UAL (as is happening on GAS, too). > > I think the recommendation is to try it on, throw code that works on other (OSS) ARM assemblers and report any mismatch. We really need some more real world testing, as we're considering turning the integrated assembler by default on ARM, so your input is greatly appreciated. > > cheers, > --renato > > > On 13 February 2013 01:09, ashi <ashi08104 at gmail.com> wrote: > Hi,all. Since the recent clang(3.2) has an integrated assembler for ARM, but I can't find document about this assembler's syntax, such assembler's directive, pseudo-instruction, (I assumed it follows the ARM Unified Assembly Language in instructions), where can I get such information? > > Thanks! > ashi > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130214/b6223df6/attachment.html>