Displaying 4 results from an estimated 4 matches for "d6976".
Did you mean:
6976
2015 Jan 14
5
[LLVMdev] [RFC] Integer Saturation Intrinsics
...; the max. signed integer of bitwidth n, 2^(n-1)-1
%0 = icmp slt i32 %x, %min_sint_n
%1 = select i1 %0, i32 %min_sint_n, i32 %x
%2 = icmp sgt i32 %1, %max_sint_n
%r = select i1 %2, i32 %max_sint_n, i32 %1
As a starting point, here are two patches:
- http://reviews.llvm.org/D6976 Add Integer Saturation Intrinsics.
- http://reviews.llvm.org/D6977 [CodeGen] Add legalization for
Integer Saturation Intrinsics.
>From there, we can generate several new instructions, more efficient
than their expanded counterpart. Locally, I have worked on:
- ARM: the SSAT/USAT instructions...
2015 Jan 15
2
[LLVMdev] [RFC] Integer Saturation Intrinsics
...mp slt i32 %x, %min_sint_n
>> %1 = select i1 %0, i32 %min_sint_n, i32 %x
>> %2 = icmp sgt i32 %1, %max_sint_n
>> %r = select i1 %2, i32 %max_sint_n, i32 %1
>>
>>
>> As a starting point, here are two patches:
>> - http://reviews.llvm.org/D6976 Add Integer Saturation Intrinsics.
>> - http://reviews.llvm.org/D6977 [CodeGen] Add legalization for
>> Integer Saturation Intrinsics.
>>
>> From there, we can generate several new instructions, more efficient
>> than their expanded counterpart. Locally, I have wor...
2015 Jan 15
3
[LLVMdev] [RFC] Integer Saturation Intrinsics
...p slt i32 %x, %min_sint_n
> > %1 = select i1 %0, i32 %min_sint_n, i32 %x
> > %2 = icmp sgt i32 %1, %max_sint_n
> > %r = select i1 %2, i32 %max_sint_n, i32 %1
> >
> >
> > As a starting point, here are two patches:
> > - http://reviews.llvm.org/D6976 Add Integer Saturation Intrinsics.
> > - http://reviews.llvm.org/D6977 [CodeGen] Add legalization for
> > Integer Saturation Intrinsics.
> >
> > From there, we can generate several new instructions, more efficient
> > than their expanded counterpart. Locally, I have...
2015 Jan 15
0
[LLVMdev] [RFC] Integer Saturation Intrinsics
...>> %1 = select i1 %0, i32 %min_sint_n, i32 %x
>>> %2 = icmp sgt i32 %1, %max_sint_n
>>> %r = select i1 %2, i32 %max_sint_n, i32 %1
>>>
>>>
>>> As a starting point, here are two patches:
>>> - http://reviews.llvm.org/D6976 Add Integer Saturation Intrinsics.
>>> - http://reviews.llvm.org/D6977 [CodeGen] Add legalization for
>>> Integer Saturation Intrinsics.
>>>
>>> From there, we can generate several new instructions, more efficient
>>> than their expanded counterpart....