Want to use the powerpc e200z6 SPE APU

Peter Dufault dufault at hda.com
Sun Oct 11 17:31:29 UTC 2009


On Oct 11, 2009, at 9:12 , Peter Dufault wrote:

> though the disassembler doesn't handle the instructions properly:

After this I promise I won't follow-up on myself, especially on  
weekends when everyone else is taking time off.
Obviously I'm overly busy right now.

You will find yourself in a twisty maze of options when working with  
the SPU, to disassemble the SPE op-codes use -M e500:

[dufault at finny rtems]$ powerpc-rtems4.10-objdump --disassemble -M e500  
foo.o

foo.o:     file format elf32-powerpc

Disassembly of section .text:

00000000 <foo>:
    0:	94 21 ff e8 	stwu    r1,-24(r1)
    4:	3c 00 3f 00 	lis     r0,16128
    8:	90 01 00 10 	stw     r0,16(r1)
    c:	3c 00 be 00 	lis     r0,-16896
   10:	90 01 00 14 	stw     r0,20(r1)
   14:	10 01 13 01 	evldd   r0,16(r1)
   18:	10 00 02 97 	evfsctsf r0,r0
   1c:	10 01 0b 21 	evstdd  r0,8(r1)
   20:	38 21 00 18 	addi    r1,r1,24
   24:	4e 80 00 20 	blr




More information about the users mailing list