These are 'optimization' patches for MSA. We surely have plans to add runtime CPU detection code in near future as a separate patch.
Parag -----Original Message----- From: ffmpeg-devel-boun...@ffmpeg.org [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of Timothy Gu Sent: Tuesday, April 21, 2015 1:59 AM To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for H264 lpf and weight/biweight functions On Mon, Apr 20, 2015 at 12:04 PM James Almer <jamr...@gmail.com> wrote: > > For that matter, do mips processors even have some sort of cpuid > instruction at all? AFAIK it does. See: - https://github.com/torvalds/linux/blob/master/arch/mips/kernel/cpu-probe.c#L519-L520 - https://github.com/torvalds/linux/blob/master/arch/mips/include/asm/mipsregs.h#L1176 - https://github.com/torvalds/linux/blob/master/arch/mips/include/asm/mipsregs.h#L903-L916 <http://ffmpeg.org/mailman/listinfo/ffmpeg-devel> Timothy _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel