search for: _makewt

Displaying 7 results from an estimated 7 matches for "_makewt".

Did you mean: makewt
2016 Jun 25
0
Tail call optimization is getting affected due to local function related optimization with IPRA
...oes > not preserve R14 so whwn execution returns to main (which is caller of > makewt) > value of *ip is gone from R14 (which sould not) and when main calls makewt > again > then value of *ip (R14) is wrong and result into segmentation fault. > > Assembly code of makewt: > _makewt: > ... > popq %rbx > popq %r12 > popq %r13 > popq %r14 > popq %r15 > popq %rbp > jmp _bitrv2 ## TAILCALL > A very naive solution to this problem come to me is to convert above code to following: _makewt: ... jmp _bitrv2...
2016 Jun 25
3
Tail call optimization is getting affected due to local function related optimization with IPRA
...ing code is generated and here bitrv2 does not preserve R14 so whwn execution returns to main (which is caller of makewt) value of *ip is gone from R14 (which sould not) and when main calls makewt again then value of *ip (R14) is wrong and result into segmentation fault. Assembly code of makewt: _makewt: ... popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _bitrv2 ## TAILCALL There is one more case of faluire due to local function related optimization. I am analysing that (sorry for taking more time but I am not much good at assembly). I need...
2016 Jun 26
3
Tail call optimization is getting affected due to local function related optimization with IPRA
...whwn execution returns to main (which is caller of >> makewt) >> value of *ip is gone from R14 (which sould not) and when main calls >> makewt again >> then value of *ip (R14) is wrong and result into segmentation fault. >> >> Assembly code of makewt: >> _makewt: >> ... >> popq %rbx >> popq %r12 >> popq %r13 >> popq %r14 >> popq %r15 >> popq %rbp >> jmp _bitrv2 ## TAILCALL >> > > A very naive solution to this problem come to me is to convert above code > to...
2016 Jun 28
2
Tail call optimization is getting affected due to local function related optimization with IPRA
...bitrv2 does > not preserve R14 so whwn execution returns to main (which is caller of makewt) > value of *ip is gone from R14 (which sould not) and when main calls makewt again > then value of *ip (R14) is wrong and result into segmentation fault. > > Assembly code of makewt: > _makewt: > ... > popq %rbx > popq %r12 > popq %r13 > popq %r14 > popq %r15 > popq %rbp > jmp _bitrv2 ## TAILCALL > > A very naive solution to this problem come to me is to convert above code to following: > > _makewt: > ... &...
2016 Jun 27
0
Tail call optimization is getting affected due to local function related optimization with IPRA
...ain (which is caller of >>> makewt) >>> value of *ip is gone from R14 (which sould not) and when main calls >>> makewt again >>> then value of *ip (R14) is wrong and result into segmentation fault. >>> >>> Assembly code of makewt: >>> _makewt: >>> ... >>> popq %rbx >>> popq %r12 >>> popq %r13 >>> popq %r14 >>> popq %r15 >>> popq %rbp >>> jmp _bitrv2 ## TAILCALL >>> >> >> A very naive solution to this problem...
2016 Jun 28
0
Tail call optimization is getting affected due to local function related optimization with IPRA
...>>> makewt) >>>> value of *ip is gone from R14 (which sould not) and when main calls >>>> makewt again >>>> then value of *ip (R14) is wrong and result into segmentation fault. >>>> >>>> Assembly code of makewt: >>>> _makewt: >>>> ... >>>> popq %rbx >>>> popq %r12 >>>> popq %r13 >>>> popq %r14 >>>> popq %r15 >>>> popq %rbp >>>> jmp _bitrv2 ## TAILCALL >>>> >>> >&g...
2016 Jun 28
2
Tail call optimization is getting affected due to local function related optimization with IPRA
...;>>>>> value of *ip is gone from R14 (which sould not) and when main calls makewt again >>>>>> then value of *ip (R14) is wrong and result into segmentation fault. >>>>>> >>>>>> Assembly code of makewt: >>>>>> _makewt: >>>>>> ... >>>>>> popq %rbx >>>>>> popq %r12 >>>>>> popq %r13 >>>>>> popq %r14 >>>>>> popq %r15 >>>>>> popq %rbp >>>>>> jmp _bitrv2...