Displaying 4 results from an estimated 4 matches for "cbasil".
Did you mean:
basil
2008 Dec 25
2
[LLVMdev] vector compare
On Thu, Dec 25, 2008 at 1:54 AM, Eli Friedman <eli.friedman at gmail.com> wrote:
> On Thu, Dec 25, 2008 at 1:28 AM, Claudio Basile <cbasile at tempo-da.com> wrote:
>> Hi all,
>>
>> is there any way to compare two 128bit values?
>> I have tried 3 different approaches and they all fail with an internal
>> assertion.
>> I'm running llvm 2.4 on x86 with the following command line:
>>
>&g...
2008 Dec 25
2
[LLVMdev] vector compare
...lt;4 x i1> %1, i32 2
%5 = extractelement <4 x i1> %1, i32 3
%6 = or i1 %2, %3
%7 = or 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
---------------------...
2008 Dec 25
0
[LLVMdev] vector compare
On Thu, Dec 25, 2008 at 1:28 AM, Claudio Basile <cbasile at tempo-da.com> wrote:
> Hi all,
>
> is there any way to compare two 128bit values?
> I have tried 3 different approaches and they all fail with an internal
> assertion.
> I'm running llvm 2.4 on x86 with the following command line:
>
> > llvm-as test.ll -o test...
2008 Dec 26
0
[LLVMdev] vector compare
On Dec 25, 2008, at 11:02 AM, Eli Friedman wrote:
> On Thu, Dec 25, 2008 at 1:54 AM, Eli Friedman
> <eli.friedman at gmail.com> wrote:
>> On Thu, Dec 25, 2008 at 1:28 AM, Claudio Basile <cbasile at tempo-
>> da.com> wrote:
>>> Hi all,
>>>
>>> is there any way to compare two 128bit values?
>>> I have tried 3 different approaches and they all fail with an
>>> internal
>>> assertion.
>>> I'm running llvm 2.4 on x8...