summaryrefslogtreecommitdiff
path: root/silk_sources.mk
diff options
context:
space:
mode:
authorTimothy B. Terriberry <tterribe@xiph.org>2022-06-28 22:33:43 -0700
committerTimothy B. Terriberry <tterribe@xiph.org>2022-06-28 22:57:40 -0700
commit03889ae76dea9c5e63e64df495fd77d613a03a80 (patch)
tree7c70b403497b0232013063fc7aa4057f15ea1229 /silk_sources.mk
parentccb42e05cc6eb98a15874b9695361025b3ee17ab (diff)
downloadopus-03889ae76dea9c5e63e64df495fd77d613a03a80.tar.gz
Check the return value of __get_cpuid().
This function can fail if CPUID is not supported or the maximum supported value of EAX is less than the requested one. Check the return value and explicitly disable all SIMD if it does fail. This was happening before implicitly because of the initialization of info[] to zero, but being explicit about it makes it less likely someone will break this behavior because they did not realize what was going on.
Diffstat (limited to 'silk_sources.mk')
0 files changed, 0 insertions, 0 deletions