Displaying 2 results from an estimated 2 matches for "spuisd".
Did you mean:
spisd
2008 Feb 24
0
[LLVMdev] Does spu backend works with scalar variable?
...piled 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--tp15...
2008 Nov 19
2
[LLVMdev] Legalizing types: when do operands get updated?
The example code:
; ModuleID = 'struct_2.bc'
target datalayout =
"E-p:32:32:128-f64:64:128-f32:32:128-i64:32:128-i32:32:128-i16:16:128-i8:8:128-i1:8:128-a0:0:128-v128:128:128-s0:128:128"
target triple = "spu"
@boolvar = internal global i1 false
define void @set_boolvar() nounwind {
entry:
store i1 true, i1* @boolvar, align 16
ret void
}
This gets