summaryrefslogtreecommitdiff
path: root/src/mesa/x86-64
AgeCommit message (Collapse)AuthorFilesLines
2016-02-04mesa: Use SSE prefetch instructions rather than 3DNow instructionsPatrick Baggett1-20/+20
64-bit Pentium 4 CPUs don't have the 3DNow prefetch instructions which results in an Illegal instruction crash. Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Tested-by: Timothy Arceri <t_arceri@yahoo.com.au> https://bugs.freedesktop.org/show_bug.cgi?id=27512
2014-12-12x86-64: Remove calling_convention.txt.Matt Turner1-50/+0
It just details the x86-64 calling convention. No need for this in Mesa.
2014-09-24mesa: Drop _mesa_getenv() wrapper.Matt Turner1-2/+2
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>
2013-11-07build: Build gen_matypes and matypes.h from src/mesa.Matt Turner2-51/+0
Reviewed-by: Eric Anholt <eric@anholt.net>
2013-07-18gen_matypes: fix cross-compiling with gccMike Frysinger1-0/+10
The current gen_matypes logic assumes that the host compiler will produce information that is useful for the target compiler. Unfortunately, this is not the case whenever cross-compiling. When we detect that we're cross-compiling and using GCC, use the target compiler to produce assembly from the gen_matypes.c source, then process it with a shell script to create a usable header. This is similar to how the linux kernel creates its asm-offsets.c file. Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-06-05mesa: remove outdated version lines in commentsRico Schüller3-3/+0
Signed-off-by: Brian Paul <brianp@vmware.com>
2013-05-01build: remove unused API_DEFINESAndreas Boll1-1/+0
Reviewed-by: Matt Turner <mattst88@gmail.com>
2013-04-23mesa: Restore 78-column wrapping of license text in C-style comments.Kenneth Graunke3-9/+12
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>
2013-04-23mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability.Kenneth Graunke3-3/+3
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>
2013-04-23mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text.Kenneth Graunke3-3/+3
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>
2013-01-10Clean up .gitignore filesMatt Turner1-1/+0
2012-06-22automake: add missing inclusion of GL headersLaurent Carlier1-0/+1
Building fail when GL headers are not installed in the system, so add inclusion of these headers. Signed-off-by: Brian Paul <brianp@vmware.com>
2012-06-21automake: Convert gen_matypes building to automake.Eric Anholt3-28/+42
2012-04-09x86-64: Don't print "Initializing x86-64 optimizations" in debug builds.Kenneth Graunke1-11/+1
In "release" builds, Mesa would print this message if the MESA_DEBUG variable was set. Make it so for debug builds as well. I build debug builds all the time, but I'm not debugging this. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
2011-08-11x86-64: Fix compile error with clangChad Versace1-1/+1
Remove the 'f' suffix from a float literal. - .float 0.0f+1.0 + .float 1.0 This fixes the following compile error with clang: error: unexpected token in directive .float 0.0f+1.0 ^ Note: This is a candidate for the stable branches. Reviewed-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Chad Versace <chad@chad-versace.us>
2011-01-24mesa: s/movzx/movzbl/Dimitry Andric1-7/+7
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=33388 NOTE: This is a candidate for the 7.9 and 7.10 branches. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-05-07glapi: Move to src/mapi/.Chia-I Wu1-1/+0
Move glapi to src/mapi/{glapi,es1api,es2api}.
2010-05-07glapi: Move assembly dispatchers back into glapi/.Chia-I Wu1-31286/+0
2010-04-30x86-64: Make assembly routines .hidden like on x86Adam Jackson1-0/+8
2010-04-04glapi: regenerated files for GL_ARB_draw_instancedBrian Paul1-1728/+1822
2010-04-02glapi: regenerated files for EXT_transform_feedbackBrian Paul1-79/+368
2010-03-04APPLE_object_purgeable: autogenerated filesChris Wilson1-38/+157
2010-03-03Remove support for GCC older than 3.3.0 from generated sourcesIan Romanick1-1/+1
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-01glapi: drop SOLARIS_THREADSGeorge Sapountzis1-1/+1
It seems that SOLARIS_THREADS is not used and does not work.
2010-02-24glapi: GL_OES_EGL_image autogenerated filesKristian Høgsberg1-0/+74
2010-01-12Merge branch 'master' into opengl-es-v2Chia-I Wu1-66/+363
Conflicts: src/mesa/main/dd.h
2009-12-31mesa: added dispatch for GL_NV_conditional_render extensionBrian Paul1-50/+116
2009-12-29mesa: regenerate API files related to GL_EXT_draw_buffers2Brian Paul1-66/+296
2009-11-17ARB_fbo: Regenerate files from previous commits.Ian Romanick1-0/+1
2009-11-05glapi: Include headers with directory prefixes.Chia-I Wu1-1/+1
This allows different sets of generated sources and headers to be used. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-19glapi: regenerated filesBrian Paul1-0/+1
2009-09-08glapi: Add ARB_draw_elements_base_vertexEric Anholt1-1036/+1187
2009-09-03ARB sync: Regenerate files from previous commitIan Romanick1-1061/+1312
2009-08-14Regenerate files for GL_APPLE_flush_buffer_rangeIan Romanick1-53/+205
2009-07-27glapi: regenerated GL API assembly filesRALOVICH, Kristóf1-1/+1
2009-06-19mesa: regenerated files related to GL_ARB_vertex_array_objectBrian Paul1-1027/+1095
2009-06-19Merge branch 'ext-provoking-vertex'Brian Paul1-21/+50
Conflicts: docs/relnotes-7.6.html progs/tests/Makefile src/gallium/drivers/softpipe/sp_prim_vbuf.c src/glx/x11/indirect.c src/mesa/glapi/Makefile src/mesa/glapi/dispatch.h src/mesa/glapi/glapioffsets.h src/mesa/glapi/glapitable.h src/mesa/glapi/glapitemp.h src/mesa/glapi/glprocs.h src/mesa/main/dlist.c src/mesa/main/enums.c src/mesa/sparc/glapi_sparc.S src/mesa/x86-64/glapi_x86-64.S src/mesa/x86/glapi_x86.S
2009-06-08mesa: regenerated files for GL_ARB_map_buffer_rangeBrian Paul1-1021/+1103
2009-06-02glapi: regenerated files for GL_ARB_copy_bufferBrian Paul1-983/+1028
2009-05-28mesa: regenerated API files for GL_EXT_provoking_vertexBrian Paul1-21/+50
2009-03-12regenerate glapiRoland Scheidegger1-279/+427
2009-03-04mesa: rename common_x86_macros.h -> x86_xform.hBrian Paul1-1/+1
2009-01-22mesa: regenerated GL API filesBrian Paul1-966/+1030
2008-09-28Use 3Dnow! x86-64 routines only on processors that support 3Dnow!Ian Romanick2-19/+46
Added an x86-64 CPUID function and use it to detect 3Dnow! If 3Dnow! is available, use _mesa_3dnow_transform_points4_3d_no_rot, _mesa_3dnow_transform_points4_perspective, _mesa_3dnow_transform_points4_2d_no_rot, and _mesa_3dnow_transform_points4_2d. This fixes long standing bug #8724.
2008-09-21Remove CVS keywords.Keith Whitwell2-2/+0
Cherry-picked from gallium-0.1 Conflicts: src/glu/sgi/libnurbs/interface/bezierEval.h src/glu/sgi/libnurbs/interface/bezierPatch.h src/glu/sgi/libnurbs/interface/bezierPatchMesh.h src/glu/sgi/libnurbs/internals/dataTransform.h src/glu/sgi/libnurbs/internals/displaymode.h src/glu/sgi/libnurbs/internals/sorter.h src/glu/sgi/libnurbs/nurbtess/definitions.h src/glu/sgi/libnurbs/nurbtess/directedLine.h src/glu/sgi/libnurbs/nurbtess/gridWrap.h src/glu/sgi/libnurbs/nurbtess/monoChain.h src/glu/sgi/libnurbs/nurbtess/monoPolyPart.h src/glu/sgi/libnurbs/nurbtess/monoTriangulation.h src/glu/sgi/libnurbs/nurbtess/partitionX.h src/glu/sgi/libnurbs/nurbtess/partitionY.h src/glu/sgi/libnurbs/nurbtess/polyDBG.h src/glu/sgi/libnurbs/nurbtess/polyUtil.h src/glu/sgi/libnurbs/nurbtess/primitiveStream.h src/glu/sgi/libnurbs/nurbtess/quicksort.h src/glu/sgi/libnurbs/nurbtess/rectBlock.h src/glu/sgi/libnurbs/nurbtess/sampleComp.h src/glu/sgi/libnurbs/nurbtess/sampleCompBot.h src/glu/sgi/libnurbs/nurbtess/sampleCompRight.h src/glu/sgi/libnurbs/nurbtess/sampleCompTop.h src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.h src/glu/sgi/libnurbs/nurbtess/sampledLine.h src/glu/sgi/libnurbs/nurbtess/searchTree.h src/glu/sgi/libnurbs/nurbtess/zlassert.h src/glu/sgi/libutil/error.c src/glu/sgi/libutil/glue.c src/glu/sgi/libutil/gluint.h src/glu/sgi/libutil/project.c src/glu/sgi/libutil/registry.c src/glx/x11/glxclient.h src/glx/x11/glxext.c src/mesa/drivers/dri/ffb/ffb_dd.h src/mesa/drivers/dri/ffb/ffb_points.h src/mesa/drivers/dri/gamma/gamma_context.h src/mesa/drivers/dri/gamma/gamma_macros.h src/mesa/drivers/dri/i810/i810context.h src/mesa/drivers/dri/r128/r128_dd.h src/mesa/drivers/dri/tdfx/tdfx_dd.h
2008-09-21mesa: Prefix main includes with dir to avoid conflicts.José Fonseca1-2/+2
Eliminate a couple of differences with gallium-0.2
2008-09-21mesa: Remove assyntax.h include from generated matypes.h.José Fonseca1-1/+1
matypes.h doesn't really depend on assyntax.h; assyntax.h is only present on x86; and this way we remove the need of grep being available (which is relevant for scons and non-unix platforms). (cherry picked from commit fc286ff3ba089af5f1aca2d35b93b53a9383b1cf)
2008-05-07Never fail `make clean'Dan Nicholson1-1/+1
Mostly some pedantic changes such that `make clean' always ignores errors. Also changed the top clean target to do the `touch configs/current' dance instead of realclean.
2007-11-09recreate from changed gl_API.xmlRoland Scheidegger1-634/+458
2007-10-30Alias glStencilOpSeparateATI with glStencilOpSeparate.Brian1-46/+0