search for: globalvec

Displaying 4 results from an estimated 4 matches for "globalvec".

Did you mean: globaldce
2019 Oct 01
3
Adding support for vscale
...top to bottom and in fact > was one of the conditions for its acceptance... that should be explicitly made clear in the patches. it sounds very much like it's only suitable for statically-allocated arrays-of-vectorisable-types: typedef vec4 float[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]...
2019 Oct 01
2
Adding support for vscale
...m.com> wrote: > Hi Luke, hi graham, thanks for responding in such an informative fashion. > > On 1 Oct 2019, at 09:21, Luke Kenneth Casson Leighton via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > typedef vec4 float[4]; // SEW=32,LMUL=4 probably > > static vec4 globalvec[1024]; // vscale == 1024 here > > 'vscale' just refers to the scaling factor that gives the maximum size of > the vector at runtime, not the number of currently active elements. ok, this starts to narrow down the definition. i'm attempting to get clarity on what it means. so...
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
2
Adding support for vscale
...ts acceptance... >> >> that should be explicitly made clear in the patches. it sounds very >> much like it's only suitable for statically-allocated >> arrays-of-vectorisable-types: >> >> typedef vec4 float[4]; // SEW=32,LMUL=4 probably >> static vec4 globalvec[1024]; // vscale == 1024 here > > 'vscale' just refers to the scaling factor that gives the maximum size of > the vector at runtime, not the number of currently active elements. > > SVE will be using predication alone to deal with data that doesn't fill an > entire v...