public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: "Jerry Quinn" <jquinn@nortelnetworks.com>
To: binutils@sourceware.cygnus.com
Subject: PATCH: minor hppa disasm cleanup
Date: Thu, 01 Jul 1999 00:00:00 -0000	[thread overview]
Message-ID: <199906011505.LAA08672@wmtl249c.us.nortel.com> (raw)

In the pa disassembler, the 'E' code is always used for 0x0C opcodes
where only left register halves occur.  So the L/R selection bit at 25
is always 0 and the test isn't required.

This is patched against 990413, since I can't use cvs to update my
snapshot (restrictive firewall) and this is the last one I have.

Changelog entry:

Tue Jun  1 11:03:02 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>

    * hppa-dis.c (print_insn_hppa): Remove unnecessary test in 'E'
      code.


*** orig/opcodes/hppa-dis.c	Tue Jun  1 10:35:45 1999
--- gas-src/opcodes/hppa-dis.c	Tue Jun  1 10:35:57 1999
***************
*** 327,336 ****
  		  fput_creg (GET_FIELD (insn, 6, 10), info);
  		  break;
  		case 'E':
!                   if (GET_FIELD (insn, 25, 25))
! 		      fput_fp_reg_r (GET_FIELD (insn, 6, 10), info);
! 		  else
! 		      fput_fp_reg (GET_FIELD (insn, 6, 10), info);
  		  break;
  		case 't':
  		  fput_reg (GET_FIELD (insn, 27, 31), info);
--- 327,333 ----
  		  fput_creg (GET_FIELD (insn, 6, 10), info);
  		  break;
  		case 'E':
! 		  fput_fp_reg (GET_FIELD (insn, 6, 10), info);
  		  break;
  		case 't':
  		  fput_reg (GET_FIELD (insn, 27, 31), info);

-- 
Jerry Quinn                             Tel: (514) 761-8737
jquinn@nortelnetworks.com               Fax: (514) 761-8505
Speech Recognition Research

             reply	other threads:[~1999-07-01  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-01  0:00 Jerry Quinn [this message]
1999-07-01  0:00 ` Jeffrey A Law
1999-07-01  0:00   ` Jerry Quinn
1999-07-28  3:42     ` Jeffrey A Law

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=199906011505.LAA08672@wmtl249c.us.nortel.com \
    --to=jquinn@nortelnetworks.com \
    --cc=binutils@sourceware.cygnus.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).