Re: SSE3 intrinsics support.
Re: SSE3 intrinsics support.
- Subject: Re: SSE3 intrinsics support.
- From: Eric Albert <email@hidden>
- Date: Fri, 10 Jun 2005 00:18:21 -0700
On Jun 10, 2005, at 12:01 AM, Alex Telitsine wrote:
Compiler fails on _mm_lddqu_si128, while "sysctlbyname" supports "hw.optional.sse3".
(btw, add detection of hyperthreading in "hw.*" as well). Please add SSE3 in the next XC update. Absence of SSE3 support hurts video encoding speed.
SSE3 is supported; it just isn't enabled by default as MMX, SSE, and SSE2 are. This is described on page 58 of the Universal Binary Programming Guide. If you pass -msse3 to the compiler, _mm_lddqu_si128 works. It'd probably be useful if Xcode had a check box for enabling SSE3 rather than requiring you to add -msse3 to "Other C Flags". If you'd like that, please file a bug report.
As for detecting Hyper-Threading, that's really a matter for darwin-dev rather than here, but you can determine whether it's supported by checking if hw.logicalcpu_max > hw.physicalcpu_max, and you can see if it's currently enabled by checking if hw.logicalcpu > hw.physicalcpu.
Hope this helps,
Eric
Core Technologies
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden