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>
On 4/19/2018 1:16 PM, Maxime BOURREAU via llvm-dev wrote:> 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 ?Are these like SPARC register windows? Have you looked at what the SPARC backend does? -Eli -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
Reasonably Related Threads
- [RFC] Tensilica Xtensa (ESP32) backend
- [RFC] Tensilica Xtensa (ESP32) backend
- [PATCH] drm/nouveau/xtensa: firmware size needs to be 0x40000 no matter what
- chan_dahdi compilation with embedded
- [PATCH] nouveau: Load firmware for BSP/VP engines on NV84-NV96, NVA0