On Sun, Oct 16, 2011 at 06:31, Richard Guenther
<richard.guent...@gmail.com> wrote:
> The question is now, of course why you need to emit calls
> from an asm() statement, something which isn't guaranteed
> to work anyway (IIRC).

It's not guaranteed to work in general.  The problem to solve is that
I know the function which is called is not clobbering any registers.
If I leave it with the normal function call gcc has to spill
registers.  If I can hide the function call the generated code can be
significantly better.

An alternative solution would be to have a function attribute which
allows me to specify which registers are clobbered.  Or at least an
attribute which says none are clobbered.

Reply via email to