public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* variable renaming
@ 2000-06-30  0:14 Christophe Jaillet
  0 siblings, 0 replies; 3+ messages in thread
From: Christophe Jaillet @ 2000-06-30  0:14 UTC (permalink / raw)
  To: gcc

Hi,

I would like to know if egcs is able to rename variables
in oder togive more oportunities to the register allocator
? Look at the code below to see what I mean.

It would change :
int i;
..
for (i=3d0; i<LIMIT_1; i++)
{ ... }
..
for (i=3d0; i<LIMIT_2; i++)
{ ... }

into :
int i, new_var;
..
for (i=3d0; i<LIMIT_1; i++)
{ ... }
..
for (new_var=3d0; new_var<LIMIT_2; new_var++)
{ ... }



______________________________________________________
Bo=eete aux lettres - Caramail - http://www.caramail.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* variable renaming
@ 2000-06-30  0:14 Christophe Jaillet
  0 siblings, 0 replies; 3+ messages in thread
From: Christophe Jaillet @ 2000-06-30  0:14 UTC (permalink / raw)
  To: gcc

Hi,

I would like to know if egcs is able to rename variables
in oder togive more oportunities to the register allocator
? Look at the code below to see what I mean.

It would change :
int i;
..
for (i=3d0; i<LIMIT_1; i++)
{ ... }
..
for (i=3d0; i<LIMIT_2; i++)
{ ... }

into :
int i, new_var;
..
for (i=3d0; i<LIMIT_1; i++)
{ ... }
..
for (new_var=3d0; new_var<LIMIT_2; new_var++)
{ ... }



______________________________________________________
Bo=eete aux lettres - Caramail - http://www.caramail.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* variable renaming
@ 2000-06-30  0:14 Christophe Jaillet
  0 siblings, 0 replies; 3+ messages in thread
From: Christophe Jaillet @ 2000-06-30  0:14 UTC (permalink / raw)
  To: gcc

Hi,

I would like to know if egcs is able to rename variables
in oder togive more oportunities to the register allocator
? Look at the code below to see what I mean.

It would change :
int i;
..
for (i=3d0; i<LIMIT_1; i++)
{ ... }
..
for (i=3d0; i<LIMIT_2; i++)
{ ... }

into :
int i, new_var;
..
for (i=3d0; i<LIMIT_1; i++)
{ ... }
..
for (new_var=3d0; new_var<LIMIT_2; new_var++)
{ ... }



_______________________________________________________
Vendez tout... aux ench=e8res - http://www.caraplazza.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-06-30  0:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-30  0:14 variable renaming Christophe Jaillet
  -- strict thread matches above, loose matches on Subject: below --
2000-06-30  0:14 Christophe Jaillet
2000-06-30  0:14 Christophe Jaillet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).