linux-mips
[Top] [All Lists]

Re: MIPS, profiling, and not working

To: Daniel Jacobowitz <dan@debian.org>
Subject: Re: MIPS, profiling, and not working
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Thu, 16 Aug 2001 12:12:56 +0200 (MET DST)
Cc: Simon Gee <simong@oz.agile.tv>, linux-mips@oss.sgi.com, gcc-bugs@gcc.gnu.org
In-reply-to: <20010814164438.A22825@nevyn.them.org>
Organization: Technical University of Gdansk
Sender: owner-linux-mips@oss.sgi.com
On Tue, 14 Aug 2001, Daniel Jacobowitz wrote:

> *sigh* Yes, I think the adjustment was meant to be made before the
> call.  Perhaps binutils should warn about things in the "delay slot" of a
> macro?

 .set nomacro?

 There is usually no need to force an instruction into a delay slot
(unless there are nonobvious dependencies, but then you probably want to
avoid macro expansions anyway).  You may just place it before a
branch/jump and gas will move it into the slot itself if it finds it can.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


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