Date: Sun, 9 Jan 2000 23:19:50 -0400 (AST) From: Peter Cordes To: pgcc AT delorie DOT com Subject: Re: pgcc on AMD K6 In-Reply-To: <14455.31978.6456.97304@monty.pp.sci.fi> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: pgcc AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: pgcc AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sat, 8 Jan 2000, Michael Widenius wrote: > Is the cmove instruction not supported by AMD K6 It is apparently not. You can see what CPUINFO said when your Linux kernel booted by lookin at /proc/cpuinfo. On a PIII, some relevant lines are: model name : Pentium III (Katmai) stepping : 2 flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 psn mmx osfxsr kni in the flags, cmov indicates that this processor supports cmove. If it isn't there, the processor doesn't support it or you have a _really_ old kernel. (decoding the flag bits is easy, so the code for the flags knows about all the brand new stuff.) Check get_cpuinfo() in linux/arch/i386/setup.c for more info. #define X(x,y) x##y DUPS Secretary ; http://is2.dal.ca/~dups/ Peter Cordes ; e-mail: X(peter AT cordes DOT phys. , dal.ca) "The gods confound the man who first found out how to distinguish the hours! Confound him, too, who in this place set up a sundial, to cut and hack my day so wretchedly into small pieces!" -- Plautus, 200 BCE