mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
Add FLAC__SSE_SUPPORTED and FLAC__SSE2_SUPPORTED flags.
* Allow compiling using GCC GCC w/o SSE support. * Allow SSE4.1 intrinsic functions to be enabled. Patch-from: lvqcl <lvqcl.mail@gmail.com>
This commit is contained in:
@@ -199,12 +199,4 @@ int flac_snprintf(char *str, size_t size, const char *fmt, ...);
|
||||
};
|
||||
#endif
|
||||
|
||||
/* SSSE3, SSE4 support: MSVS 2008, GCC 4.3 -- currently disabled, Intel Compiler 10.0 */
|
||||
#if ( defined _MSC_VER && _MSC_VER >= 1500 ) \
|
||||
|| ( 0 && defined __GNUC__ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) ) \
|
||||
|| ( defined __INTEL_COMPILER && __INTEL_COMPILER >= 1000 )
|
||||
#define FLAC__SSSE3_SUPPORTED 1
|
||||
#define FLAC__SSE4_SUPPORTED 1
|
||||
#endif
|
||||
|
||||
#endif /* FLAC__SHARE__COMPAT_H */
|
||||
|
||||
Reference in New Issue
Block a user