search for: vectorcompare3

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

2008 Dec 25
2
[LLVMdev] vector compare
...i1 %4, %5 %8 = or i1 %6, %7 ret i1 %8 } This fails with: Assertion failed: (isVector() && "Invalid vector type!"), function getVectorNumElements, file /Users/cbasile/src/llvm-2.4/include/llvm/ CodeGen/ValueTypes.h, line 339. Approach 3 ---------------- define i1 @VectorCompare3(i128 %x, i128 %y) { %1 = icmp eq i128 %x, %y ret i1 %1 } This fails with: Cannot yet select: 0x10182b4: i8 = setcc 0x101844c, 0x10184d4, 0x100becc --------------------------------------------------------------------------------------- I'd really appreciate if someone could help me...
2008 Dec 25
0
[LLVMdev] vector compare
...llvm-as test.ll -o test.bc > > llc test.bc -filetype=asm > > I would expect the code generator to emit a sequence of SSE > instructions. Approaches 1 and 2 depend on some stuff that hasn't really stabilized yet... you should get much better results with vicmp. > define i1 @VectorCompare3(i128 %x, i128 %y) { > %1 = icmp eq i128 %x, %y > ret i1 %1 > } > > This fails with: > > Cannot yet select: 0x10182b4: i8 = setcc 0x101844c, 0x10184d4, 0x100becc The result isn't pretty, but this appears to work on x86 using a recent SVN build... I wouldn't be s...