summaryrefslogtreecommitdiffstats
path: root/src/mesa/x86-64
Commit message (Collapse)AuthorAgeFilesLines
* mesa: add support for CET to x86/x86-64 asm files.Dave Airlie2019-08-161-6/+13
| | | | | | | | | | | | | Control-flow enforcement technology is a new instructions on x86 processors to denote where indirect jumps can land. Gcc auto adds the instruction (which encodes as a NOP on older CPUs) to entrypoints but assembler files need manual adding. This adds it to all the entry points in the mesa x86/x86-64 assembler files. This will only happen if mesa is built with the -fcf-protection flag to gcc as some distros are wanting to do. Acked-by: Eric Anholt <[email protected]>
* mesa: Replace gen_matypes with a simple header for V4F/mat layout.Eric Anholt2019-07-011-1/+2
| | | | | | | | We can greatly simplify our builds by just hardcoding GLvector4f and GLmatrix's layouts. Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
* mesa: Use SSE prefetch instructions rather than 3DNow instructionsPatrick Baggett2016-02-041-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" <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]> Tested-by: Timothy Arceri <[email protected]> https://bugs.freedesktop.org/show_bug.cgi?id=27512
* x86-64: Remove calling_convention.txt.Matt Turner2014-12-121-50/+0
| | | | It just details the x86-64 calling convention. No need for this in Mesa.
* mesa: Drop _mesa_getenv() wrapper.Matt Turner2014-09-241-2/+2
| | | | | | Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Jose Fonseca <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
* build: Build gen_matypes and matypes.h from src/mesa.Matt Turner2013-11-072-51/+0
| | | | Reviewed-by: Eric Anholt <[email protected]>
* gen_matypes: fix cross-compiling with gccMike Frysinger2013-07-181-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 <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
* mesa: remove outdated version lines in commentsRico Schüller2013-06-053-3/+0
| | | | Signed-off-by: Brian Paul <[email protected]>
* build: remove unused API_DEFINESAndreas Boll2013-05-011-1/+0
| | | | Reviewed-by: Matt Turner <[email protected]>
* mesa: Restore 78-column wrapping of license text in C-style comments.Kenneth Graunke2013-04-233-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 <[email protected]>
* mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability.Kenneth Graunke2013-04-233-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 <[email protected]>
* mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text.Kenneth Graunke2013-04-233-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 <[email protected]>
* Clean up .gitignore filesMatt Turner2013-01-101-1/+0
|
* automake: add missing inclusion of GL headersLaurent Carlier2012-06-221-0/+1
| | | | | | | Building fail when GL headers are not installed in the system, so add inclusion of these headers. Signed-off-by: Brian Paul <[email protected]>
* automake: Convert gen_matypes building to automake.Eric Anholt2012-06-213-28/+42
|
* x86-64: Don't print "Initializing x86-64 optimizations" in debug builds.Kenneth Graunke2012-04-091-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 <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* x86-64: Fix compile error with clangChad Versace2011-08-111-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 <[email protected]> Signed-off-by: Chad Versace <[email protected]>
* mesa: s/movzx/movzbl/Dimitry Andric2011-01-241-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 <[email protected]>
* glapi: Move to src/mapi/.Chia-I Wu2010-05-071-1/+0
| | | | Move glapi to src/mapi/{glapi,es1api,es2api}.
* glapi: Move assembly dispatchers back into glapi/.Chia-I Wu2010-05-071-31286/+0
|
* x86-64: Make assembly routines .hidden like on x86Adam Jackson2010-04-301-0/+8
|
* glapi: regenerated files for GL_ARB_draw_instancedBrian Paul2010-04-041-1728/+1822
|
* glapi: regenerated files for EXT_transform_feedbackBrian Paul2010-04-021-79/+368
|
* APPLE_object_purgeable: autogenerated filesChris Wilson2010-03-041-38/+157
|
* Remove support for GCC older than 3.3.0 from generated sourcesIan Romanick2010-03-031-1/+1
| | | | Signed-off-by: Ian Romanick <[email protected]>
* glapi: drop SOLARIS_THREADSGeorge Sapountzis2010-03-011-1/+1
| | | | It seems that SOLARIS_THREADS is not used and does not work.
* glapi: GL_OES_EGL_image autogenerated filesKristian Høgsberg2010-02-241-0/+74
|
* Merge branch 'master' into opengl-es-v2Chia-I Wu2010-01-121-66/+363
|\ | | | | | | | | Conflicts: src/mesa/main/dd.h
| * mesa: added dispatch for GL_NV_conditional_render extensionBrian Paul2009-12-311-50/+116
| |
| * mesa: regenerate API files related to GL_EXT_draw_buffers2Brian Paul2009-12-291-66/+296
| |
| * ARB_fbo: Regenerate files from previous commits.Ian Romanick2009-11-171-0/+1
| |
* | glapi: Include headers with directory prefixes.Chia-I Wu2009-11-051-1/+1
|/ | | | | | This allows different sets of generated sources and headers to be used. Signed-off-by: Chia-I Wu <[email protected]>
* glapi: regenerated filesBrian Paul2009-09-191-0/+1
|
* glapi: Add ARB_draw_elements_base_vertexEric Anholt2009-09-081-1036/+1187
|
* ARB sync: Regenerate files from previous commitIan Romanick2009-09-031-1061/+1312
|
* Regenerate files for GL_APPLE_flush_buffer_rangeIan Romanick2009-08-141-53/+205
|
* glapi: regenerated GL API assembly filesRALOVICH, Kristóf2009-07-271-1/+1
|
* mesa: regenerated files related to GL_ARB_vertex_array_objectBrian Paul2009-06-191-1027/+1095
|
* Merge branch 'ext-provoking-vertex'Brian Paul2009-06-191-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
| * mesa: regenerated API files for GL_EXT_provoking_vertexBrian Paul2009-05-281-21/+50
| |
* | mesa: regenerated files for GL_ARB_map_buffer_rangeBrian Paul2009-06-081-1021/+1103
| |
* | glapi: regenerated files for GL_ARB_copy_bufferBrian Paul2009-06-021-983/+1028
|/
* regenerate glapiRoland Scheidegger2009-03-121-279/+427
|
* mesa: rename common_x86_macros.h -> x86_xform.hBrian Paul2009-03-041-1/+1
|
* mesa: regenerated GL API filesBrian Paul2009-01-221-966/+1030
|
* Use 3Dnow! x86-64 routines only on processors that support 3Dnow!Ian Romanick2008-09-282-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.
* Remove CVS keywords.Keith Whitwell2008-09-212-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
* mesa: Prefix main includes with dir to avoid conflicts.José Fonseca2008-09-211-2/+2
| | | | Eliminate a couple of differences with gallium-0.2
* mesa: Remove assyntax.h include from generated matypes.h.José Fonseca2008-09-211-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)
* Never fail `make clean'Dan Nicholson2008-05-071-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.