public inbox for jit@gcc.gnu.org
 help / color / mirror / Atom feed
* Spaghetti stack?
@ 2020-10-31  5:58 Qiantan Hong
  2020-10-31 17:33 ` David Malcolm
  0 siblings, 1 reply; 5+ messages in thread
From: Qiantan Hong @ 2020-10-31  5:58 UTC (permalink / raw)
  To: jit

[-- Attachment #1: Type: text/plain, Size: 523 bytes --]

Hi,

I’m trying to find a way to implement/hack
a runtime using spaghetti stack with libgccjit, 
I think I need to tell libgccjit to use a different
calling convention, either implemented by
myself, or somehow let it use the “bare”
calling convention and generate prologue/
epilogue myself. However, I didn’t find
any API about calling convention — neither
do I have any idea how to express the
prologue/epilogue with libgccjit because they’re
at register level.

Any idea?


Best,
Qiantan


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 1858 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-11-01 12:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-31  5:58 Spaghetti stack? Qiantan Hong
2020-10-31 17:33 ` David Malcolm
2020-10-31 17:45   ` Basile Starynkevitch
2020-10-31 19:52     ` Qiantan Hong
2020-11-01 12:52       ` David Malcolm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).