[LLVMdev] Does spu backend works with scalar variable?
tueda
tueda at wolf.dog.cx
Sun Feb 24 14:44:55 PST 2008
I compiled the following code with llvm-gcc (4.2.1) and llc (2.3svn) for spu
of Cell broadband engine processor.
> cat add.c
float add (float a, float b)
{
return a + b;
}
> llvm-gcc add.c --emit-llvm -c -o add.bc
> llc -march=cellspu add.bc
Cannot yet select: 0x867c700: v4f32 = SPUISD::INSERT_MASK 0x8670800
Abort (core dumped)
But llc returned the above error.
If I replaced scalar variables with vector ones, It will work fine.
Does spu backend works with scalar variable?
--
View this message in context: http://www.nabble.com/Does-spu-backend-works-with-scalar-variable--tp15670626p15670626.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
More information about the llvm-dev
mailing list