Stream: cranelift

Topic: dynamic_vector_bytes


view this post on Zulip Théo Degioanni (Oct 21 2022 at 19:06):

What does dynamic_vector_bytes represent in TargetIsa? All targets seem to have it set to constant 16 yet it takes value types as a parameter. Is it for SIMD support? What is intended if SIMD is not supported?

view this post on Zulip Chris Fallin (Oct 21 2022 at 20:44):

That's part of the "dynamic vector types" support, which is a way to support scalable-vector extensions (like SVE on aarch64) with a vector width that's configurable either as a setting on the compiler (target ISA level) or dynamically at runtime

view this post on Zulip Chris Fallin (Oct 21 2022 at 20:44):

for now you can just stub it with whatever the other backends are doing and it should be fine


Last updated: Dec 23 2024 at 12:05 UTC