summaryrefslogtreecommitdiff
path: root/src/mesa/x86
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2002-04-09 14:58:03 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2002-04-09 14:58:03 +0000
commit0a79baf1bff93718e50a3ba4bad6390ea1cfb01c (patch)
treeb2571edd9cf53c6561a3576606c74bf64feb683b /src/mesa/x86
parent851de7ded1e16aa0360ef290ec342c66463b25b2 (diff)
remove dead vertex assembly
Diffstat (limited to 'src/mesa/x86')
-rw-r--r--src/mesa/x86/3dnow.c15
-rw-r--r--src/mesa/x86/3dnow.h3
-rw-r--r--src/mesa/x86/common_x86.c25
-rw-r--r--src/mesa/x86/common_x86_asm.h3
-rw-r--r--src/mesa/x86/sse.c19
-rw-r--r--src/mesa/x86/sse.h3
-rw-r--r--src/mesa/x86/x86.c14
-rw-r--r--src/mesa/x86/x86.h3
8 files changed, 8 insertions, 77 deletions
diff --git a/src/mesa/x86/3dnow.c b/src/mesa/x86/3dnow.c
index 79fe87985d..2742de6616 100644
--- a/src/mesa/x86/3dnow.c
+++ b/src/mesa/x86/3dnow.c
@@ -1,4 +1,4 @@
-/* $Id: 3dnow.c,v 1.20 2001/11/19 13:52:41 keithw Exp $ */
+/* $Id: 3dnow.c,v 1.21 2002/04/09 14:58:03 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -31,7 +31,6 @@
#include "glheader.h"
#include "context.h"
-#include "math/m_vertices.h"
#include "math/m_xform.h"
#include "tnl/t_context.h"
@@ -91,16 +90,4 @@ void _mesa_init_3dnow_transform_asm( void )
#endif
}
-void _mesa_init_3dnow_vertex_asm( void )
-{
-#ifdef USE_3DNOW_ASM
- _mesa_xform_points3_v16_general = _mesa_v16_3dnow_general_xform;
-
- _mesa_project_v16 = _mesa_3dnow_project_vertices;
- _mesa_project_clipped_v16 = _mesa_3dnow_project_clipped_vertices;
-#ifdef DEBUG_NOT
- _math_test_all_vertex_functions( "3DNow!" );
-#endif
-#endif
-}
diff --git a/src/mesa/x86/3dnow.h b/src/mesa/x86/3dnow.h
index de7c6d8f6b..1f2fd8e8b4 100644
--- a/src/mesa/x86/3dnow.h
+++ b/src/mesa/x86/3dnow.h
@@ -1,4 +1,4 @@
-/* $Id: 3dnow.h,v 1.5 2001/03/28 20:44:43 gareth Exp $ */
+/* $Id: 3dnow.h,v 1.6 2002/04/09 14:58:03 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -35,6 +35,5 @@
#include "math/m_xform.h"
void _mesa_init_3dnow_transform_asm( void );
-void _mesa_init_3dnow_vertex_asm( void );
#endif
diff --git a/src/mesa/x86/common_x86.c b/src/mesa/x86/common_x86.c
index ba3a54ca4b..30d70d233c 100644
--- a/src/mesa/x86/common_x86.c
+++ b/src/mesa/x86/common_x86.c
@@ -1,4 +1,4 @@
-/* $Id: common_x86.c,v 1.16 2001/06/06 18:12:35 brianp Exp $ */
+/* $Id: common_x86.c,v 1.17 2002/04/09 14:58:03 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -273,26 +273,3 @@ void _mesa_init_all_x86_transform_asm( void )
#endif
}
-/* Note: the above function must be called before this one, so that
- * _mesa_x86_cpu_features gets correctly initialized.
- */
-void _mesa_init_all_x86_vertex_asm( void )
-{
-#ifdef USE_X86_ASM
- if ( _mesa_x86_cpu_features ) {
- _mesa_init_x86_vertex_asm();
- }
-
-#ifdef USE_3DNOW_ASM
- if ( cpu_has_3dnow && getenv( "MESA_NO_3DNOW" ) == 0 ) {
- _mesa_init_3dnow_vertex_asm();
- }
-#endif
-
-#ifdef USE_SSE_ASM
- if ( cpu_has_xmm && getenv( "MESA_NO_SSE" ) == 0 ) {
- _mesa_init_sse_vertex_asm();
- }
-#endif
-#endif
-}
diff --git a/src/mesa/x86/common_x86_asm.h b/src/mesa/x86/common_x86_asm.h
index ba965e6c08..c5c2667e51 100644
--- a/src/mesa/x86/common_x86_asm.h
+++ b/src/mesa/x86/common_x86_asm.h
@@ -1,4 +1,4 @@
-/* $Id: common_x86_asm.h,v 1.8 2001/03/29 06:46:16 gareth Exp $ */
+/* $Id: common_x86_asm.h,v 1.9 2002/04/09 14:58:03 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -60,6 +60,5 @@
extern int _mesa_x86_cpu_features;
extern void _mesa_init_all_x86_transform_asm( void );
-extern void _mesa_init_all_x86_vertex_asm( void );
#endif
diff --git a/src/mesa/x86/sse.c b/src/mesa/x86/sse.c
index bcabf5ca1d..8e995c80c3 100644
--- a/src/mesa/x86/sse.c
+++ b/src/mesa/x86/sse.c
@@ -1,4 +1,4 @@
-/* $Id: sse.c,v 1.2 2001/03/30 14:44:43 gareth Exp $ */
+/* $Id: sse.c,v 1.3 2002/04/09 14:58:03 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -31,7 +31,6 @@
#include "glheader.h"
#include "context.h"
-#include "math/m_vertices.h"
#include "math/m_xform.h"
#include "tnl/t_context.h"
@@ -118,19 +117,3 @@ void _mesa_init_sse_transform_asm( void )
#endif
}
-void _mesa_init_sse_vertex_asm( void )
-{
-#ifdef USE_SSE_ASM
- _mesa_xform_points3_v16_general = _mesa_v16_sse_general_xform;
-#if 0
- /* GH: These are broken. I'm fixing them now.
- */
- _mesa_project_v16 = _mesa_sse_project_vertices;
- _mesa_project_clipped_v16 = _mesa_sse_project_clipped_vertices;
-#endif
-
-#ifdef DEBUG_NOT
- _math_test_all_vertex_functions( "SSE" );
-#endif
-#endif
-}
diff --git a/src/mesa/x86/sse.h b/src/mesa/x86/sse.h
index 3ed1a95892..98146a9047 100644
--- a/src/mesa/x86/sse.h
+++ b/src/mesa/x86/sse.h
@@ -1,4 +1,4 @@
-/* $Id: sse.h,v 1.1 2001/03/29 06:46:16 gareth Exp $ */
+/* $Id: sse.h,v 1.2 2002/04/09 14:58:03 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -35,6 +35,5 @@
#include "math/m_xform.h"
void _mesa_init_sse_transform_asm( void );
-void _mesa_init_sse_vertex_asm( void );
#endif
diff --git a/src/mesa/x86/x86.c b/src/mesa/x86/x86.c
index 9d71fe4314..16586b9727 100644
--- a/src/mesa/x86/x86.c
+++ b/src/mesa/x86/x86.c
@@ -1,4 +1,4 @@
-/* $Id: x86.c,v 1.24 2001/05/31 23:06:01 brianp Exp $ */
+/* $Id: x86.c,v 1.25 2002/04/09 14:58:03 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -30,7 +30,6 @@
#include "glheader.h"
#include "context.h"
-#include "math/m_vertices.h"
#include "math/m_xform.h"
#include "tnl/t_context.h"
@@ -95,14 +94,3 @@ void _mesa_init_x86_transform_asm( void )
#endif
}
-void _mesa_init_x86_vertex_asm( void )
-{
-#ifdef USE_X86_ASM
- _mesa_xform_points3_v16_general = _mesa_v16_x86_general_xform;
- _mesa_cliptest_points4_v16 = _mesa_v16_x86_cliptest_points4;
-
-#if 0 /* DEBUG */
- _math_test_all_vertex_functions( "x86" );
-#endif
-#endif
-}
diff --git a/src/mesa/x86/x86.h b/src/mesa/x86/x86.h
index b614780bfc..a646aff46b 100644
--- a/src/mesa/x86/x86.h
+++ b/src/mesa/x86/x86.h
@@ -1,4 +1,4 @@
-/* $Id: x86.h,v 1.4 2001/03/28 20:44:44 gareth Exp $ */
+/* $Id: x86.h,v 1.5 2002/04/09 14:58:03 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -32,6 +32,5 @@
#define __X86_H__
extern void _mesa_init_x86_transform_asm( void );
-extern void _mesa_init_x86_vertex_asm( void );
#endif