This is the mail archive of the binutils@sources.redhat.com 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]

Re: binutils patch


Am 17 Aug 2001 10:26:32 +0200 schrieb Andreas Schwab:

> The comment before the table says:
> 
>    The disassembler reads the table in order and prints the first
>    instruction which matches, so this table is sorted to put more
>    specific instructions before more general instructions.  It is also
>    sorted by major opcode.

DOH! Thanks for pointing that out.
 
> Try to swap the lines in the pairs with X_MASK vs XT_MASK, so that the
> disassembler matches the transparent form before the non-transparent form.

However it still doesn't work.

The dissabled code reads:
fe8:       7c 04 02 ec     dststt  r4,r0,0
fec:       3d 20 01 08     lis     r9,264
ff0:       61 29 00 10     ori     r9,r9,16
ff4:       7c 23 4a ac     dstt    r3,r9,1
Unfortunately it's wrong: 
fe8 should be: 7e 04 02 ec
and the opcode of ff4 is correct but the mnemonic should read dst.

The code snippet that lead to this object code is:
dststt %r4,%r0,0
lis %r9,0x108
ori %r9,%r9,16
dst %r3,%r9,1

Servus,
       Daniel


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