Mail Archives: pgcc/2000/01/10/00:39:17
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 -