[flac-dev] PATCH: add FLAC__SSE_SUPPORTED and FLAC__SSE2_SUPPORTED
lvqcl
lvqcl.mail at gmail.com
Fri Jan 3 06:32:10 PST 2014
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sse_support.patch
Type: application/octet-stream
Size: 10488 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20140103/343e2b24/attachment.obj
More information about the flac-dev
mailing list