[flac-dev] Questions about libFLAC and SSE/SSE2/...

2016-12-02 Thread lvqcl.mail
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

Re: [flac-dev] Questions about libFLAC and SSE/SSE2/...

2016-12-02 Thread lvqcl.mail
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.

Re: [flac-dev] Questions about libFLAC and SSE/SSE2/...

2016-12-02 Thread Erik de Castro Lopo
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