[parisc-linux] ["CSA Test Drive" <TestDrive@compaq.com>] FW: Some issues

Matthew Wilcox willy@debian.org
Thu, 12 Dec 2002 12:15:20 +0000


On Wed, Dec 11, 2002 at 10:50:59PM -0800, Randolph Chung wrote:
> (oh, as an aside, looks like there's a small objdump bug :-)
> 00010428 <ull2dbl>:
>    10428:       0f d9 12 81     stw r25,-10(sr0,sp)
>    1042c:       0f da 12 89     stw r26,-c(sr0,sp)
>    10430:       2f c1 10 16     fldd -10(sr0,sp),fr22
>    10434:       e8 40 d0 00     bve (rp)
>    10438:       32 c2 aa 04     fcnv Disassembler botch.
> 
> (should be fcnv,udw,dbl %fr22,%fr4)

well, there's another one:

stw r25,-10(sr0,sp)

printing `sr0,' is misleading -- were not using sr0, we're using `short
addressing mode', it should be just:

stw r25,-10(sp)

i remember jsm pointing this out a couple of years ago.  basically for insns
which have a 2-bit s field, print nothing if it's zero.  sr0 should still be
pinted for insns with a 3-bit s field.

-- 
"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