This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Slowdowns in code generated by GCC>=3.3
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Földy Lajos <foldy at rmki dot kfki dot hu>
- Cc: remko dot troncon at cs dot kuleuven dot ac dot be, gcc at gcc dot gnu dot org
- Date: Wed, 20 Oct 2004 09:58:45 -0700
- Subject: Re: Slowdowns in code generated by GCC>=3.3
- References: <Pine.LNX.4.58.0410201758020.32184@bifur.rmki.kfki.hu>
Földy Lajos <foldy@rmki.kfki.hu> writes:
> not portable, but on i386 you can try using the good old inline assembly:
>
> void* pc;
> ...
> pc=&&lab;
> __asm__("jmp *%0" : : "a" (pc));
> ...
> lab:
No, you can't do this. Asm statements cannot alter control flow.
zw