Displaying 6 results from an estimated 6 matches for "test_fmadd_assoc_ext1".
2016 Feb 22
0
[VSXFMAMutate] OldFMAReg may be wrongly rewritten
...le.com> wrote:
> I wonder if we can fix this by making the transformation simpler, that is,
> instead of doing:
>
I wrote a prototype (see attach) for this idea, it actually improves some
of the test cases (e.g. fma-assoc.ll: test_FMADD_ASSOC1), but pessimize
several other cases (e.g. test_FMADD_ASSOC_EXT1).
I'm not sure what to do at this point, I have several options:
1) This pass simply omits the optimization for certain cases ("certain"
needs to be defined).
2) This pass should never mutate anything out of the block, and may add a
copy at the end of the block, if the value is live-...
2016 Feb 29
2
[VSXFMAMutate] OldFMAReg may be wrongly rewritten
...onder if we can fix this by making the transformation simpler, that
>> is, instead of doing:
>>
>
> I wrote a prototype (see attach) for this idea, it actually improves some
> of the test cases (e.g. fma-assoc.ll: test_FMADD_ASSOC1), but pessimize
> several other cases (e.g. test_FMADD_ASSOC_EXT1).
>
> I'm not sure what to do at this point, I have several options:
> 1) This pass simply omits the optimization for certain cases ("certain"
> needs to be defined).
> 2) This pass should never mutate anything out of the block, and may add a
> copy at the end of the...
2016 Feb 20
2
[VSXFMAMutate] OldFMAReg may be wrongly rewritten
Example:
target triple = "powerpc64le-unknown-linux-gnu"
define void @TestFoo() {
entry_bb:
br label %loop_bb
loop_bb:
%tmp = load float, float* undef
%tmp1 = fmul float %tmp, 0x401F25E360000000
%tmp2 = fadd float %tmp1, 0x3FC1A7B960000000
%tmp3 = select i1 undef, float 0x401F25E360000000, float %tmp2
store float %tmp3, float* undef
br label %loop_bb
}
The code above is
2016 Mar 05
2
[VSXFMAMutate] OldFMAReg may be wrongly rewritten
...ation simpler, that
>>>> is, instead of doing:
>>>>
>>>
>>> I wrote a prototype (see attach) for this idea, it actually improves
>>> some of the test cases (e.g. fma-assoc.ll: test_FMADD_ASSOC1), but
>>> pessimize several other cases (e.g. test_FMADD_ASSOC_EXT1).
>>>
>>> I'm not sure what to do at this point, I have several options:
>>> 1) This pass simply omits the optimization for certain cases ("certain"
>>> needs to be defined).
>>> 2) This pass should never mutate anything out of the block, a...
2016 Mar 16
2
[VSXFMAMutate] OldFMAReg may be wrongly rewritten
...instead of doing:
>>>>>>
>>>>>
>>>>> I wrote a prototype (see attach) for this idea, it actually improves
>>>>> some of the test cases (e.g. fma-assoc.ll: test_FMADD_ASSOC1), but
>>>>> pessimize several other cases (e.g. test_FMADD_ASSOC_EXT1).
>>>>>
>>>>> I'm not sure what to do at this point, I have several options:
>>>>> 1) This pass simply omits the optimization for certain cases
>>>>> ("certain" needs to be defined).
>>>>> 2) This pass should n...
2016 Mar 23
0
[VSXFMAMutate] OldFMAReg may be wrongly rewritten
...gt;>>>>>>
>>>>>>
>>>>>> I wrote a prototype (see attach) for this idea, it actually improves
>>>>>> some of the test cases (e.g. fma-assoc.ll: test_FMADD_ASSOC1), but
>>>>>> pessimize several other cases (e.g. test_FMADD_ASSOC_EXT1).
>>>>>>
>>>>>> I'm not sure what to do at this point, I have several options:
>>>>>> 1) This pass simply omits the optimization for certain cases
>>>>>> ("certain" needs to be defined).
>>>>>> 2...