summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/rtasm/rtasm_x86sse.h
Commit message (Collapse)AuthorAgeFilesLines
* gallium: replace INLINE with inlineIlia Mirkin2015-07-211-2/+2
| | | | | | | | | | | | | | | | Generated by running: git grep -l INLINE src/gallium/ | xargs sed -i 's/\bINLINE\b/inline/g' git grep -l INLINE src/mesa/state_tracker/ | xargs sed -i 's/\bINLINE\b/inline/g' git checkout src/gallium/state_trackers/clover/Doxyfile and manual edits to src/gallium/include/pipe/p_compiler.h src/gallium/README.portability to remove mentions of the inline define. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Acked-by: Marek Olšák <marek.olsak@amd.com>
* rtasm: Cygwin uses the msabi calling convention on x86_64Jon TURNEY2013-10-181-1/+1
| | | | | | | | | | Cygwin also uses the msabi calling convention on x86_64, not the sysvabi calling convention Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Brian Paul <brianp@vmware.com> ignored, and an empty message aborts the commit.
* 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 <brianp@vmware.com>
* 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 <brianp@vmware.com>
* 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 <brianp@vmware.com>
* translate: Respect translate_buffer::max_index.José Fonseca2011-04-011-0/+1
|
* rtasm: Include missing header in rtasm_x86sse.h.Vinson Lee2010-08-261-0/+1
| | | | Include p_compiler.h for stdint.h uint*_t symbols.
* rtasm: add minimal x86-64 support and new instructions (v5)Luca Barbieri2010-08-161-8/+93
| | | | | | | | | | | | | | | | | | | | | | | | Changes in v5: - Add sse2_movdqa Changes in v4: - Use _WIN64 instead of WIN64 Changes in v3: - Add target and target caps functions, so that they could be different in principle from the current CPU and they don't need #ifs to check Changes in v2: - Win64 support (untested) - Use u_cpu_detect.h constants instead of #ifs This commit adds minimal x86-64 support: only movs between registers are supported for r8-r15, and x64_rexw() must be used to ask for 64-bit operations. It also adds several new instructions for the new translate_sse code. movdqa
* translate: add support for 8/16-bit indicesLuca Barbieri2010-08-161-0/+2
| | | | | Currently, only 32-bit indices are supported, but some use cases translate needs support for all types.
* rtasm: fix void * / func * casting warningsBrian Paul2010-05-131-1/+6
|
* rtasm: Fix typos in comments.Vinson Lee2010-03-251-3/+3
|
* rtasm: Add x86_div().Michal Krol2009-12-301-0/+1
|
* rtasm: export sse_movmskpsKeith Whitwell2009-07-161-0/+1
|
* Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell2008-10-101-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/gallivm/instructionssoa.cpp src/gallium/auxiliary/gallivm/soabuiltins.c src/gallium/auxiliary/rtasm/rtasm_x86sse.c src/gallium/auxiliary/rtasm/rtasm_x86sse.h src/mesa/main/texenvprogram.c src/mesa/shader/arbprogparse.c src/mesa/shader/prog_statevars.c src/mesa/state_tracker/st_draw.c src/mesa/vbo/vbo_exec_draw.c
| * rtasm: add sse_movntpsKeith Whitwell2008-10-031-0/+2
| |
| * rtasm: add prefetch instructionsKeith Whitwell2008-10-021-0/+5
| |
* | rtasm: add prefetch instructionsKeith Whitwell2008-10-021-0/+5
| |
* | rtasm: Implement immediate group 1 instructions. Fix SIB emition.José Fonseca2008-09-291-5/+6
|/
* rtasm: Use enum sse_cc in sse_cmpps.José Fonseca2008-06-021-1/+1
|
* Merge branch 'gallium-vertex-linear' into gallium-0.1Jakob Bornecrantz2008-05-281-3/+27
|\ | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_pt_varray.c
| * rtasm: add some helpers for calling out from generated codeKeith Whitwell2008-05-241-0/+6
| |
| * rtasm: add x87 instructions and debug-check for x87 stack usageKeith Whitwell2008-05-231-2/+18
| |
| * rtasm: export debug reg print functionKeith Whitwell2008-05-231-0/+3
| |
| * rtasm: remove unused struct memberKeith Whitwell2008-05-231-1/+0
| |
* | gallium: Windows CE portability fixes.José Fonseca2008-05-281-1/+3
|/
* rtasm: fix labels after (not so) recent change to allow dynamic fn growthKeith Whitwell2008-05-011-7/+7
| | | | | Using char * for labels doesn't work if you realloc the function during assembly and free the old storage...
* gallium: Generate SSE code to swizzle and unswizzle vs inputs and outputs.Michal Krol2008-04-281-0/+2
| | | | Change SSE_SWIZZLES #define to 0 to disable it.
* rtasm: Implement x86_retw.José Fonseca2008-04-271-0/+1
|
* rtasm: propogate errors in x86 emitKeith Whitwell2008-04-211-0/+1
|
* rtasm: add x86_imulKeith Whitwell2008-04-181-0/+1
|
* rtasm: add a couple more insns, clean up x86_mulKeith Whitwell2008-04-181-0/+2
|
* Fix windows build.José Fonseca2008-02-191-1/+1
|
* Add copyright headers to all rtasm source files.José Fonseca2008-02-191-3/+25
|
* Rename rtasm files.José Fonseca2008-02-191-0/+256