From 0a59ca6cae6ef24990f1c41c8c7857214489443c Mon Sep 17 00:00:00 2001 From: Gareth Hughes Date: Wed, 28 Mar 2001 20:44:43 +0000 Subject: New type system for assembly code. Asm files should now include matypes.h, which includes assyntax.h and is generated from the core Mesa header files. --- src/mesa/x86/common_x86_features.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/mesa/x86/common_x86_features.h') diff --git a/src/mesa/x86/common_x86_features.h b/src/mesa/x86/common_x86_features.h index f8c7b2ab7b..c70e6e8803 100644 --- a/src/mesa/x86/common_x86_features.h +++ b/src/mesa/x86/common_x86_features.h @@ -1,10 +1,10 @@ -/* $Id: common_x86_features.h,v 1.3 2001/03/03 21:11:32 brianp Exp $ */ +/* $Id: common_x86_features.h,v 1.4 2001/03/28 20:44:44 gareth Exp $ */ /* * Mesa 3-D graphics library * Version: 3.5 * - * Copyright (C) 1999 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -63,7 +63,7 @@ #define X86_FEATURE_MMX 0x00800000 #define X86_FEATURE_FXSR 0x01000000 #define X86_FEATURE_XMM 0x02000000 -#define X86_FEATURE_26 0x04000000 +#define X86_FEATURE_XMM2 0x04000000 #define X86_FEATURE_27 0x08000000 #define X86_FEATURE_28 0x10000000 #define X86_FEATURE_29 0x20000000 @@ -71,7 +71,10 @@ #define X86_FEATURE_3DNOW 0x80000000 #define cpu_has_mmx (_mesa_x86_cpu_features & X86_FEATURE_MMX) +#define cpu_has_mmxext (_mesa_x86_cpu_features & X86_FEATURE_MMXEXT) #define cpu_has_xmm (_mesa_x86_cpu_features & X86_FEATURE_XMM) +#define cpu_has_xmm2 (_mesa_x86_cpu_features & X86_FEATURE_XMM2) #define cpu_has_3dnow (_mesa_x86_cpu_features & X86_FEATURE_3DNOW) +#define cpu_has_3dnowext (_mesa_x86_cpu_features & X86_FEATURE_3DNOWEXT) #endif -- cgit v1.2.3