[Bug 670690] audioresample: missing configure checks for SSE / SSE2

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Feb 29 06:43:46 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=670690
  GStreamer | gst-plugins-base | 0.10.36

--- Comment #5 from Antoine Jacoutot <ajacoutot at gnome.org> 2012-02-29 14:43:42 UTC ---
Ok, so to summarize, I think SSE should be enabled in gstreamer only if:
* HAVE_EMMINTRIN_H is defined
* __SSE__ is defined

Or something like that...

i386: HAVE_EMMINTRIN_H is defined, but as we can see SSE is not, so the SSE
code should not be used
$ gcc -E -dM - < /dev/null | grep SSE 
$

amd64: HAVE_EMMINTRIN_H is defined and SEE as well, so all is good, we can
compiled in the SSE parts
$ gcc -E -dM - < /dev/null | grep SSE   
#define __SSE2_MATH__ 1
#define __SSE_MATH__ 1
#define __SSE__ 1
#define __SSE2__ 1
$

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list