From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756645AbYIIRtA (ORCPT ); Tue, 9 Sep 2008 13:49:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753782AbYIIRsw (ORCPT ); Tue, 9 Sep 2008 13:48:52 -0400 Received: from rtr.ca ([76.10.145.34]:35582 "EHLO mail.rtr.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753736AbYIIRsw (ORCPT ); Tue, 9 Sep 2008 13:48:52 -0400 Message-ID: <48C6B703.6070003@rtr.ca> Date: Tue, 09 Sep 2008 13:48:51 -0400 From: Mark Lord Organization: Real-Time Remedies Inc. User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: Andi Kleen Cc: Krzysztof Halasa , Linus Torvalds , Ingo Molnar , "H. Peter Anvin" , Arjan van de Ven , x86 maintainers , Andrew Morton , Linux Kernel Mailing List Subject: Re: [git pull] x86 fixes References: <200809081752.m88Hq6tn005080@askone.hos.anvin.org> <48C56D60.7010405@zytor.com> <20080908114619.741b6786@infradead.org> <48C57439.3040903@zytor.com> <20080908190249.GA21998@elte.hu> <87d4jdty5b.fsf@basil.nowhere.org> <48C6AFA4.1050206@rtr.ca> In-Reply-To: <48C6AFA4.1050206@rtr.ca> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mark Lord wrote: > Andi Kleen wrote: >> Krzysztof Halasa writes: >> >>> Linus Torvalds writes: >>> >>>> - "modern 32-bit": PPro and better. Can take CMOV, MMX and TSC for >>>> granted. >>> VIA C3 (Samuel 2/Ezra, 600 - 1000 MHz?, common on VIA EPIA-*: home >>> theatres etc) can't CMOV. >> >> AFAIK they fixed that in newer BIOS with a microcode update. It's >> slow, but it works. > .. > > Our firewall here uses a Via C3-600 CPU, and CMOV has never worked on it. > But based upon your posting, I have today upgraded the BIOS to the > latest (2004) version. > > Now.. how can I check whether CMOV works or not? It's not listed in > /proc/cpuinfo. .. H. Peter Anvin wrote: > > Compile just about any C program with -march=i686. .. Okay, done. And the binary does indeed have a ton of CMOV instructions. When running it, this appears immediately: Illegal instruction So much for the "BIOS upgrade fixes CMOV microcode" theory. Cheers