This is the mail archive of the
mailing list for the GCC project.
Re: i386 and asm jumping
- From: Peter Barada <pbarada at mail dot wm dot sps dot mot dot com>
- To: dewar at gnat dot com
- Cc: dewar at gnat dot com, schwab at suse dot de, gcc at gcc dot gnu dot org, jh at suse dot cz, jrydberg at rtmk dot org
- Date: Tue, 7 May 2002 11:31:07 -0400
- Subject: Re: i386 and asm jumping
- References: <20020507140207.EAE2CF28D0@nile.gnat.com>
>>>What's wrong with computed goto in this situation?
>Lots of machines have interesting branch instructions which you may want
>to generate for some particular reason. After all if you take the above
>attitude, *any* inserted asm can always be replaced by C code :-)
Jumps in asm statements will create problems since the optimizers have
no knowledge that there is a possible change in flow caused by the asm
statement, and hence will not have an accurate flow diagram of the
function. From there its all downhill.
Peter Barada Peter.Barada@motorola.com
Wizard 781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola) 781-270-0193 (fax)