diff options
| author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-08-12 17:04:21 +0530 |
|---|---|---|
| committer | Tim-Philipp Müller <tim@centricular.com> | 2020-09-24 19:42:19 +0100 |
| commit | b6e2deea2124d5aaa7af54d481f6f792ac9275c2 (patch) | |
| tree | 07ada714a135619cd55ce3b3426a85c115b35797 /scripts | |
| parent | 917c7141d07b2af2806b4b7f2422d2e5f3bb062f (diff) | |
| download | opus-meson.tar.gz | |
meson: Fix runtime CPU detection with MSVCmeson
With GCC, Clang, ICC, etc, we differentiate between 'may support this
SIMD' and 'presume we have this SIMD' by checking whether the SIMD
/ intrinsics can be compiled by the compiler as-is (presume) or with
SIMD cflags (may have).
With MSVC, the compiler will always build SIMD/intrinsics targeting
all specific instruction sets supported by that version of the
compiler. No special arguments are ever needed. If runtime CPU
detection is not disabled, we must always assume that we only 'may
have' it.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
