[FFmpeg-devel] [PATCH] avutil: runtime cpu detection for mips
Michael Niedermayer
michaelni at gmx.at
Wed Sep 30 16:08:50 CEST 2015
On Wed, Sep 30, 2015 at 07:03:46PM +0530, shivraj.patil at imgtec.com wrote:
> From: Shivraj Patil <shivraj.patil at imgtec.com>
[...]
> +static int get_cpuinfo(uint32_t *hwcap)
> +{
> + FILE *f = fopen("/proc/cpuinfo", "r");
under qemu i get this:
cpu_flags(raw) = 0x00000000
cpu_flags_str(raw) =
cpu_flags(effective) = 0x00000000
cpu_flags_str(effective) =
threads = 1 (cpu_count = 12)
IIUC this disables all cpu extensions
is that intended ?
(we currently only have loongson hardware to test so this would mean
an end to testing imgtec specific mips optimizations)
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Avoid a single point of failure, be that a person or equipment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150930/463fc626/attachment.sig>
More information about the ffmpeg-devel
mailing list