This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Altivec doesn't work?



On Jul 19, 2005, at 12:39 AM, Jason Molenda wrote:


Daniel was correct that this isn't the right forum for Apple gdb questions. Please send these kinds of things to xcode- users@lists.apple.com.

You'll want to be more specific about your program that isn't working under gdb. For instance, this works fine with gdb-413:

#include <altivec.h>
int main () {
  vector unsigned int x = ((vector unsigned int) vec_splat_u8 (-2));
}

(gdb) p/x x
$2 = {0xfefefefe, 0xfefefefe, 0xfefefefe, 0xfefefefe}
(gdb)

Please follow up on xcode-users@ if you have any questions or problems with the Apple tools. Thanks!

I asked on the perfoptimization-dev@ list. But sometime between posting it and receiving an answer, I figured out the problem (forgot to set the clobberlist).


Thanks for the help anyway.

Décio

Attachment: PGP.sig
Description: This is a digitally signed message part


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