Re: x86_64 on MacBook with Intel Core Duo
Re: x86_64 on MacBook with Intel Core Duo
- Subject: Re: x86_64 on MacBook with Intel Core Duo
- From: Greg Parker <email@hidden>
- Date: Tue, 22 May 2007 15:58:01 -0700
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.
--
Greg Parker email@hidden Runtime Wrangler
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden