This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: m68k call_value insn
On Mon, Sep 15, 2003 at 03:14:16PM +0200, Bernardo Innocenti wrote:
> >>`call_value'
> >> Subroutine call instruction returning a value. Operand 0 is the
> >> hard register in which the value is returned. There are three more
> >> operands, the same as the three operands of the `call' instruction
> >> (but with numbers increased by one).
>
> I thought that pattern was meant to do something like this:
>
> jsr %1
> move.l %%d0,%0
Except for pointers in m68k/ELF return values are always in %d0. This is
also true for floats and FPU present.
Gunther