Displaying 3 results from an estimated 3 matches for "t2orn".
2009 Jun 25
2
[LLVMdev] bitwise AND selector node not commutative?
Using the Thumb-2 target we see that ORN ( a | ^b) and BIC (a & ^b)
have similar patterns, as we would expect:
defm t2BIC : T2I_bin_irs<"bic", BinOpFrag<(and node:$LHS, (not node:
$RHS))>>;
defm t2ORN : T2I_bin_irs<"orn", BinOpFrag<(or node:$LHS, (not node:
$RHS))>>;
Compiling the following three works as expected:
%tmp1 = xor i32 4294967295, %b ; %tmp2 = or i32 %a, %tmp1 -->
orn r0, r0, r1
%tmp1 = xor i32 4294967295, %b ; %tmp2 = or i32 %tmp1, %a...
2009 Jun 26
0
[LLVMdev] bitwise AND selector node not commutative?
...25, 2009, at 4:38 PM, David Goodwin wrote:
> Using the Thumb-2 target we see that ORN ( a | ^b) and BIC (a & ^b)
> have similar patterns, as we would expect:
>
> defm t2BIC : T2I_bin_irs<"bic", BinOpFrag<(and node:$LHS, (not node:
> $RHS))>>;
> defm t2ORN : T2I_bin_irs<"orn", BinOpFrag<(or node:$LHS, (not node:
> $RHS))>>;
>
> Compiling the following three works as expected:
>
> %tmp1 = xor i32 4294967295, %b ; %tmp2 = or i32 %a, %tmp1 --
> > orn r0, r0, r1
> %tmp1 = xor i32 4294967295, %...
2009 Jun 26
1
[LLVMdev] bitwise AND selector node not commutative?
...Goodwin wrote:
>
>> Using the Thumb-2 target we see that ORN ( a | ^b) and BIC (a & ^b)
>> have similar patterns, as we would expect:
>>
>> defm t2BIC : T2I_bin_irs<"bic", BinOpFrag<(and node:$LHS, (not
>> node:$RHS))>>;
>> defm t2ORN : T2I_bin_irs<"orn", BinOpFrag<(or node:$LHS, (not
>> node:$RHS))>>;
>>
>> Compiling the following three works as expected:
>>
>> %tmp1 = xor i32 4294967295, %b ; %tmp2 = or i32 %a, %tmp1 --
>> > orn r0, r0, r1
>> %...