[llvm-dev] xtensa backend

Maxime BOURREAU via llvm-dev llvm-dev at lists.llvm.org
Thu Apr 19 13:16:30 PDT 2018


Can you give me some insights to implement the windowed calling convention
in this xtensa backend :
https://github.com/afonso360/llvm-xtensa/tree/xtensa/lib/Target/Xtensa ?

For now, only the simpler CALL0 calling convention is implemented.

In order to implement the windowed calling convention, every routines must
start with the ENTRY instruction which increments the register window
pointer.

Do I have to manually insert this instruction during the PrologEpilog
phase, and how can I declare this instruction ?

Maxime
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180419/6af105e9/attachment.html>


More information about the llvm-dev mailing list