]> granicus.if.org Git - libvpx/commit
Fix AVX-512 capability detection
authorBirk Magnussen <birk.magnussen@googlemail.com>
Wed, 16 Oct 2019 22:11:26 +0000 (00:11 +0200)
committerBirk Magnussen <birk.magnussen@googlemail.com>
Thu, 17 Oct 2019 11:16:54 +0000 (13:16 +0200)
commit602d25ec4344f96031ce1043c15490e79438c1bc
tree33ea45e4fcf9f671f7ce86b574a110ed6f394e0d
parent2be0ee5f05b3dc0782626b8b10894d5d920bcb96
Fix AVX-512 capability detection

When Checking for AVX Support, only the CPU's Capabilities and YMM
Register support by the OS were queried. In case of AVX-512, that is
insufficient, and ZMM Register support by the OS needs querying,
otherwise the OS will raise an Illegal Operation Exception if the CPU
is capable of AVX-512 but the OS is not.

Change-Id: I3444b19156d5743841de96cecbdaac19cc3f2b3f
vpx_ports/x86.h