<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Can you give some examples of missing instructions?<div><br></div><div>Evan</div><div><br><div><div>On Oct 9, 2008, at 4:58 PM, kapil anand wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">I have a question regarding ARM support. It was mentioned in mails below that LLVM supports ARM v6 but a lot of ARM v6 instructions are actually missing from ARM ISA description files( e.g. Media Instructions). Is there any documentation mentioning the unsupported parts of v6 version<br> <br>Thanks<br><br>--Kapil<br><br><br><div class="gmail_quote">On Thu, Sep 18, 2008 at 2:14 PM, Evan Cheng <span dir="ltr"><<a href="mailto:evan.cheng@apple.com">evan.cheng@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div style=""><div class="Ih2E3d"><br><div><div>On Sep 17, 2008, at 3:00 PM, Tyler Wilson wrote:</div><br><blockquote type="cite"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div link="blue" vlink="purple" lang="EN-US"> <div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><font size="2" face="Calibri"><span style="font-size: 11pt;">Good day,</span></font></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"> <font size="2" face="Calibri"><span style="font-size: 11pt;"> </span></font></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><font size="2" face="Calibri"><span style="font-size: 11pt;">I have looked around for this information, but I have not been able to gain a clear understanding: what is the status of the LLVM ARM backend? That is, do the following work:</span></font></div> <div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><font size="2" face="Calibri"><span style="font-size: 11pt;"> </span></font></div></div></div></span></blockquote><div><br></div></div> </div><div><div class="Ih2E3d"><br><blockquote type="cite"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div link="blue" vlink="purple" lang="EN-US"> <div><div style="margin: 0in 0in 0.0001pt 0.5in; text-indent: -0.25in; font-size: 11pt; font-family: Calibri,sans-serif;"><font size="2" face="Calibri"><span style="font-size: 11pt;"><span>1.<font size="1" face="Times New Roman"><span> <span> </span></span></font></span></span></font>Generating Thumb code: I saw a video online where they describe an issue with using the ARM Thumb back-end</div> </div></div></span></blockquote><div><br></div></div>Thumb works. But it generate poor code.</div><div><div class="Ih2E3d"><br><blockquote type="cite"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div link="blue" vlink="purple" lang="EN-US"> <div><div style="margin: 0in 0in 0.0001pt 0.5in; text-indent: -0.25in; font-size: 11pt; font-family: Calibri,sans-serif;"></div><div style="margin: 0in 0in 0.0001pt 0.5in; text-indent: -0.25in; font-size: 11pt; font-family: Calibri,sans-serif;"> <font size="2" face="Calibri"><span style="font-size: 11pt;"><span>2.<font size="1" face="Times New Roman"><span> <span> </span></span></font></span></span></font>Generating code for ARM9 (ARMv5?) or ARM7 (ARMv4): again, the same presentation mentioned that it only generated ARMv6 or 7. Does the back end work on older ARM processors today?</div> </div></div></span></blockquote><div><br></div></div><div>ARM v6 is known to work well. I am not sure about v4 and v5. They should mostly work, but I don't test them. There is no support for v7.</div><div class="Ih2E3d"> <div><br></div><blockquote type="cite"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div link="blue" vlink="purple" lang="EN-US"> <div><div style="margin: 0in 0in 0.0001pt 0.5in; text-indent: -0.25in; font-size: 11pt; font-family: Calibri,sans-serif;"></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><font size="2" face="Calibri"><span style="font-size: 11pt;"> </span></font></div> <div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><font size="2" face="Calibri"><span style="font-size: 11pt;">I have seen the notes on the Apple provided bits to the project, but those were form early-mid 2007, and I have not seen a clear declaration on what is marked as working or not.</span></font></div> </div></div></span></blockquote><div><br></div></div>There hasn't been a lot of activities in ARM target. Patches welcome!</div><div><br></div><div>Evan</div><div><br><blockquote type="cite"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div link="blue" vlink="purple" lang="EN-US"> <div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><font size="2" face="Calibri"><span style="font-size: 11pt;"></span></font></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"> <font size="2" face="Calibri"><span style="font-size: 11pt;"> </span></font></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><font size="2" face="Calibri"><span style="font-size: 11pt;">Thank you,</span></font></div> <div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><font size="2" face="Calibri"><span style="font-size: 11pt;">Tyler</span></font></div></div>_______________________________________________<br> LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" style="color: blue; text-decoration: underline;" target="_blank">http://llvm.cs.uiuc.edu</a><br> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" style="color: blue; text-decoration: underline;" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></div></span></blockquote></div><br></div> <br>_______________________________________________<br> LLVM Developers mailing list<br> <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br> <br></blockquote></div><br></div> _______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></blockquote></div><br></div></body></html>