This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Committed] Fix 64-bit bb opcode entry


I noticed today in looking at some disassembly output that 64-bit opcodes were being
shown in 32-bit code for the bb instruction:

Reading symbols from hppa-linux-gnu-as...(no debugging symbols found)...done.
(gdb) disass 0x36508-16,0x36508+16
Dump of assembler code from 0x364f8 to 0x36518:
  0x000364f8:	ldw 4(r4),r6
  0x000364fc:	cmpb,<>,n r6,r20,0x3650c
  0x00036500:	ldw c(r4),r26
  0x00036504:	ldw 4(r26),r19
  0x00036508:	ldw 10(r19),r6
  0x0003650c:	bb,*>= ret0,3,0x3654c

The problem was the opcode match condition wasn't making sure the `d' bit was nonzero.
This is fixed by the attached change.

Committed to trunk.

Dave
--
John David Anglin	dave.anglin@bell.net


Attachment: hppa-bb.d.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]