Ah, so we either add Kernel.framework as a dependency on Mac OS X, or we
wrap a call to the cpuid instruction

Any preference?

By the way, I'm going to start working on NEON soon, I want to turn this
little PandaBoard into an awesome FreeRDP thin client :) I'm reading ARM
documentation right now

On Tue, Jun 14, 2011 at 10:57 PM, Dorian Johnson
<dor...@dorianjohnson.com>wrote:

> BTW there is a cpuid.h provided by the system, but it's in
> Kernel.framework:
>
>
> /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/i386/cpuid.h
>
>
> On Tue, Jun 14, 2011 at 9:54 PM, Marc-André Moreau
> <marcandre.mor...@gmail.com> wrote:
> > Hi Steve,
> >
> > On Tue, Jun 14, 2011 at 10:47 PM, S. Erisman <seris...@serisman.com>
> wrote:
> >>
> >> Marc,
> >>
> >> On 6/14/2011 7:01 PM, Marc-André Moreau wrote:
> >>>
> >>> Hi Steve,
> >>>
> >>> I noticed the addition of cpuid.h, which is not found on Mac OS X. Is
> >>> there a more portable alternative for detecting SSE support level?
> Can't the
> >>> cpuinfo instruction be used for this?
> >>
> >> That's weird.  I was under the assumption that cpuid.h was provided by
> >> default by GCC.  Are you using a different compiler?
> >
> > Nope, it is using GCC on Mac OS X, it doesn't find the header file
> >>
> >> Do you have any additional information about the cpuinfo instruction you
> >> are talking about?  I Googled it and didn't find much promising.  Or...
> >> maybe you are talking about parsing /proc/cpuinfo.  If so, there are a
> lot
> >> of comments out there about that being a bad idea.
> >
> > Sorry, my bad, the real instruction name is cpuid, not cpuinfo :(
> > http://softpixel.com/~cwright/programming/simd/cpuid.php
> >>
> >> One possibility is to roll our own cpuid instruction based on
> information
> >> found here and put it in our rfx_sse.h file:
> >>    http://softpixel.com/~cwright/programming/simd/cpuid.php
> >>
> > Yes, this is what I was thinking
> >
> >>
> >> On the Windows side, we can probably just use __cpuid found in
> <intrin.h>:
> >>    http://msdn.microsoft.com/en-us/library/hskdteyh.aspx
> >> Do you know if Mac OS X has this file?  GCC didn't seem to find it on my
> >> Ubuntu machines.
> >
> > I don't think so, I think those are different intrinsics. Maybe wrappers
> > exist though.
> >>
> >> Thanks,
> >>  Steve
> >
> >
> >
> ------------------------------------------------------------------------------
> > EditLive Enterprise is the world's most technically advanced content
> > authoring tool. Experience the power of Track Changes, Inline Image
> > Editing and ensure content is compliant with Accessibility Checking.
> > http://p.sf.net/sfu/ephox-dev2dev
> > _______________________________________________
> > Freerdp-devel mailing list
> > Freerdp-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/freerdp-devel
> >
> >
>
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to