[libav-devel] [PATCH 3/5] x86: Add YASM implementations of cpuid and xgetbv from x264

2012-10-04 Thread Diego Biurrun
This allows detecting CPU features with builds that have neither gcc inline assembly nor the right compiler intrinsics enabled. --- Changed to implement have_cpuid() instead of emulating the macros used by the inline/intrinsics versions. libavutil/x86/Makefile |3 +- libavutil/x86/cpu.c

Re: [libav-devel] [PATCH 3/5] x86: Add YASM implementations of cpuid and xgetbv from x264

2012-10-04 Thread Måns Rullgård
Diego Biurrun di...@biurrun.de writes: This allows detecting CPU features with builds that have neither gcc inline assembly nor the right compiler intrinsics enabled. --- Changed to implement have_cpuid() instead of emulating the macros used by the inline/intrinsics versions.