m68k call_value insn

Gunther Nikl gni@gecko.de
Mon Sep 15 15:44:00 GMT 2003


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



More information about the Gcc mailing list