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. > > libavutil/x86/Makefile | 3 +- > libavutil/x86/cpu.c | 15 +++++++- > libavutil/x86/cpu.h | 4 ++ > libavutil/x86/cpuid.asm | 91 > +++++++++++++++++++++++++++++++++++++++++++++++ > 4 files changed, 111 insertions(+), 2 deletions(-) > create mode 100644 libavutil/x86/cpuid.asm
Looks reasonable. -- Måns Rullgård m...@mansr.com _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel