Stream: git-wasmtime

Topic: wasmtime / issue #1120 Add padding between code and const...


view this post on Zulip Wasmtime GitHub notifications bot (May 04 2022 at 22:04):

cfallin commented on issue #1120:

VCodeConstants properly handle alignment now; closing issue.

view this post on Zulip Wasmtime GitHub notifications bot (May 04 2022 at 22:04):

cfallin closed issue #1120:

cranelift-simplejit and faerie already align functions to 16 bytes. Adding enough padding before the constant pool of a function would make the constant pool aligned to 16 bytes too. That would make it possible to use movaps instead of movups for vconst.

https://github.com/CraneStation/cranelift/blob/624d5675a485e74dc73d75f21707f1343621d2b9/cranelift-codegen/meta/src/isa/x86/encodings.rs#L1831-L1835


Last updated: Dec 23 2024 at 13:07 UTC