Currently the only way to compile FLAC using GCC w/o SSE support
is to disable asm optimizations (see configure.ac):

        if test "x$asm_optimisation" = "xyes" ; then
                XIPH_ADD_CFLAGS([-msse2])
                fi


Also it's not possible to enable SSE4.1 intrinsic functions even
with -msse4.1 option. The patch fixes both problems.


---------------
BTW: I'm not sure that share/compat.h is the best place to define these
FLAC__SSEN_SUPPORTED macros. Maybe it's better to move them to some libFLAC .h 
file?
E.g. to src/libFLAC/include/private/cpu.h?

Attachment: sse_support.patch
Description: Binary data

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

Reply via email to