From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:32926) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMhH6-0007tL-Jr for qemu-devel@nongnu.org; Mon, 01 Apr 2013 12:08:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UMhH4-0005hI-AE for qemu-devel@nongnu.org; Mon, 01 Apr 2013 12:08:00 -0400 Received: from mail-pb0-f53.google.com ([209.85.160.53]:54617) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMhH4-0005hD-3y for qemu-devel@nongnu.org; Mon, 01 Apr 2013 12:07:58 -0400 Received: by mail-pb0-f53.google.com with SMTP id un1so1254435pbc.26 for ; Mon, 01 Apr 2013 09:07:57 -0700 (PDT) Sender: Richard Henderson Message-ID: <5159B0D9.1050002@twiddle.net> Date: Mon, 01 Apr 2013 09:07:53 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1362443590-28191-1-git-send-email-rth@twiddle.net> <1362443590-28191-26-git-send-email-rth@twiddle.net> <20130401150000.GA20665@ohm.aurel32.net> In-Reply-To: <20130401150000.GA20665@ohm.aurel32.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 25/27] tcg-ppc64: Use getauxval for ISA detection List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: av1474@comtv.ru, qemu-devel@nongnu.org On 2013-04-01 08:00, Aurelien Jarno wrote: > I wonder if the same could be used for arm with AT_PLATFORM to detect ARM > v5/v6/v7. Yes you can. Once the ppc64 patch set was in, I was planning on seeing what I could infer from the ARM HWCAP bits. E.g. if you have neon then you're at least arm6, etc. I'd sort of forgotten about PLATFORM. r~