Displaying 4 results from an estimated 4 matches for "zdlbr".
2012 Nov 22
2
[LLVMdev] Disable loop unroll pass
...a loop into hwloop, we need the help from optimizer. For
> example,
> |
> while(k3>=10){
> sum+=k1;
> k3 --;
> }
> |
>
> into the form:||
>
> |
> zdl_loop(k3-9) {
> sum+=k1;
> }
> |
>
> So, we introduce a new ZDLBR whirl(open64 optimizer intermediate)
> operator, which represents the loop in whirl as:||
>
> |
> LABEL L2050 0 {line: 0}
> LOOP_INFO 0 1 1
> I4I4LDID 73 <1,2,.preg_I4> T<4,.predef_I4,4> # k3
> I4I4LDID 77 <1,2,.preg_I4> T<4,.predef_I4,4> # <...
2012 Nov 22
0
[LLVMdev] Disable loop unroll pass
...designer for open64 hwloop structure, but I am not a student.
Hope the following helps:
To transform a loop into hwloop, we need the help from optimizer. For example,
while(k3>=10){
sum+=k1;
k3 --;
}
into the form:
zdl_loop(k3-9) {
sum+=k1;
}
So, we introduce a new ZDLBR whirl(open64 optimizer intermediate) operator, which represents the loop in whirl as:
LABEL L2050 0 {line: 0}
LOOP_INFO 0 1 1
I4I4LDID 73 <1,2,.preg_I4> T<4,.predef_I4,4> # k3
I4I4LDID 77 <1,2,.preg_I4> T<4,.predef_I4,4> # <preg>
END_LOOP_INFO
I4I4LDID 74 &l...
2012 Nov 22
3
[LLVMdev] Disable loop unroll pass
Hi Shuxin, Eli,
On 22/11/2012 03:19, Shuxin Yang wrote:
> Hi, Ivan:
>
> My $0.02. hasZeroCostLooping() disabling unrolling dose not seem
> to be
> appropriate for other architectures, at least the one I worked before.
I appreciate your feed-back. Could you give an example where building a
hw loop is not appropriate for your target?
>
> You mentioned:
>
2012 Nov 22
0
[LLVMdev] Disable loop unroll pass
...t;> To transform a loop into hwloop, we need the help from optimizer. For example,
>> while(k3>=10){
>> sum+=k1;
>> k3 --;
>> }
>> into the form:
>> zdl_loop(k3-9) {
>> sum+=k1;
>> }
>> So, we introduce a new ZDLBR whirl(open64 optimizer intermediate) operator, which represents the loop in whirl as:
>> LABEL L2050 0 {line: 0}
>> LOOP_INFO 0 1 1
>> I4I4LDID 73 <1,2,.preg_I4> T<4,.predef_I4,4> # k3
>> I4I4LDID 77 <1,2,.preg_I4> T<4,.predef_I4,4> # <preg&...