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? 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. 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 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. 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