summaryrefslogtreecommitdiff
path: root/features.c
diff options
context:
space:
mode:
authordavej <davej>2001-09-07 09:29:21 +0000
committerdavej <davej>2001-09-07 09:29:21 +0000
commitec472678a9358be2e389aa177366fa37f3c6c912 (patch)
treea076dc7fb3d5de8c821766fc57a9e05de5bfaa18 /features.c
parent8116f5ef42b14a85d41b2debec836798eeb2dddb (diff)
Make VIA Cyrix III report 3dnow.
Diffstat (limited to 'features.c')
-rw-r--r--features.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/features.c b/features.c
index 09c593c..3d04824 100644
--- a/features.c
+++ b/features.c
@@ -1,5 +1,5 @@
/*
- * $Id: features.c,v 1.6 2001/06/16 01:46:07 davej Exp $
+ * $Id: features.c,v 1.7 2001/09/07 09:29:21 davej Exp $
* This file is part of x86info
* (C) 2001 Dave Jones.
*
@@ -73,7 +73,8 @@ void decode_feature_flags (struct cpudata *cpu, int flags)
break;
case VENDOR_CENTAUR:
- if (cpu->model >= 8) /* Only Winchip2 and above */
+ if ((cpu->family==5 && cpu->model >= 8) || /* Only Winchip2 and above */
+ (cpu->family==6)) /* VIA Cyrix III family */
cap_flags[31] = "3dnow";
break;