Re: [linux-audio-dev] [OT] Autoconf cpu optimisations

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] [OT] Autoconf cpu optimisations
From: Paul Davis (pbd_AT_Op.Net)
Date: Thu Apr 11 2002 - 00:39:30 EEST


>> Which seems to work fine for x86 based machines, but doesn't work for
>> ppc, uname -m returns "ppc" and -mcpu wont take ppc as an argument.
>>
>> Does anyone know how to do this right? The -mcpu argument is important
>> for PII's etc. it wins quite a lot of efficiency.
>
>hmmm,
>go via "cat /proc/cpuinfo |head -1 |cut -f 2 -d :", but on ppc only G3

there is no cross-processor standard format for /proc/cpuinfo, so you
would first have to have a rough idea of what to expect. the above
command on my system would generate "0" :)


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Apr 11 2002 - 00:25:50 EEST