summaryrefslogtreecommitdiffstats
path: root/src/mesa/x86/common_x86.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: remove outdated version lines in commentsRico Schüller2013-06-051-1/+0
| | | | Signed-off-by: Brian Paul <[email protected]>
* mesa: Restore 78-column wrapping of license text in C-style comments.Kenneth Graunke2013-04-231-3/+4
| | | | | | | | | | | | | | The previous commit introduced extra words, breaking the formatting. This text transformation was done automatically via the following shell command: $ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript where 'vimscript' is a file containing: /THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/\*\// !fmt -w 78 -p ' * ' :wq Reviewed-by: Brian Paul <[email protected]>
* mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability.Kenneth Graunke2013-04-231-1/+1
| | | | | | | | | | | | | | | This brings the license text in line with the MIT License as published on the Open Source Initiative website: http://opensource.org/licenses/mit-license.php Generated automatically be the following shell command: $ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {} This introduces some wrapping issues, to be fixed in the next commit. Reviewed-by: Brian Paul <[email protected]>
* mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text.Kenneth Graunke2013-04-231-1/+1
| | | | | | | | | | | | | | | | Generated automatically be the following shell command: $ git grep 'BRIAN PAUL BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/BRIAN PAUL/THE AUTHORS/' {} The intention here is to protect all authors, not just Brian Paul. I believe that was already the sensible interpretation, but spelling it out is probably better. More practically, it also prevents people from accidentally copy & pasting the license into a new file which says Brian is not liable when he isn't even one of the authors. Reviewed-by: Brian Paul <[email protected]>
* Use the correct macro _WIN32 for Windows.Vinson Lee2012-09-051-3/+3
| | | | | | | | | | | | | | The correct predefined macro for Windows is _WIN32, not WIN32 or __WIN32__. _WIN32 is defined for 32-bit and 64-bit version of Windows by both MSVC and MinGW compilers. http://sourceforge.net/p/predef/wiki/OperatingSystems http://msdn.microsoft.com/en-us/library/b0084kay.aspx This patch also fixes a MinGW automake build error. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* x86: Silence unused variable warning on Mac OS X.Vinson Lee2010-09-171-0/+2
| | | | | Silences the following GCC warning on Mac OS X. x86/common_x86.c:58: warning: 'detection_debug' defined but not used
* mesa: Disable the debug spam for x86 CPU detection with a compile-time flag.Eric Anholt2010-08-251-7/+13
| | | | | I don't know of any problems with CPU detection in years. Don't spam the user that was just looking to enable assertions with this stuff.
* mesa: Move the x86 detection debug messages next to the detection.Eric Anholt2010-08-251-0/+35
|
* mesa: _mesa_get_x86_features() only needs to do its thing onceBrian Paul2009-03-041-0/+8
|
* mesa: refactor x86 codeBrian Paul2009-03-041-52/+23
| | | | | | Move _mesa_init_all_x86_transform_asm() into x86.c so that common_x86.c has no dependencies on the vertex transformation code. Plus some comments and clean-ups.
* mesa: prefix a bunch of #include lines with "main/".Brian Paul2008-09-181-1/+1
| | | | | This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
* mesa: added checks for OpenBSDBrad Smith2008-07-171-0/+18
|
* mesa: added test for __NetBSD__Blair Sadewitz2008-07-151-0/+8
|
* Remove dubious compile-time test for pre-2.4 Linux kernels.Michel Dänzer2007-06-051-7/+2
| | | | | | | | LINUX_VERSION_CODE shouldn't be used by userspace code, it can be defined empty these days. If anybody still cares about 2.2 kernels, they should reinstate this as a proper runtime test.
* Drop the funky SSE exception test on linux.George Sapountzis2007-04-061-140/+6
| | | | | Replace the check for IN_DRI_DRIVER with the appropriate kernel version check and just disable SSE on older (pre 2.4) kernels.
* use _mesa_debug() instead of message() - fixes poor formatting of outputBrian Paul2006-04-101-55/+34
|
* additional wrapper updates, bug 4468Brian Paul2005-09-191-1/+1
|
* All elements of pre-DRI_NEW_INTERFACE_ONLY are removed. This allowsIan Romanick2005-07-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1,402 lines of code to be removed from Mesa (drivers and libGL). The big winner is dri_util.c. Primary changes are: 1. Remove all "deprecated" entry-points from the various structures in dri_interface.h. 2. Rename the remaining fields to removed "version numbers." So, bindContext3 becomes bindContext. Functions with "New" in the name (e.g., CreateNewContext) were *not* changed, but that is an option. Having "New" in the name is less annoying to me than having "3" in the name. 3. Remove all compatibility code that handles cases where the driver or the loader is too old to support the latest interfaces. 4. Append the API version to the __driCreateNewScreen function name. This is currently done by hand. In the future (i.e., the next time we make an incompatible change to the interface) we'll want to come up with a better way to do this. This prevents old loaders from being able to load new (incompatible) drivers. 5. Bump the API version to 20050722. All drivers (by way of dri_util.c) require this version. 6. All drivers are *required* to expose GLX_SGIX_fbconfig and GLX_OML_swap_method (or the moral equivalents). Support for these functions in implicit in the use of the "new" interface. 7. Some cases still exist that need to be compiled differently in a loader or core Mesa versus in a driver. These are identified by the define IN_DRI_DRIVER.
* There is no point trying to detect SSE at all, when MESA_NO_SSE is defined. ↵Daniel Borca2005-01-191-6/+8
| | | | I am committing this because the current WIN32 SSE detection code crashes UnrealTournament2003.
* Windows/ReactOS patch (Gregor Anich)Brian Paul2005-01-101-0/+69
|
* uint*t -> u_int*t changesAlan Hourihane2004-12-141-1/+2
|
* Eliminate the funky SSE exception test from DRI builds. It's not needIan Romanick2004-10-131-6/+16
| | | | (see the comment in the code), and it's just annoying.
* bring over build fixes from stable branchAlan Hourihane2004-04-261-1/+1
|
* s/getenv/_mesa_getenv/Brian Paul2004-02-021-11/+9
|
* re-enable SSE code, except for the _mesa_sse_transform_points4_identity() ↵Brian Paul2004-01-091-4/+2
| | | | function. Use the x86 version instead
* Add comment regarding sse disableKeith Whitwell2004-01-061-0/+2
|
* SSE segfaults in conform - disable for now.Keith Whitwell2004-01-061-2/+2
|
* build fixesAlan Hourihane2003-12-041-1/+0
|
* Merge vtx-0-2-branchKeith Whitwell2003-11-241-1/+0
|
* Updates to SSE assembler support for Open WatcomKendall Bennett2003-10-211-2/+2
|
* Updates to x86 assembler support for Open Watcom and SNAPKendall Bennett2003-10-141-9/+7
|
* print debug message when SSE is disabled by user (Klaus Neiderkrueger)Brian Paul2003-02-041-1/+2
|
* new X86 CPU detection code (Petr Sebor)Brian Paul2003-01-211-3/+85
|
* include imports.hBrian Paul2002-11-131-3/+4
|
* applied Eric Anholt's patch for Athlon SSEBrian Paul2002-07-111-2/+14
|
* Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.Brian Paul2002-06-291-1/+2
| | | | Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
* remove dead vertex assemblyKeith Whitwell2002-04-091-24/+1
|
* test for X86_FXSR_MAGIC to be sure we have the _fpstate.magic field, needed ↵Brian Paul2001-06-061-5/+5
| | | | for SSE signal handler
* Consolidation of asm code in 3.5Gareth Hughes2001-03-291-18/+18
|
* New type system for assembly code. Asm files should now includeGareth Hughes2001-03-281-3/+2
| | | | | matypes.h, which includes assyntax.h and is generated from the core Mesa header files.
* Undo -D_POSIX_SOURCE change, fix the way the katmai support test isGareth Hughes2001-03-121-2/+2
| | | | done.
* replaced gl_test_os_katmai*() with _mesa_test_os_katmai*()Brian Paul2001-03-051-5/+5
|
* more clean-upsBrian Paul2001-03-031-13/+13
|
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-031-10/+10
|
* Allow operating system SSE support test to be overridden with anGareth Hughes2000-12-071-2/+2
| | | | environment variable.
* Merge Mesa 3.4 test for operating system support for SSE.Gareth Hughes2000-12-061-5/+177
|
* Major audit of all Mesa's x86 assembly code. This round is basicallyGareth Hughes2000-10-231-44/+65
| | | | | | | | general cleanups - more to come. Added P6 architecture timing to debug_xform routines. Still need to add test_all_vertex_functions test for the v16 asm. Dynamic reconfiguration of counter overhead for more accurate benchmarking.
* only print info if MESA_DEBUG is setBrian Paul2000-01-251-8/+15
|
* checked in the first new PIII vertex-transformation codeAndre Werthmann1999-11-181-2/+17
|
* more bugfixesKeith Whitwell1999-09-031-1/+7
|