bug-binutils
[Top][All Lists]
Advanced

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

Power PC 440 compiler problems


From: Duncan Irving
Subject: Power PC 440 compiler problems
Date: Thu, 12 Feb 2004 08:27:11 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

Dwight,

I think there is a problem with the recommended power-elf compiler, it does not like the tlbwe instruction for the PPC440 booke instruction set and does not recognize it properly!

These are the lines that do not work!

 tlbwe       r4,r3,0                            # Write word 0 of TLB Entry
 tlbwe       r5,r3,1                            # Write word 1 of TLB Entry
 tlbwe       r6,r3,2                            # Write word 2 of TLB Entry

I get -------->
PPC440.dcba.1.1.4.s: Assembler messages:
PPC440.dcba.1.1.4.s:99: Error: junk at end of line: `r4,r3,0'
PPC440.dcba.1.1.4.s:99: Error: junk at end of line: `r5,r3,1'
PPC440.dcba.1.1.4.s:99: Error: junk at end of line: `r6,r3,2'

If I edit out the end of the line operands it compiles but the program does not work!

Maybe there is a extension to the assembler or another version to use?
> powerpc-elf-as -version
GNU assembler 2.14 20030612
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `powerpc-elf'.


Thanks,

         Duncan Irving

--
Senior Silicon Verification Engineer
Seaway Networks One Chrysalis Way, Suite 300
Ottawa, Ontario, K2G 6P9
Tel: 613-723-9161 ext 4063
Fax: 613-723-8244






reply via email to

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