Re: function attributes

2013-10-16 Thread Nagaraju Mekala
Hi Umesh/Ian, I followed the steps and it has generated the required branch instruction. Thankyou so much for the links and steps. On Wed, Oct 16, 2013 at 4:00 PM, Umesh Kalappa wrote: > Here you go , > > a)define new field in the struct "CUMULATIVE_ARGS" says as int long_call; > > b)set

Re: function attributes

2013-10-16 Thread Umesh Kalappa
Here you go , a)define new field in the struct "CUMULATIVE_ARGS" says as int long_call; b)set the field long_call to known vlaue@ init_cumulative_args() . c)In the TARGET_FUNCTION_ARG hook The last time this MACRO is called, it is called with MODE == VOIDmode, and its result is

Re: function attributes

2013-10-16 Thread Nagaraju Mekala
Yes.. I still had no luck. Do you have any thoughts on this?? On Wed, Oct 16, 2013 at 2:05 PM, Umesh Kalappa wrote: > You still stuck with this issue ??? > > ~Umesh > > On Tue, Oct 15, 2013 at 9:08 PM, Ian Lance Taylor wrote: >> On Tue, Oct 15, 2013 at 8:04 AM, Nagaraju Mekala >> wrote: >>> H

Re: function attributes

2013-10-16 Thread Umesh Kalappa
You still stuck with this issue ??? ~Umesh On Tue, Oct 15, 2013 at 9:08 PM, Ian Lance Taylor wrote: > On Tue, Oct 15, 2013 at 8:04 AM, Nagaraju Mekala > wrote: >> Hi Ian, >> >> Thanks for the reply. >> >> On Fri, Oct 11, 2013 at 10:31 PM, Ian Lance Taylor wrote: >>> On Fri, Oct 11, 2013 at

Re: function attributes

2013-10-15 Thread Ian Lance Taylor
On Tue, Oct 15, 2013 at 8:04 AM, Nagaraju Mekala wrote: > Hi Ian, > > Thanks for the reply. > > On Fri, Oct 11, 2013 at 10:31 PM, Ian Lance Taylor wrote: >> On Fri, Oct 11, 2013 at 9:20 AM, Nagaraju Mekala >> wrote: >>> >>> I observed that in rs6000 port longcall is implemented by using >>>

Re: function attributes

2013-10-15 Thread Nagaraju Mekala
Hi Ian, Thanks for the reply. On Fri, Oct 11, 2013 at 10:31 PM, Ian Lance Taylor wrote: > On Fri, Oct 11, 2013 at 9:20 AM, Nagaraju Mekala > wrote: >> >> I observed that in rs6000 port longcall is implemented by using >> CALL_LONG define. >> #define CALL_LONG 0x0008 /* always call indir

Re: function attributes

2013-10-11 Thread Ian Lance Taylor
On Fri, Oct 11, 2013 at 9:20 AM, Nagaraju Mekala wrote: > > I observed that in rs6000 port longcall is implemented by using > CALL_LONG define. > #define CALL_LONG 0x0008 /* always call indirect */ > In the md file they are checking the operand with CALL_LONG > if (INTVAL (operands[3]) & CALL_

Re: function attributes

2013-10-11 Thread Nagaraju Mekala
Hi Ian, Thanks for the reply. Please accept my apologize for including both the mail chains. I will make sure not to repeat this again. On Fri, Oct 11, 2013 at 7:32 PM, Ian Lance Taylor wrote: > On Fri, Oct 11, 2013 at 2:48 AM, Nagaraju Mekala > wrote: >> >> My question is how to find

Re: function attributes

2013-10-11 Thread Ian Lance Taylor
On Fri, Oct 11, 2013 at 2:48 AM, Nagaraju Mekala wrote: > > My question is how to find the attributes of a function which we are > going to call > > Problem: > >Generally while calling a function we use branch instruction > >ex: br r5, > > But when we have a function with "super" att