From f48a95f5656a60056d89d62acc885491dddd1733 Mon Sep 17 00:00:00 2001 From: Venkatesh Srinivas Date: Mon, 30 Aug 2010 07:16:13 -0700 Subject: [PATCH] kernel - Enabled bzeront() (MOVNTI) only on SSE2-capable CPUs. --- sys/platform/pc32/isa/npx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/platform/pc32/isa/npx.c b/sys/platform/pc32/isa/npx.c index 8f60077479..fd94b57cd4 100644 --- a/sys/platform/pc32/isa/npx.c +++ b/sys/platform/pc32/isa/npx.c @@ -495,7 +495,7 @@ npx_attach(device_t dev) } } - if ((cpu_feature & CPUID_MMX) && (cpu_feature & CPUID_SSE) && mmxopt) + if ((cpu_feature & CPUID_SSE2) && mmxopt) bzeront_avail = 1; #endif #if 0 -- 2.41.0