Re: K8, EFFICEON and CORE2 support the cmovxx instructions.

From: H. Peter Anvin
Date: Sat Mar 15 2008 - 16:22:18 EST


Alexander van Heukelum wrote:
K8, EFFICEON and CORE2 support the cmovxx instructions.

Instead of listing the cpu's that have support for the
cmovxx instructions, list the cpu's that don't.

Signed-off-by: Alexander van Heukelum <heukelum@xxxxxxxxxxx>
---

A bit of playing resulted in:

CPUS="M386 M486 M586 M586TSC M586MMX M686 MPENTIUMII MPENTIUMIII"
CPUS=$CPUS" MPENTIUMM MPENTIUM4 MK6 MK7 MK8 MCRUSOE MEFFICEON"
CPUS=$CPUS" MWINCHIPC6 MWINCHIP2 MWINCHIP3D MGEODEGX1 MGEODE_LX"
CPUS=$CPUS" MCYRIXIII MVIAC3_2 MVIAC7 MPSC MCORE2"

for cpu in $CPUS
do
echo "CONFIG_${cpu}=y" > testconfig
make ARCH=i386 allnoconfig KCONFIG_ALLCONFIG=testconfig > /dev/null
echo ${cpu} >> result
grep X86_CMOV .config >> result
echo >> result
done

I'm quite sure that K8, EFFICEON and CORE2 support HAVE_CMOV, but
they did not set X86_CMOV.


Crusoe has CMOV as well.

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/