Erik de Castro Lopo wrote:

Yes, I think src/libFLAC/include/private/cpu.h would be a better place
for this SSE version support stuff.

Would you be able to do it or should I?


OK, the attached patch adds FLAC__SSE*_SUPPORTED and also moves their
definitions to cpu.h.
It also adds GCC 4.9 support (http://gcc.gnu.org/gcc-4.9/changes.html:
"It is now possible to call x86 intrinsics from select functions in a file
that are tagged with the corresponding target attribute without having
to compile the entire file with the -mxxx option")

I also found that I wrote "#ifdef _MSC_VER" instead of
"#if defined _MSC_VER || defined __INTEL_COMPILER". The second attached patch
fixes this.

Attachment: 1_sse_support.patch
Description: Binary data

Attachment: 2_ifdefs.patch
Description: Binary data

_______________________________________________
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev

Reply via email to