summaryrefslogtreecommitdiff
path: root/ext/mysqlnd
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-11-27 11:54:39 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-11-27 14:49:31 +0100
commit4e30ab33d84232ba2686e7ed5b125861db63142d (patch)
tree75c325bda8de2979c6c81934f4ae5b2648c99a41 /ext/mysqlnd
parent07c5efbd76faa0aa43fa3ddded0b562876a88e5a (diff)
downloadphp-git-4e30ab33d84232ba2686e7ed5b125861db63142d.tar.gz
Fix AVX detection
Our CPU detection code currently only checks whether hardware support for AVX exists. However, we also need to check for operating system support for XSAVE, as well as whether XCR0 has the SSE and AVX bits set. If this is not the case, unset the AVX and AVX2 bits in the cpuinfo structure. Hopefully this resolves our issues with CPU support detection. Closes GH-6460.
Diffstat (limited to 'ext/mysqlnd')
0 files changed, 0 insertions, 0 deletions