[cfe-dev] Proposed changes to vectorize_width #pragma

Michael Kruse via cfe-dev cfe-dev at lists.llvm.org
Mon Nov 30 10:00:39 PST 2020


Am Mi., 25. Nov. 2020 um 10:15 Uhr schrieb Sjoerd Meijer via cfe-dev
<cfe-dev at lists.llvm.org>:
> I think that leaves us with 2 options that can express the same things, i.e. change or introduce:
>
> 1)
> vectorize_width(VF, fixed|scalable)
> vectorize_width(fixed|scalable)
> vectorize_width(VF)
>
> 2)
> vectorize_style(fixed|scalable)

Another proposal:

3)
vectorize_width(VF) // For fixed vector width.
vectorize_width_at_least(MinVF) // For SVE; alternatives:
vectorize_dynamic, vectorize_scalable.

What are the intended semantics? Does scalable mean "width of MinVF or
more", "any multiple of MinVF",  "power-of-2 multiple of MinVF", "any
width of at least MinVF allowed by ARM's SVE"?


Michael


More information about the cfe-dev mailing list