<div dir="ltr">Do you have a register that you can store a memory address in and an addressing mode that allows you to add (or subtract) a constant to that register and use the address calculated to load//store from memory? Do you have enough registers that you can keep one of them permanently pointed to a particular memory region?<div><br></div><div>If yes, then you have a stack to exactly the same extent as RISC-V or MIPS do.</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 13, 2018 at 12:53 PM JD Jones via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-6232507830972802897WordSection1"><p class="MsoNormal">Dear Sir or Ma’am;<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I have found a wealth of help and information on writing an LLVM backend. And, my platform has no stack.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Can you point me to any information that would specifically address creating a backend for this kind of platform?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">In previous wanderings, I thought I ran across a phrase “platforms with no stack such as FPGAs”, but I can’t find that mention, now.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">More thanks than I can type,<u></u><u></u></p><p class="MsoNormal">JD Jones<u></u><u></u></p><p class="MsoNormal">Software Engineer<u></u><u></u></p></div></div>
<br>
<font face="Arial, Helvetica, sans-serif"><span style="font-size:13px">This message is intended for the addressee only and may contain Paragon Research Corporation (PRC) confidential or privileged information. Use or distribution of such confidential information is strictly prohibited without the prior written permission of PRC. If you have received this message in error, please contact the sender immediately and delete the message and attachments from your computer.</span></font>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>