]> git.sesse.net Git - x264/commit
Check for OS AVX support in addition to CPUID
authorFiona Glaser <fiona@x264.com>
Thu, 27 Jan 2011 13:33:25 +0000 (05:33 -0800)
committerFiona Glaser <fiona@x264.com>
Thu, 27 Jan 2011 13:40:15 +0000 (05:40 -0800)
commitce7ee9d2eeed6a81ab9b2a7d8d9f4bc5674c18c7
tree8fa136f5ec7da10f5f80b183847725f7988d1bf7
parente6025413ea3e4d9ee0e4b1e1b4d38a9eeb949d49
Check for OS AVX support in addition to CPUID
Even if not using ymm registers, AVX operations will cause SIGILLs on unsupported OSs.
On Windows, AVX is only available on Windows 7 SP1 or later.
common/cpu.c
common/x86/cpu-a.asm
x264.h