Stream: git-wasmtime

Topic: wasmtime / issue #1154 Support VEX and EVEX encodings


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

cfallin commented on issue #1154:

This is all covered now in the current x64 backend, and we have VEX encodings for many vector instructions -- closing now!

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

cfallin closed issue #1154:

Add VEX and EVEX encoding mechanisms for x86 code generation.

Certain Wasm SIMD operations (e.g. convert, trunc) only can be lowered with VEX and EVEX encodings. Many VEX and EVEX encodings are only available in later SIMD feature sets (e.g. AVX-512); adding the ability to use VEX and EVEX encodings does not preclude legalizations for x86 CPUs without later SIMD feature sets, but that is a separate issue.

I think the relevant thing here is that it may impact how we go about resolving bytecodealliance/wasmtime#1141.

Not having the ability to use VEX and EVEX encodings would force cranelift to use multi-instruction legalizations instead of optimal instructions during instruction selection.


Last updated: Dec 23 2024 at 12:05 UTC