1.
A program can use SSE instructions only if both CPU and OS support SSE.
Currently libFLAC tests both CPU and OS for this support, but is it really
necessary? Maybe CPU check is enough? Operating systems that don't support
SSE (Win95, WinNT 4.0, Linux kernel 2.2 (iirc), ...) are really outdated
2.
"configure" build system adds -msse2 option by default. It means that
x86 (32-bit) library won't work on older, non-SSE2 processors.
P.S. Also, it doesn't really make sense to test CPU/OS for SSE support
when -msse2 option allows compiler to insert SSE/SSE2 instructions
anywhere.
lvqcl.mail wrote:
> 1.
> A program can use SSE instructions only if both CPU and OS support SSE.
> Currently libFLAC tests both CPU and OS for this support, but is it really
> necessary? Maybe CPU check is enough? Operating systems that don't support
> SSE (Win95, WinNT 4.0, Linux kernel 2.2 (iirc