cpu: remove build-time influence on feature test macros
the `vlc_CPU_SSE2()` type macros are provided for run-time feature detection. built-time target settings should have no influence on these, except perhaps in rare cases where we happen to know that a feature to absolutely definitely be available and wish to force enable it in the build for that platform. as an example, windows 8+ requires SSE2 (apparently), and so if we only want to support windows 8+ for our windows builds, then we could force enable SSE2 via use of the `-msse2` compile flag. in general though, i'm not aware that we ever do such a thing; i'm not sure we ever will want to, and we can easily hack in a necessary change if we did at such time; it risks mistakes being made; and as things were, this was just adding a lot of unnecessary mess. i find it questionable whether we even need to conditionally define the `VLC_SSE` type defines, but at leats there's only a couple of those. with the arm stuff: - note that while linux specific feature detection works, we are missing detection for other platforms. - `HAVE_FPU` is built-time dependant, which possibly needs replacing with runtime detection?
Please register or sign in to comment