Subject: Re: sgimips64
To: Emmanuel Dreyfus <manu@netbsd.org>
From: Wayne Knowles <wdk@netbsd.org>
List: port-mips
Date: 01/06/2002 12:43:49
On Sun, 6 Jan 2002, Emmanuel Dreyfus wrote:

> > For N32 and LP64 the sequence would possibly optimise down to the single
> > ld/sd instruction.
>
> Something like this?
>         ld      v1,0(a0)

	ld	v0,(a0)

(v0 is first return value from function)

>
> and for sd:
>         sd      a3,0(a0)

	sd	a1,(a0)

(no boundry padding is needed... 64bit vals in 64bit regs)

-- 
Wayne Knowles			NetBSD/mipsco port maintainer
wdk@netbsd.org			http://www.netbsd.org