www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/2000/01/10/00:39:17

Date: Sun, 9 Jan 2000 23:19:50 -0400 (AST)
From: Peter Cordes <peter AT Cordes DOT Phys DOT Dal DOT Ca>
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: <Pine.LNX.4.10.10001092304060.24991-100000@Cordes.Phys.Dal.Ca>
MIME-Version: 1.0
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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019