This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
PATCH: minor hppa disasm cleanup
- To: binutils@sourceware.cygnus.com
- Subject: PATCH: minor hppa disasm cleanup
- From: "Jerry Quinn" <jquinn@nortelnetworks.com>
- Date: Tue, 1 Jun 1999 11:05:16 -0400 (EDT)
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