Altivec doesn't work?

Décio Luiz Gazzoni Filho decio@decpp.net
Sat Jul 16 18:04:00 GMT 2005


Hello,

I have `GNU gdb 6.1-20040303 (Apple version gdb-413)' running on Mac  
OS X 10.4.2. I wrote some Altivec code and tried to load it into gdb.  
Although gdb can print the vector registers, they are not updated by  
any instructions that are run: all regs stay at the value  
0x7FFFDEAD7FFFDEAD7FFFDEAD7FFFDEAD.

I believe it's not a compilation issue, or a processor issue (mine is  
an MPC7447). Outside of gdb, the code seems to run fine (doesn't give  
an invalid instruction exception).

This is my first foray into Altivec programming, so I'm wondering  
what I'm missing here? This can't be a bug as Google doesn't turn  
anything up.

Décio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://sourceware.org/pipermail/gdb/attachments/20050716/6e5d13bd/attachment.sig>


More information about the Gdb mailing list