[FFmpeg-devel] Test PowerPC cpu detection

Reimar Döffinger Reimar.Doeffinger
Sun Nov 11 19:29:20 CET 2007


Hello,
On Sun, Nov 11, 2007 at 07:17:28PM +0100, Luca Barbato wrote:
> M?ns Rullg?rd wrote:
> > Reimar D?ffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> writes:
> >> 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.
> >> Runtime detection based on this is only a possibility if optional IMO,
> >> since at least it would break on ever kernel older than 2.6.16, and
> >> probably all other OS as well...
> > 
> > In what manner would it break?
> 
> probably sigill

Yes, it is a privileged instruction and crashes with SIGILL (tested on
2.6.11 kernel).

Greetings,
Reimar D?ffinger




More information about the ffmpeg-devel mailing list