[FFmpeg-devel] Test PowerPC cpu detection

Diego Biurrun diego
Tue Nov 13 11:59:37 CET 2007


On Sun, Nov 11, 2007 at 05:39:45PM +0100, Reimar D?ffinger wrote:
> On Sun, Nov 11, 2007 at 04:10:10PM +0100, Reimar D?ffinger wrote:
> > could some of you PowerPC users test attached patch?
> 
> Wow, I wrote patch out of habit. I meant program...
> Attached is a version that should correctly print if you have altivec or
> not.

diego at cerebus:/tmp$ ./ppcver
PVR: 80030102
Has Altivec
diego at cerebus:/tmp$ cat /proc/cpuinfo
processor       : 0
cpu             : 7447A, altivec supported
clock           : 749.999000MHz
revision        : 0.2 (pvr 8003 0102)
bogomips        : 36.32
timebase        : 18432000
platform        : PowerMac
machine         : PowerBook6,8
motherboard     : PowerBook6,8 MacRISC3 Power Macintosh
detected as     : 287 (PowerBook G4 12")
pmac flags      : 0000001a
L2 cache        : 512K unified
pmac-generation : NewWorld
diego at cerebus:/tmp$ uname -a
Linux cerebus 2.6.23 #1 Fri Oct 12 09:44:36 CEST 2007 ppc GNU/Linux

Diego




More information about the ffmpeg-devel mailing list