bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/336] gas cannot assemble pdtlb,l instruction


From: randolph at tausq dot org
Subject: [Bug gas/336] gas cannot assemble pdtlb,l instruction
Date: 27 Aug 2004 16:32:26 -0000

------- Additional Comments From randolph at tausq dot org  2004-08-27 16:32 
-------
Subject: Re:  gas cannot assemble pdtlb,l instruction

hello,

> > foo:
> >         pdtlb,l   0(%r28)
> 
> I do not believe that this instruction is valid.  The "x" field of the 
> instruction needs to be a register name.

well, gas happily accepts "pdtlb 0(%r28)" :-)

> The tests in the GAS testsuite also make this clear.  The following 
> instructions are all valid:
> 
>       pdtlb     %r4(%sr0,%r5)
>       pdtlb,m   %r4(%sr0,%r5)
>       pdtlb,l   %r4(%sr0,%r5)
>       pdtlb,l,m %r4(%sr0,%r5)
>       pitlb,l   %r4(%sr4,%r5)
>       pitlb,l,m %r4(%sr4,%r5)

this is strange, because these do not work for me.

address@hidden:~$ cat foo.s
foo:
        pdtlb,l   %r4(%sr0,%r5)
address@hidden:~$ as -v -o foo.o foo.s
GNU assembler version 2.15 (hppa-linux) using BFD version 2.15
foo.s: Assembler messages:
foo.s:2: Error: Invalid operands

removing the ,l and it assembles correctly.

let me go dig in the sources a bit.

randolph


-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=336

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]