public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
To: binutils@sources.redhat.com
Cc: Alexandre Oliva <aoliva@redhat.com>, echristo@redhat.com
Subject: Re: MIPS assembler branch relaxations
Date: Sat, 14 Sep 2002 21:39:00 -0000	[thread overview]
Message-ID: <20020915003519.GA528@rembrandt.csv.ica.uni-stuttgart.de> (raw)
In-Reply-To: <20020914151121.GA7853@nevyn.them.org>

Daniel Jacobowitz wrote:
> On Sat, Sep 14, 2002 at 02:59:45AM -0300, Alexandre Oliva wrote:
> > This patch arranges for the MIPS assembler to turn out-of-range
> > branches into jumps.  No regressions are introduced in the binutils
> > testsuites for a mips-linux build.  Details on how it is done are in
> > comments in the beginning of the patch.  Ok to install?
> 
> A couple of thoughts:
> 
> +        beql reg1, reg2, 1f
> +        nop
> +        beqzl $0, 2f
> +        nop
> +     1: j[al] label
> +        delay slot (executed only if branch taken)
> +     2:
> 
> Why beqzl?  Admittedly, I don't know much about MIPS hardware, but I'd
> think that just "b" would probably be faster, since that's the normal
> unconditional branch.

"b" isn't a valid opcode. :-)
Btw, "beqzl" also isn't one. In this special case I'd prefer "beq".


Thiemo

  parent reply	other threads:[~2002-09-15  0:35 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-14  4:49 Alexandre Oliva
2002-09-14 14:28 ` Daniel Jacobowitz
2002-09-14 14:46   ` Eric Christopher
2002-09-14 21:33     ` Daniel Jacobowitz
2002-09-14 21:33       ` Eric Christopher
2002-09-14 15:00   ` Paul Koning
2002-09-14 16:35     ` Daniel Jacobowitz
2002-09-14 18:43       ` Paul Koning
2002-09-14 21:39   ` Thiemo Seufer [this message]
2002-09-14 22:18     ` Alexandre Oliva
2002-09-15  2:25       ` Thiemo Seufer
2002-09-15  3:38         ` Alexandre Oliva
2002-09-15  0:49   ` Alexandre Oliva
2002-09-15  9:15     ` Daniel Jacobowitz
2002-09-16 11:56     ` Richard Henderson
2002-09-17  0:09       ` Alexandre Oliva
2002-09-17  0:26         ` Richard Henderson
2002-09-17  0:38         ` Thiemo Seufer
2002-10-09 16:51           ` Alexandre Oliva
2002-10-09 16:54             ` Alexandre Oliva
2002-10-09 17:17               ` H. J. Lu
2002-10-11 13:08             ` Eric Christopher
2002-09-14 14:39 ` H. J. Lu
2002-09-14 23:12   ` Alexandre Oliva
2002-09-15  9:13     ` H. J. Lu
2002-09-15 15:32       ` Eric Christopher
2002-09-15 16:53         ` H. J. Lu
2002-09-15  1:00 ` Alexandre Oliva

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020915003519.GA528@rembrandt.csv.ica.uni-stuttgart.de \
    --to=ica2_ts@csv.ica.uni-stuttgart.de \
    --cc=aoliva@redhat.com \
    --cc=binutils@sources.redhat.com \
    --cc=echristo@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).