public inbox for jit@gcc.gnu.org
 help / color / mirror / Atom feed
From: Qiantan Hong <qhong@mit.edu>
To: "jit@gcc.gnu.org" <jit@gcc.gnu.org>
Subject: Spaghetti stack?
Date: Sat, 31 Oct 2020 05:58:02 +0000	[thread overview]
Message-ID: <4C3839D5-645F-49FD-9A3B-27754F8F938A@mit.edu> (raw)

[-- 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 --]

             reply	other threads:[~2020-10-31  5:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-31  5:58 Qiantan Hong [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C3839D5-645F-49FD-9A3B-27754F8F938A@mit.edu \
    --to=qhong@mit.edu \
    --cc=jit@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).