Hi, Is there some documentation about what has not been implemented yet? I'm trying to use vectors and I just run into one thing after another that seem to be missing. (I.e., fcmp on vectors doesn't work; trying to do the same thing with expanded instructions doesn't work; select on a vector doesn't work) -- Lennart
On 24 Jan., 13:34, Lennart Augustsson <lenn... at augustsson.net> wrote:> Hi, > > Is there some documentation about what has not been implemented yet? > > I'm trying to use vectors and I just run into one thing after another > that seem to be missing. > (I.e., fcmp on vectors doesn't work; trying to do the same thing with > expanded instructions doesn't work; select on a vector doesn't work)Hi Lennart, I am pretty clueless about the vector instruction set, but this might be a hint: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090119/072524.html Cheers, Gabor> > -- Lennart > _______________________________________________ > LLVM Developers mailing list > LLVM... at cs.uiuc.edu http://llvm.cs.uiuc.eduhttp://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
On Jan 24, 2009, at 4:34 AM, Lennart Augustsson <lennart at augustsson.net> wrote:> Hi, > > Is there some documentation about what has not been implemented yet?I've started adding notes to docs/LangRef.html Historically this document has been used to describe just the LLVM IR, and not what specific consumers of it do or don't support, but codegen is a very important consumer, so I've started adding notes about its limitations.> > I'm trying to use vectors and I just run into one thing after another > that seem to be missing. > (I.e., fcmp on vectors doesn't work; trying to do the same thing with > expanded instructions doesn't work; select on a vector doesn't work)A common thread here is that the code generator doesn't support vectors of booleans very well yet. Comparisons and selects are very useful (and are also the first step towards more advanced conditional vector support), so we'd really like to see this fixed, though it will depend on someone stepping forward to do the work. What do you mean by "expanded instructions"? Dan
By expanded instructions I meant trying to do what fcmp on a vector would do, but with scalar comparisons and building a bit vector. It's bug report 3383. -- Lennart On Sat, Jan 24, 2009 at 5:01 PM, Dan Gohman <gohman at apple.com> wrote:> On Jan 24, 2009, at 4:34 AM, Lennart Augustsson > <lennart at augustsson.net> wrote: > >> Hi, >> >> Is there some documentation about what has not been implemented yet? > > I've started adding notes to > docs/LangRef.html > > Historically this document has been used to describe just the LLVM IR, > and not what specific consumers of it do or don't support, but codegen > is a very important consumer, so I've started adding notes about its > limitations. > >> >> I'm trying to use vectors and I just run into one thing after another >> that seem to be missing. >> (I.e., fcmp on vectors doesn't work; trying to do the same thing with >> expanded instructions doesn't work; select on a vector doesn't work) > > A common thread here is that the code generator doesn't support > vectors of booleans very well yet. Comparisons and selects are very > useful (and are also the first step towards more advanced conditional > vector support), so we'd really like to see this fixed, though it will > depend on someone stepping forward to do the work. > > What do you mean by "expanded instructions"? > > Dan > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >