site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com -- Greg Parker gparker@apple.com Runtime Wrangler _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... roman pindur wrote: I am working on a computational program in C++/C with SSE2/3 and I would like build it as a shell 64 bit appliation . I have a MacBook Core Duo with Tiger 10.4.9 and GCC 4.0.1 & 4.2 & 4.3 on it. I can manage to compile my code with x86_64 parameter, but when I run it I get "Bad CPU type in executable" error. Exactly which MacBook do you have? Older MacBooks use the "Core Duo" processor, which is 32-bit only and does not support x86_64. Newer MacBooks use the "Core 2 Duo" processor, which supports x86_64.
From http://lists.apple.com/archive...e-users/2007/Mar/msg00171 I know that it should be possible to succesfully build this kind of application. I will appreciate any advice or example (possibly with an explanation) how to do it (or at least how can I use new SSE registers).
xmm0..xmm7 are available in any Intel Mac. xmm8..xmm15 are available only to x86_64 code. This email sent to site_archiver@lists.apple.com