[llvm-dev] LLVM Backend for a platform with no (normal) stack

Bruce Hoult via llvm-dev llvm-dev at lists.llvm.org
Thu Dec 13 15:57:32 PST 2018


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?

If yes, then you have a stack to exactly the same extent as RISC-V or MIPS
do.

On Thu, Dec 13, 2018 at 12:53 PM JD Jones via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Dear Sir or Ma’am;
>
>
>
> I have found a wealth of help and information on writing an LLVM backend.
> And, my platform has no stack.
>
>
>
> Can you point me to any information that would specifically address
> creating a backend for this kind of platform?
>
>
>
> 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.
>
>
>
> More thanks than I can type,
>
> JD Jones
>
> Software Engineer
>
> 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.
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181213/757eed0f/attachment.html>


More information about the llvm-dev mailing list