remove dead vertex assembly
[mesa.git] / src / mesa / x86 / common_x86_asm.h
1 /* $Id: common_x86_asm.h,v 1.9 2002/04/09 14:58:03 keithw Exp $ */
2
3 /*
4 * Mesa 3-D graphics library
5 * Version: 3.5
6 *
7 * Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
8 *
9 * Permission is hereby granted, free of charge, to any person obtaining a
10 * copy of this software and associated documentation files (the "Software"),
11 * to deal in the Software without restriction, including without limitation
12 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
13 * and/or sell copies of the Software, and to permit persons to whom the
14 * Software is furnished to do so, subject to the following conditions:
15 *
16 * The above copyright notice and this permission notice shall be included
17 * in all copies or substantial portions of the Software.
18 *
19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
20 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
22 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
23 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
24 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 */
26
27 /*
28 * Check CPU capabilities & initialize optimized funtions for this particular
29 * processor.
30 *
31 * Written by Holger Waechtler <holger@akaflieg.extern.tu-berlin.de>
32 * Changed by Andre Werthmann <wertmann@cs.uni-potsdam.de> for using the
33 * new Katmai functions
34 *
35 * Reimplemented by Gareth Hughes <gareth@valinux.com> in a more
36 * future-proof manner, based on code in the Linux kernel.
37 */
38
39 #ifndef __COMMON_X86_ASM_H__
40 #define __COMMON_X86_ASM_H__
41
42 /* Do not reference mtypes.h from this file.
43 */
44 #include "common_x86_features.h"
45
46 #ifdef HAVE_CONFIG_H
47 #include "conf.h"
48 #endif
49
50 #ifdef USE_X86_ASM
51 #include "x86.h"
52 #ifdef USE_3DNOW_ASM
53 #include "3dnow.h"
54 #endif
55 #ifdef USE_SSE_ASM
56 #include "sse.h"
57 #endif
58 #endif
59
60 extern int _mesa_x86_cpu_features;
61
62 extern void _mesa_init_all_x86_transform_asm( void );
63
64 #endif