commit | 3dcb85ee9a9ced33842c032b01a47d567e5ab5ec | [log] [tgz] |
---|---|---|
author | DRC <information@libjpeg-turbo.org> | Mon Jul 11 20:21:46 2016 -0500 |
committer | DRC <information@libjpeg-turbo.org> | Mon Jul 11 20:26:34 2016 -0500 |
tree | 93e814729926e0ccf90e4970ba8cef7a63d33071 | |
parent | 1be87b627393ddb362edd395625c3675e8583d9d [diff] |
AVX2: Verify O/S support for AVX2 before enabling This fixes crashes that would occur when attempting to use libjpeg-turbo's AVX2 extensions on older O/S's (such as Windows XP or RHEL 5.) Even if the CPU supports AVX2, the O/S has to also support saving/restoring YMM registers when switching contexts.