History log of /external/mesa3d/src/mesa/x86/common_x86.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cfab4ea9c654819c96272a62d7b1664e9038fe91 17-Apr-2015 Tobias Nygren <tnn@NetBSD.org> adjust a couple of ifdefs to handle NetBSD correctly

Acked-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Tobias Nygren <tnn@NetBSD.org>
/external/mesa3d/src/mesa/x86/common_x86.c
f8ed0bbfef7b8e8098cb3263a196689dbd280758 11-Mar-2015 Brian Paul <brianp@vmware.com> mesa: remove _ASMAPI, ASMAPIP

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/x86/common_x86.c
e71a7f8013e540281d17a0aa1aaa3a3051592ac8 28-Feb-2015 Matt Turner <mattst88@gmail.com> mesa: Check return value of __get_cpuid().

The use of the uninitialized_var() macro was to silence an uninitialized
variable warning that I assumed stemmed from gcc being unable to see
inside __get_cpuid() or understand its inline assembly.

In fact, it was because the __get_cpuid() function can fail, and not
initialize its arguments. Instead, check for failure and return early.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/x86/common_x86.c
5980fc35c9e2e25a5a53cb1b38245ad763885cca 22-Sep-2014 Matt Turner <mattst88@gmail.com> mesa: Drop _mesa_getenv() wrapper.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/mesa3d/src/mesa/x86/common_x86.c
b0b9871f6970f04c40735b968640a5a6bd1ca2bf 04-Aug-2014 Brian Paul <brianp@vmware.com> mesa/x86: put code in braces to silence declarations after code warning

Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/x86/common_x86.c
f0748b50146ed3cda77c625efea67b1b032e7737 26-May-2014 Vinson Lee <vlee@freedesktop.org> mesa/x86: Fix build with clang <= 3.3.

clang <= 3.3 cpuid.h does not define contants for feature bits.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79095
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
/external/mesa3d/src/mesa/x86/common_x86.c
94dbc16dc4c1b7685a9dab89a39e8fea844194df 23-May-2014 José Fonseca <jfonseca@vmware.com> mesa/x86: Fix build with clang 3.4.

It defines bit_SSE41 instead of bit_SSE4_1.

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=79095

Trivial.
/external/mesa3d/src/mesa/x86/common_x86.c
f50361cce79beb78119d835b7a52c0c790d74077 23-May-2014 Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de> mesa/x86: fix a typos in SSE4.1 detection

Commit a2fb71e23 introduced 32-bit code for SSE4.1. Fix compilation, and
make sure to check ecx for the SSE4.1 bit.

[imirkin: switch sse4.1 to look at ecx]
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/x86/common_x86.c
cfec135de7f604ffe14f7a7a78157697911519ec 22-May-2014 José Fonseca <jfonseca@vmware.com> mesa: Rely on USE_X86_64_ASM.

This fixes MinGW x64 builds. We don't use assembly on any of the
Windows builds, to avoid divergence between MSVC and MinGW when testing.

Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/x86/common_x86.c
a9bc85f3b21e8d1b2640933b3c9e0a8fe3b4b9c6 22-May-2014 Matt Turner <mattst88@gmail.com> mesa/x86: Brown bag fix for undeclared variable.
/external/mesa3d/src/mesa/x86/common_x86.c
a2fb71e23bced3f3585e91726590efe6034a10ed 02-May-2014 Matt Atwood <matthew.s.atwood@intel.com> mesa/x86: add SSE4.1 runtime detection.

Add a bit to _mesa_x86_features for SSE 4.1, along with macros to query.

Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/x86/common_x86.c
8b9302f2b4b0536abb91cb73682ec13640fe9eaf 02-May-2014 Matt Turner <mattst88@gmail.com> mesa/x86: Support SSE 4.1 detection on x86-64.

Uses the cpuid.h header provided by gcc and clang. Other platforms are
encouraged to switch.
/external/mesa3d/src/mesa/x86/common_x86.c
3998cfa933dcd9134b75d9f0ae2c9cfcd6f2ee45 05-Jun-2013 Rico Schüller <kgbricola@web.de> mesa: remove outdated version lines in comments

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/x86/common_x86.c
3d8d5b298a268b119d840bc9bae0ee9e0c9244a9 21-Apr-2013 Kenneth Graunke <kenneth@whitecape.org> mesa: Restore 78-column wrapping of license text in C-style comments.

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 <brianp@vmware.com>
/external/mesa3d/src/mesa/x86/common_x86.c
96ff2edc73ccf11d4d198ba3665507f73ae4a9f7 21-Apr-2013 Kenneth Graunke <kenneth@whitecape.org> mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability.

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 <brianp@vmware.com>
/external/mesa3d/src/mesa/x86/common_x86.c
dd404bc94f78a1766527becee03f8ef6ae3a799b 21-Apr-2013 Kenneth Graunke <kenneth@whitecape.org> mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text.

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 <brianp@vmware.com>
/external/mesa3d/src/mesa/x86/common_x86.c
17a574d7cd8c541c902cc0da40362a32d965e77b 05-Sep-2012 Vinson Lee <vlee@freedesktop.org> Use the correct macro _WIN32 for Windows.

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 <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/x86/common_x86.c
9ea2a3af9c3e150e212f2bcbb23ae05b4779d702 18-Sep-2010 Vinson Lee <vlee@vmware.com> x86: Silence unused variable warning on Mac OS X.

Silences the following GCC warning on Mac OS X.
x86/common_x86.c:58: warning: 'detection_debug' defined but not used
/external/mesa3d/src/mesa/x86/common_x86.c
aa2f55883b9a4e8a192c5dcc97ae7fdab2a33e0a 26-Aug-2010 Eric Anholt <eric@anholt.net> mesa: Disable the debug spam for x86 CPU detection with a compile-time flag.

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.
/external/mesa3d/src/mesa/x86/common_x86.c
7af8f7f164dba479de25aed835c890db39351d8d 26-Aug-2010 Eric Anholt <eric@anholt.net> mesa: Move the x86 detection debug messages next to the detection.
/external/mesa3d/src/mesa/x86/common_x86.c
16d72437eac3ea9c557424edfc98cd664f4c4ed3 05-Mar-2009 Brian Paul <brianp@vmware.com> mesa: _mesa_get_x86_features() only needs to do its thing once
/external/mesa3d/src/mesa/x86/common_x86.c
c751224b0acd457d99cead45616980fec7ef78f1 04-Mar-2009 Brian Paul <brianp@vmware.com> mesa: refactor x86 code

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.
/external/mesa3d/src/mesa/x86/common_x86.c
bbd287103dad776d8a45c87c4e51fbc26d9b80d5 18-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: prefix a bunch of #include lines with "main/".

This is another step toward removing a whole bunch of -I flags from
the cc commands. Still need to address driver code...
/external/mesa3d/src/mesa/x86/common_x86.c
f49d345a51bb208fee19fc25762bcdb0e7f67174 17-Jul-2008 Brad Smith <brad@comstyle.com> mesa: added checks for OpenBSD
/external/mesa3d/src/mesa/x86/common_x86.c
ece7183ff1b1bba1ae8e41b143e2ccbc38376dc3 16-Jul-2008 Blair Sadewitz <blair.sadewitz@gmail.com> mesa: added test for __NetBSD__
/external/mesa3d/src/mesa/x86/common_x86.c
89f070b3bbb86204306857b8cf690abbd56a939d 05-Jun-2007 Michel Dänzer <michel@tungstengraphics.com> Remove dubious compile-time test for pre-2.4 Linux kernels.

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.
/external/mesa3d/src/mesa/x86/common_x86.c
663a3e9ba700c832bfaea1f2131a37c5505d1c25 06-Apr-2007 George Sapountzis <gsap7@yahoo.gr> Drop the funky SSE exception test on linux.

Replace the check for IN_DRI_DRIVER with the appropriate kernel version check
and just disable SSE on older (pre 2.4) kernels.
/external/mesa3d/src/mesa/x86/common_x86.c
3a5ec72125075cbb59eda5c6ed6672524f4b48b3 11-Apr-2006 Brian Paul <brian.paul@tungstengraphics.com> use _mesa_debug() instead of message() - fixes poor formatting of output
/external/mesa3d/src/mesa/x86/common_x86.c
b3aefd1cfb6aacd1695c52911dd39da50d893ece 19-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> additional wrapper updates, bug 4468
/external/mesa3d/src/mesa/x86/common_x86.c
c39bf5e273a4995a279ae2af59fc29e06ab47e29 24-Jul-2005 Ian Romanick <idr@us.ibm.com> All elements of pre-DRI_NEW_INTERFACE_ONLY are removed. This allows
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.
/external/mesa3d/src/mesa/x86/common_x86.c
59c2e16e755c0cba78b27525681cd79456a2f496 19-Jan-2005 Daniel Borca <dborca@users.sourceforge.net> There is no point trying to detect SSE at all, when MESA_NO_SSE is defined. I am committing this because the current WIN32 SSE detection code crashes UnrealTournament2003.
/external/mesa3d/src/mesa/x86/common_x86.c
eaf2b170fffbd573ca8482a7dfa30af24f39a4a1 10-Jan-2005 Brian Paul <brian.paul@tungstengraphics.com> Windows/ReactOS patch (Gregor Anich)
/external/mesa3d/src/mesa/x86/common_x86.c
38b317d508a2a3a4cc6d700ebca80c3b06c913e2 14-Dec-2004 Alan Hourihane <alanh@tungstengraphics.com> uint*t -> u_int*t changes
/external/mesa3d/src/mesa/x86/common_x86.c
81f67fc4e9621f08f46c8219f5ab5dc5c329b146 13-Oct-2004 Ian Romanick <idr@us.ibm.com> Eliminate the funky SSE exception test from DRI builds. It's not need
(see the comment in the code), and it's just annoying.
/external/mesa3d/src/mesa/x86/common_x86.c
462183fe4cb6df6d90632d9e2cee881c8d26b1cb 26-Apr-2004 Alan Hourihane <alanh@tungstengraphics.com> bring over build fixes from stable branch
/external/mesa3d/src/mesa/x86/common_x86.c
20c831bb899301642e3b7f808315459a6126e731 02-Feb-2004 Brian Paul <brian.paul@tungstengraphics.com> s/getenv/_mesa_getenv/
/external/mesa3d/src/mesa/x86/common_x86.c
bd09d49eb4c6b7e14b7ba68d83fd556976724fa5 09-Jan-2004 Brian Paul <brian.paul@tungstengraphics.com> re-enable SSE code, except for the _mesa_sse_transform_points4_identity() function. Use the x86 version instead
/external/mesa3d/src/mesa/x86/common_x86.c
85138fa443f5d50fa54b3b154a208ec86075d668 06-Jan-2004 Keith Whitwell <keith@tungstengraphics.com> Add comment regarding sse disable
/external/mesa3d/src/mesa/x86/common_x86.c
20caac0967dbe73306d1f130bea561be411fc067 06-Jan-2004 Keith Whitwell <keith@tungstengraphics.com> SSE segfaults in conform - disable for now.
/external/mesa3d/src/mesa/x86/common_x86.c
164c703e98e5e2e195b6ca124a8a91913645a6ab 04-Dec-2003 Alan Hourihane <alanh@tungstengraphics.com> build fixes
/external/mesa3d/src/mesa/x86/common_x86.c
ae0eaf93e092ac8e8b1c98f3e986de96940663fa 24-Nov-2003 Keith Whitwell <keith@tungstengraphics.com> Merge vtx-0-2-branch
/external/mesa3d/src/mesa/x86/common_x86.c
c329e5a3d81a56437de4e19fec1de3eca2a1afb7 22-Oct-2003 Kendall Bennett <KendallB@scitechsoft.com> Updates to SSE assembler support for Open Watcom
/external/mesa3d/src/mesa/x86/common_x86.c
9b77fb7dab3fd4e4a9228e5c0609cc494aa01211 15-Oct-2003 Kendall Bennett <KendallB@scitechsoft.com> Updates to x86 assembler support for Open Watcom and SNAP
/external/mesa3d/src/mesa/x86/common_x86.c
c0f1a69a96e0101d4e49028333e2984fd650c0c8 04-Feb-2003 Brian Paul <brian.paul@tungstengraphics.com> print debug message when SSE is disabled by user (Klaus Neiderkrueger)
/external/mesa3d/src/mesa/x86/common_x86.c
068a4812fc1d9e321aa65a91ceb8bc824bedc69a 21-Jan-2003 Brian Paul <brian.paul@tungstengraphics.com> new X86 CPU detection code (Petr Sebor)
/external/mesa3d/src/mesa/x86/common_x86.c
62d821786c2b80f6b2a663f106a39e69116b02d5 13-Nov-2002 Brian Paul <brian.paul@tungstengraphics.com> include imports.h
/external/mesa3d/src/mesa/x86/common_x86.c
902d2faadf37a5627ab2cbcd8993825c8749ec82 11-Jul-2002 Brian Paul <brian.paul@tungstengraphics.com> applied Eric Anholt's patch for Athlon SSE
/external/mesa3d/src/mesa/x86/common_x86.c
4e9676fb13f60ecdbc247b120031f18cd3febcb0 29-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.
Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
/external/mesa3d/src/mesa/x86/common_x86.c
0a79baf1bff93718e50a3ba4bad6390ea1cfb01c 09-Apr-2002 Keith Whitwell <keith@tungstengraphics.com> remove dead vertex assembly
/external/mesa3d/src/mesa/x86/common_x86.c
a5455bb374571833080fcbd6728edcba13d45b38 06-Jun-2001 Brian Paul <brian.paul@tungstengraphics.com> test for X86_FXSR_MAGIC to be sure we have the _fpstate.magic field, needed for SSE signal handler
/external/mesa3d/src/mesa/x86/common_x86.c
1b2fef5c28a40cd001598071e25b876ad4fccdd1 29-Mar-2001 Gareth Hughes <gareth@valinux.com> Consolidation of asm code in 3.5
/external/mesa3d/src/mesa/x86/common_x86.c
0a59ca6cae6ef24990f1c41c8c7857214489443c 28-Mar-2001 Gareth Hughes <gareth@valinux.com> 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.
/external/mesa3d/src/mesa/x86/common_x86.c
2a938d3ab79e7d1e2ee80478743d970c8b3c5cf9 12-Mar-2001 Gareth Hughes <gareth@valinux.com> Undo -D_POSIX_SOURCE change, fix the way the katmai support test is
done.
/external/mesa3d/src/mesa/x86/common_x86.c
a11c0bcf97b00c93dbb156523ace86b9b19b74ba 05-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> replaced gl_test_os_katmai*() with _mesa_test_os_katmai*()
/external/mesa3d/src/mesa/x86/common_x86.c
865322f931197c5c73c57b366b64300894565dab 03-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> more clean-ups
/external/mesa3d/src/mesa/x86/common_x86.c
08836341788a9f9d638d9dc8328510ccd18ddeb5 03-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> lots of gl_*() to _mesa_*() namespace clean-up
/external/mesa3d/src/mesa/x86/common_x86.c
ab9e273c75e2d752e5027f7790480120c672ce01 07-Dec-2000 Gareth Hughes <gareth@valinux.com> Allow operating system SSE support test to be overridden with an
environment variable.
/external/mesa3d/src/mesa/x86/common_x86.c
2ac44e2509dff861d50239d3248c60bf08f3ed92 06-Dec-2000 Gareth Hughes <gareth@valinux.com> Merge Mesa 3.4 test for operating system support for SSE.
/external/mesa3d/src/mesa/x86/common_x86.c
fc2427e81b1c648550d0368652d6a475df785027 23-Oct-2000 Gareth Hughes <gareth@valinux.com> Major audit of all Mesa's x86 assembly code. This round is basically
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.
/external/mesa3d/src/mesa/x86/common_x86.c
d8aec9b55b0180384e96cddff48fc48751bbc320 25-Jan-2000 Brian Paul <brian.paul@tungstengraphics.com> only print info if MESA_DEBUG is set
/external/mesa3d/src/mesa/x86/common_x86.c
6630e2be01f41fb3b0fdf815e00a82d8e980f116 18-Nov-1999 Andre Werthmann <wertmann@cs.uni-potsdam.de> checked in the first new PIII vertex-transformation code
/external/mesa3d/src/mesa/x86/common_x86.c
da54ffc852996f94dcf46b0cdc40c5ff12b55496 03-Sep-1999 Keith Whitwell <keith@tungstengraphics.com> more bugfixes
/external/mesa3d/src/mesa/x86/common_x86.c
4f738b4c1010ddf2e1dc404c198137abeef117d4 28-Aug-1999 Josh Vanderhoof <joshv@users.sourceforge.net> features weren
/external/mesa3d/src/mesa/x86/common_x86.c
2be79c1aa2c168b7ecfb8289ce462ffb1de935eb 26-Aug-1999 Keith Whitwell <keith@tungstengraphics.com> various pipeline bugs
/external/mesa3d/src/mesa/x86/common_x86.c
afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1c 19-Aug-1999 jtg <jtg> Initial revision
/external/mesa3d/src/mesa/x86/common_x86.c