Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Matthew Wilcox <willy@debian.org>
To: binutils@sources.redhat.com
Cc: parisc-linux@parisc-linux.org
Subject: [parisc-linux] [PATCH] space register 0 changes for hppa
Date: Sun, 23 Feb 2003 18:58:47 +0000	[thread overview]
Message-ID: <20030223185847.C2938@parcelfarce.linux.theplanet.co.uk> (raw)

Hi.  I believe I should still have a copyright assignment on file.

Index: opcodes/ChangeLog
===================================================================
RCS file: /cvs/src/src/opcodes/ChangeLog,v
retrieving revision 1.547
diff -u -p -r1.547 ChangeLog
--- opcodes/ChangeLog	12 Feb 2003 22:33:59 -0000	1.547
+++ opcodes/ChangeLog	23 Feb 2003 18:54:00 -0000
@@ -1,3 +1,9 @@
+2003-02-23  Matthew Wilcox  <willy@debian.org>
+
+	* hppa-dis.c: Do not emit a space register if the space register
+	field is 2 bits and the value is 0 as this is implicit addressing,
+	not use of space register 0.
+
 2003-02-12  Dave Brolley  <brolley@redhat.com>
 
 	* fr30-desc.c: Regenerate.
Index: opcodes/hppa-dis.c
===================================================================
RCS file: /cvs/src/src/opcodes/hppa-dis.c,v
retrieving revision 1.41
diff -u -p -r1.41 hppa-dis.c
--- opcodes/hppa-dis.c	31 Dec 2001 23:44:08 -0000	1.41
+++ opcodes/hppa-dis.c	23 Feb 2003 18:54:00 -0000
@@ -541,8 +541,11 @@ print_insn_hppa (memaddr, info)
 		  fput_const (extract_5_load (insn), info);
 		  break;
 		case 's':
-		  (*info->fprintf_func) (info->stream,
-					 "sr%d", GET_FIELD (insn, 16, 17));
+		  {
+		    int space = GET_FIELD (insn, 16, 17);
+		    if (space != 0)
+		      (*info->fprintf_func) (info->stream, "sr%d", space);
+		  }
 		  break;
 
 		case 'S':

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk

             reply	other threads:[~2003-02-23 18:58 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-23 18:58 Matthew Wilcox [this message]
2003-02-24  6:24 ` [parisc-linux] Re: [PATCH] space register 0 changes for hppa Alan Modra
2003-02-24  6:24 ` Alan Modra
2003-02-24 12:48   ` Matthew Wilcox
2003-02-24 12:48   ` Matthew Wilcox
2003-02-24 15:01   ` law
2003-02-24 14:59     ` Matthew Wilcox
2003-02-24 16:16       ` law
2003-02-24 16:16       ` law
2003-02-24 14:59     ` Matthew Wilcox
2003-02-24 18:23     ` Matthew Wilcox
2003-02-24 18:39       ` law
2003-02-24 18:42         ` Matthew Wilcox
2003-02-24 18:42         ` Matthew Wilcox
2003-02-24 18:47           ` Daniel Jacobowitz
2003-02-24 18:47           ` Daniel Jacobowitz
2003-02-24 21:49           ` Andrew Cagney
2003-02-24 21:49           ` Andrew Cagney
2003-02-24 21:57             ` Matthew Wilcox
2003-02-24 21:57             ` Matthew Wilcox
2003-02-24 22:11               ` Andrew Cagney
2003-02-24 22:11               ` Andrew Cagney
2003-02-24 22:19                 ` Matthew Wilcox
2003-02-24 22:19                 ` Matthew Wilcox
2003-02-25  0:21                   ` Alan Modra
2003-02-25  0:21                   ` Alan Modra
2003-02-24 18:39       ` law
2003-02-24 18:23     ` Matthew Wilcox
2003-02-24 15:01   ` law
  -- strict thread matches above, loose matches on Subject: below --
2003-02-23 18:58 [parisc-linux] " Matthew Wilcox

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=20030223185847.C2938@parcelfarce.linux.theplanet.co.uk \
    --to=willy@debian.org \
    --cc=binutils@sources.redhat.com \
    --cc=parisc-linux@parisc-linux.org \
    /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