search for: num_of_vec4s

Displaying 2 results from an estimated 2 matches for "num_of_vec4s".

2019 Sep 30
3
Adding support for vscale
On Tuesday, October 1, 2019, Jacob Lifshay <programmerjake at gmail.com> wrote: > On Mon, Sep 30, 2019 at 2:30 AM Sander De Smalen via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > > > I've posted two patches on Phabricator to add support for VScale in LLVM. Excellent! > > > > A brief recap on `vscale`: > > The scalable vector type in
2019 Oct 01
3
Adding support for vscale
...[4]; // SEW=32,LMUL=4 probably static vec4 globalvec[1024]; // vscale == 1024 here or, would it be intended for use inside functions - again statically-allocated? int somefn(void) { static vec4 localvec[1024]; // vscale == 1024 here } *or*, would it be intended to be used like this? int somefn(num_of_vec4s) { static vec4 localvec[num_of_vec4s]; // vscale == dynamic, here } clarifying this in the documentation strings on vscale, perhaps even providing c-style examples, would be extremely useful, and avoid misunderstandings. >... (runtime-variable type > sizes create many more headaches which...