This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.


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

PowerPC Instructions



Hi,

I have a user submitted port of RTEMS to the PowerPC (IBM 403) and it uses
some instructions (or alternate names) he added to his local gas.  I am
using binutils 2.6 configured for powerpc-elf.  I know of the following
based on the error messages: 

/usr1/tmp/cca004pL.s: Assembler messages:
/usr1/tmp/cca004pL.s:54: Error: Unrecognized opcode: `mtsprg3'
/usr1/tmp/cca004pL.s:56: Error: Unrecognized opcode: `mtsprg2'
/usr1/tmp/cca004pL.s:131: Error: Unrecognized opcode: `mtexier'
/usr1/tmp/cca004pL.s:137: Error: Unrecognized opcode: `mttsr'
/usr1/tmp/cca004pL.s:143: Error: Unrecognized opcode: `mttsr'

I am not a PowerPC expert by any definition. (OK I do own a few PowerPC 
manuals :).)   What is the best thing for me to do?  I see two options:

1.  Merge his patches.

2.  If possible, change the instruction names to standard ones.

+----------------------------------------+--------------------------------+
| Joel Sherrill                          | Sr. Computer Scientist         |
| joel@merlin.gcs.redstone.army.mil      | On-Line Applications Research  |
| Ask me about RTEMS: a free real-time   | Huntsville AL 35805            |
|   multiprocessor executive!            | (205) 883-0131                 |
+----------------------------------------+--------------------------------+