Stream: git-wasmtime

Topic: wasmtime / issue #1043 Use callee-saved registers across ...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 15 2023 at 09:47):

krh commented on issue #1043:

Is there an option to force spilling of callee save registers?

view this post on Zulip Wasmtime GitHub notifications bot (Jun 15 2023 at 22:03):

cfallin commented on issue #1043:

Not exactly as such; we have ongoing work to add ABIs that behave this way, but switching the ABI specified for a callee implies much bigger changes than just forced-spills.

Could you say more about why you want this in particular? Knowing the end goal might help us understand better what to recommend. E.g., if you're trying to call a function that actually does conform to an ABI with no callee-saves, the right answer is "add support for that different ABI". If you want registers on the stack for... debugging, or observability, or something like that, then we can talk about that in more detail.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 15 2023 at 22:11):

jameysharp commented on issue #1043:

Kristian gave a little more context in Zulip ("I'm calling into something that can't guarantee it won't clobber callee saved registers"). I'd suggest we continue the conversation there or open a new issue; this issue isn't all that related.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 15 2023 at 22:51):

cfallin commented on issue #1043:

Ah! Indeed, I didn't connect the two threads as being related, sorry :-)

view this post on Zulip Wasmtime GitHub notifications bot (Jun 16 2023 at 06:49):

krh commented on issue #1043:

Hehe, sorry for spamming this old bug, it came up search.


Last updated: Oct 23 2024 at 20:03 UTC