Re: A query regarding the implementation of pragmas

2008-04-21 Thread Mohamed Shafi
On Thu, Apr 17, 2008 at 9:31 AM, Jim Wilson <[EMAIL PROTECTED]> wrote: > > On Tue, 2008-04-15 at 11:27 +0530, Mohamed Shafi wrote: > > On Mon, Apr 14, 2008 at 11:44 PM, Jim Wilson <[EMAIL PROTECTED]> wrote: > > > > A simple grep command shows that both arm and rs6000 already both support > > >

Re: A query regarding the implementation of pragmas

2008-04-16 Thread Jim Wilson
On Tue, 2008-04-15 at 11:27 +0530, Mohamed Shafi wrote: > On Mon, Apr 14, 2008 at 11:44 PM, Jim Wilson <[EMAIL PROTECTED]> wrote: > > A simple grep command shows that both arm and rs6000 already both support > > long call pragmas. > I did see those but i coudn't determine whether it is possible t

Re: A Query regarding jump pattern

2008-04-16 Thread Ian Lance Taylor
"Mohamed Shafi" <[EMAIL PROTECTED]> writes: > Ok , looking at another reply from Jim > (http://gcc.gnu.org/ml/gcc/2008-04/msg00311.html), where he suggests > to use shorten_branhes in reorg and generate indirect branch, it looks > like i will have to reserve a register. Am i right? You will ha

Re: A Query regarding jump pattern

2008-04-16 Thread Mohamed Shafi
On Mon, Apr 14, 2008 at 11:07 PM, Ian Lance Taylor <[EMAIL PROTECTED]> wrote: > > "Mohamed Shafi" <[EMAIL PROTECTED]> writes: > > > I have read in the internals that indirect_jump and jump pattern are > > necessary in any back-end for the compiler to be build and work > > successfully. For any b

Re: A query regarding the implementation of pragmas

2008-04-16 Thread Mohamed Shafi
On Tue, Apr 15, 2008 at 11:27 AM, Mohamed Shafi <[EMAIL PROTECTED]> wrote: > > On Mon, Apr 14, 2008 at 11:44 PM, Jim Wilson <[EMAIL PROTECTED]> wrote: > > > > Mohamed Shafi wrote: > > > > > For a function call will i be able to implement long call/short call > > > for the same function at diff

Re: A query regarding the implementation of pragmas

2008-04-14 Thread Mohamed Shafi
On Mon, Apr 14, 2008 at 11:44 PM, Jim Wilson <[EMAIL PROTECTED]> wrote: > > Mohamed Shafi wrote: > > > For a function call will i be able to implement long call/short call > > for the same function at different locations? > > Say fun1 calls bar and fun2 calls bar. I want short-call to be > > genera

Re: A query regarding the implementation of pragmas

2008-04-14 Thread Jim Wilson
Mohamed Shafi wrote: For a function call will i be able to implement long call/short call for the same function at different locations? Say fun1 calls bar and fun2 calls bar. I want short-call to be generated for bar in fun1 and long-call to be generated in fun2. Is to possible to implement this

Re: A Query regarding jump pattern

2008-04-14 Thread Ian Lance Taylor
"Mohamed Shafi" <[EMAIL PROTECTED]> writes: > I have read in the internals that indirect_jump and jump pattern are > necessary in any back-end for the compiler to be build and work > successfully. For any back-end there will be some limitation as to how > big the offset used in the jump instructio

Re: A query regarding the implementation of pragmas

2008-04-14 Thread Andrew Haley
Mohamed Shafi wrote: > For a function call will i be able to implement long call/short call > for the same function at different locations? > Say fun1 calls bar and fun2 calls bar. I want short-call to be > generated for bar in fun1 and long-call to be generated in fun2. > Is to possible to implem

A query regarding the implementation of pragmas

2008-04-14 Thread Mohamed Shafi
Hello all, For a function call will i be able to implement long call/short call for the same function at different locations? Say fun1 calls bar and fun2 calls bar. I want short-call to be generated for bar in fun1 and long-call to be generated in fun2. Is to possible to implement this in the back

A Query regarding jump pattern

2008-04-13 Thread Mohamed Shafi
Hello all, I have read in the internals that indirect_jump and jump pattern are necessary in any back-end for the compiler to be build and work successfully. For any back-end there will be some limitation as to how big the offset used in the jump instructions can be. If the offset is too big then

Re: A query

2005-12-26 Thread Ranjit Mathew
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harsh Chandra wrote: > > I am new to c programming and had just started learning it . My > friends recommended me to use gcc compilers . but i dont know where > will i get this compiler and how to use this . my operating system is > Windows XP SP2 . p

A query

2005-12-26 Thread Harsh Chandra
hi I am new to c programming and had just started learning it . My friends recommended me to use gcc compilers . but i dont know where will i get this compiler and how to use this . my operating system is Windows XP SP2 . please let me know what should i do ? Thanking You Sincerely, Harsh