linux-mips
[Top] [All Lists]

Re: [PATCH -v1] MIPS: a few of fixups and cleanups for the compressed k

To: Chih-hung Lu <winfred.lu@gmail.com>
Subject: Re: [PATCH -v1] MIPS: a few of fixups and cleanups for the compressed kernel support
From: Wu Zhangjin <wuzhangjin@gmail.com>
Date: Fri, 30 Oct 2009 10:53:36 +0800
Cc: Linux-MIPS <linux-mips@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:organization:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=wBm07KGaWYhFXGidDGupSZfrNKJQgP2TSy5wLxyBcpg=; b=O2g7HR1abuar89n9GOsYNU3ixOnU5+GTpr4EVGn0SRAdWjw1ZUfq4KqIKDALgOFKC1 XRQUw8BESq/xImxEjRKID2fwRRR87MuMypeBNK03kmnI5w6OBd7IE92rus0b817doFUF ikVtsaVQMcP/UnqfnaPVrGPPWfDvYoBkmXifc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :organization:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=PaK/iMTKyDammhOYayyNGsIJ2upKLoft+5RF4sMo4kYHdrDN3i6SAVVrrfViZXzDmS 4luT4OVcQi/IHwd4kuRs1shxqomxvWoe4033RieP4jrrPefxe0p1E+TpkRAjj1mGbElr xBGw7NGW7kdzA/yLmLHAZBbmZWHzixP4Cx3kM=
In-reply-to: <a2dc26810910291916x1556eb21uecaa8bdeeb98baae@mail.gmail.com>
Organization: DSLab, Lanzhou University, China
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1256797212-7794-1-git-send-email-wuzhangjin@gmail.com> <a2dc26810910291916x1556eb21uecaa8bdeeb98baae@mail.gmail.com>
Reply-to: wuzhangjin@gmail.com
Sender: linux-mips-bounce@linux-mips.org
On Fri, 2009-10-30 at 10:16 +0800, Chih-hung Lu wrote:
> 2009/10/29 Wu Zhangjin <wuzhangjin@gmail.com>:
> > From: Wu Zhangjin <wuzhangjin@gmail.com>
> >
> > This patch indents the instructions in the delay slot of the file which
> > has a ".set noreorder" added.
> >
> > and also, the "addu a0, 4" instruction is replaced by "addiu a0, a0, 4".
> Hi,
> 
> May I ask a question,
> what is the difference between "addu a0, 4" and "addiu a0, a0, 4"?
> They look same to me.

Hello,

Although they function the same under gas("addu a0, 4" will be assembled
to "addiu a0, a0, 4"), but herein is exactly an immediate data
operation, I just keep it be what it is! only a "cleanup" here.

Thanks & Regards,
        Wu Zhangjin


<Prev in Thread] Current Thread [Next in Thread>