Stream: git-wasmtime

Topic: wasmtime / issue #1022 Automatic stack slot alignment


view this post on Zulip Wasmtime GitHub notifications bot (Jul 12 2023 at 20:51):

jameysharp commented on issue #1022:

These days Cranelift has no support for stack-slot alignment so I think this old Cretonne issue is no longer relevant. There is now an issue for adding alignment support back in (#6716) which might benefit from looking at this issue but I don't think this old issue needs further discussion.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 12 2023 at 20:51):

jameysharp closed issue #1022:

Stack slots can be defined with an explicit alignment, but the alignment can also be left out, and Cretonne "will pick an appropriate alignment for the stack slot based on its size and access patterns".

We should:

The alignment inference algorithm needs to consider:

A TargetISA method that returns the preferred alignment for accessing a given type seems appropriate.


Last updated: Oct 23 2024 at 20:03 UTC